Skip to content

Commit

Permalink
Fix format arguments
Browse files Browse the repository at this point in the history
Only dropped one before, both need to go...
  • Loading branch information
nikic committed Jun 25, 2017
1 parent 60d032d commit e5741da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Zend/zend_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e5741da

Please sign in to comment.