aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/Refs/RefNull.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/Refs/RefNull.php')
-rw-r--r--src/WebAssembly/Execution/Refs/RefNull.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/WebAssembly/Execution/Refs/RefNull.php b/src/WebAssembly/Execution/Refs/RefNull.php
index 438ed9e..f73fa9d 100644
--- a/src/WebAssembly/Execution/Refs/RefNull.php
+++ b/src/WebAssembly/Execution/Refs/RefNull.php
@@ -5,12 +5,15 @@ declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Execution\Refs;
use Nsfisis\Waddiwasi\WebAssembly\Execution\Ref;
-use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\RefType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
final readonly class RefNull extends Ref
{
+ /**
+ * @param ValType::FuncRef|ValType::ExternRef $type
+ */
public function __construct(
- public RefType $type,
+ public ValType $type,
) {
}
}