Skip to content

Commit e5741da

Browse files
committed
Fix format arguments
Only dropped one before, both need to go...
1 parent 60d032d commit e5741da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5570,8 +5570,7 @@ void zend_compile_params(zend_ast *ast, zend_ast *return_type_ast) /* {{{ */
55705570

55715571
case IS_OBJECT:
55725572
zend_error_noreturn(E_COMPILE_ERROR, "Default value for parameters "
5573-
"with an object type can only be NULL",
5574-
zend_get_type_by_const(ZEND_TYPE_CODE(arg_info->type)));
5573+
"with an object type can only be NULL");
55755574
break;
55765575

55775576
default:

0 commit comments

Comments
 (0)