summaryrefslogtreecommitdiff
path: root/zend/callable.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2016-05-18 17:00:59 +0200
committerMartijn Otto <martijn.otto@copernica.com>2016-05-18 17:00:59 +0200
commit3d830f1f9496e47ee14c14449c4369e3a7fe5a78 (patch)
treed13e14f7133000730d83415fac7542d4ce770474 /zend/callable.h
parent7d7ced6913bff135397b71729a356d21c98356ec (diff)
Set the return type hint to undefined, otherwise PHP will not accept __construct member functions (they are not allowed to return anything)
Diffstat (limited to 'zend/callable.h')
-rw-r--r--zend/callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/callable.h b/zend/callable.h
index 789d129..f6a172f 100644
--- a/zend/callable.h
+++ b/zend/callable.h
@@ -114,7 +114,7 @@ protected:
* Suggestion for the return type
* @var Type
*/
- Type _return = Type::Null;
+ Type _return = Type::Undefined;
/**
* Required number of arguments