Added missing comma

This commit is contained in:
madpwnhammer 2023-03-29 21:12:01 +03:00
parent 442ddc8617
commit 4311f8cf0c
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ function bhl_type_ref(\mtgType $type = null)
$is_coro = $type->hasToken("bhl_coroutine");
$str = '';
$str .= "types.TFunc(".($is_coro?"true":"false").", ";
$str .= $type->getReturnType() ? bhl_type_ref($type->getReturnType()) : bhl_type_ref(null);
$str .= ($type->getReturnType() ? bhl_type_ref($type->getReturnType()) : bhl_type_ref(null)) . ",";
foreach($type->getArgs() as $arg)
$str .= bhl_type_ref($arg->getType()) . ",";
$str = rtrim($str, ',');