aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/FuncInsts
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/FuncInsts')
-rw-r--r--src/WebAssembly/Execution/FuncInsts/Host.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WebAssembly/Execution/FuncInsts/Host.php b/src/WebAssembly/Execution/FuncInsts/Host.php
index 6a66325..c5dc1cd 100644
--- a/src/WebAssembly/Execution/FuncInsts/Host.php
+++ b/src/WebAssembly/Execution/FuncInsts/Host.php
@@ -5,12 +5,14 @@ declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Execution\FuncInsts;
use Nsfisis\Waddiwasi\WebAssembly\Execution\FuncInst;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Ref;
+use Nsfisis\Waddiwasi\WebAssembly\Execution\Runtime;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;
final readonly class Host extends FuncInst
{
/**
- * @param callable $callback
+ * @param callable(Runtime, int|float|Ref...): ?(int|float|Ref|list<int|float|Ref>) $callback
*/
public function __construct(
public FuncType $type,