aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/FuncInst.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Execution/FuncInst.php')
-rw-r--r--src/Execution/FuncInst.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Execution/FuncInst.php b/src/Execution/FuncInst.php
index c69eb80..901fa81 100644
--- a/src/Execution/FuncInst.php
+++ b/src/Execution/FuncInst.php
@@ -14,8 +14,8 @@ abstract readonly class FuncInst
return new FuncInsts\Wasm($type, $module, $code);
}
- final public static function Host(FuncType $type, callable $code): FuncInsts\Host
+ final public static function Host(FuncType $type, callable $callback): FuncInsts\Host
{
- return new FuncInsts\Host($type, $code);
+ return new FuncInsts\Host($type, $callback);
}
}