aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/ElemInst.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/ElemInst.php')
-rw-r--r--src/WebAssembly/Execution/ElemInst.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/WebAssembly/Execution/ElemInst.php b/src/WebAssembly/Execution/ElemInst.php
index 422cd62..8840292 100644
--- a/src/WebAssembly/Execution/ElemInst.php
+++ b/src/WebAssembly/Execution/ElemInst.php
@@ -4,15 +4,16 @@ declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
-use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\RefType;
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
final readonly class ElemInst
{
/**
+ * @param ValType::FuncRef|ValType::ExternRef $type
* @param list<Ref> $elem
*/
public function __construct(
- public RefType $type,
+ public ValType $type,
public array $elem,
) {
}