From 3d830f1f9496e47ee14c14449c4369e3a7fe5a78 Mon Sep 17 00:00:00 2001 From: Martijn Otto Date: Wed, 18 May 2016 17:00:59 +0200 Subject: Set the return type hint to undefined, otherwise PHP will not accept __construct member functions (they are not allowed to return anything) --- zend/callable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zend/callable.h') 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 -- cgit v1.2.3