aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/FuncInsts/Host.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-02-26 13:21:22 +0900
committernsfisis <nsfisis@gmail.com>2024-03-03 15:27:26 +0900
commit996259e6a1a04f91179d2b83cc19e3fbb371cd33 (patch)
tree14ccabf37cc909c8c61899ffb84429fdeb8dfce0 /src/Execution/FuncInsts/Host.php
parent8a789bffe72e93ae24ea39648018e5fecf94c7fa (diff)
downloadphp-waddiwasi-996259e6a1a04f91179d2b83cc19e3fbb371cd33.tar.gz
php-waddiwasi-996259e6a1a04f91179d2b83cc19e3fbb371cd33.tar.zst
php-waddiwasi-996259e6a1a04f91179d2b83cc19e3fbb371cd33.zip
feat: implement some of instructions
Diffstat (limited to 'src/Execution/FuncInsts/Host.php')
-rw-r--r--src/Execution/FuncInsts/Host.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Execution/FuncInsts/Host.php b/src/Execution/FuncInsts/Host.php
index e3cba4a..67686b4 100644
--- a/src/Execution/FuncInsts/Host.php
+++ b/src/Execution/FuncInsts/Host.php
@@ -10,11 +10,11 @@ use Nsfisis\Waddiwasi\Structure\Types\FuncType;
final readonly class Host extends FuncInst
{
/**
- * @param callable $code
+ * @param callable $callback
*/
public function __construct(
public FuncType $type,
- public mixed $code,
+ public mixed $callback,
) {
}
}