summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zend/callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/callable.h b/zend/callable.h
index 65ce719..9805174 100644
--- a/zend/callable.h
+++ b/zend/callable.h
@@ -169,7 +169,7 @@ protected:
#else
// php 5.3 code
- info->array_type_hint = type == Type::Array;
+ info->array_type_hint = arg.type() == Type::Array;
info->return_reference = false;
info->required_num_args = 0; // @todo is this correct?