From e5741da85c72f963e9bdb47707d990cc6cd49ffc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 25 Jun 2017 22:32:57 +0200 Subject: [PATCH] Fix format arguments Only dropped one before, both need to go... --- Zend/zend_compile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.40.0