From: Nikita Popov Date: Sun, 25 Jun 2017 20:32:57 +0000 (+0200) Subject: Fix format arguments X-Git-Tag: php-7.2.0alpha3~34^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5741da85c72f963e9bdb47707d990cc6cd49ffc;p=php Fix format arguments Only dropped one before, both need to go... --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 3835abb385..f854631f0b 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -5570,8 +5570,7 @@ void zend_compile_params(zend_ast *ast, zend_ast *return_type_ast) /* {{{ */ case IS_OBJECT: zend_error_noreturn(E_COMPILE_ERROR, "Default value for parameters " - "with an object type can only be NULL", - zend_get_type_by_const(ZEND_TYPE_CODE(arg_info->type))); + "with an object type can only be NULL"); break; default: