From d4ed9a50b14751edeefa9231ce479ee4d65345a7 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Fri, 2 Jun 2023 15:50:57 +0300 Subject: [PATCH] Fixing typo --- src/bind.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bind.inc.php b/src/bind.inc.php index 1ab65c7..ccf84fd 100644 --- a/src/bind.inc.php +++ b/src/bind.inc.php @@ -352,7 +352,7 @@ function bhl_type(\mtgType $type = null) } else if($type instanceof \mtgMetaFunc) { - $ret_type = $type->getReturnType() ? bhl_gen_type($type->getReturnType()) : 'void'; + $ret_type = $type->getReturnType() ? bhl_type($type->getReturnType()) : 'void'; $str = ""; $str .= "func $ret_type(";