Skip to content

Commit f652407

Browse files
iluuu1994nikic
authored andcommitted
Use return in compile_expr for consistency
1 parent c915c60 commit f652407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8955,7 +8955,7 @@ void zend_compile_expr(znode *result, zend_ast *ast) /* {{{ */
89558955
return;
89568956
case ZEND_AST_THROW:
89578957
zend_compile_throw(result, ast);
8958-
break;
8958+
return;
89598959
default:
89608960
ZEND_ASSERT(0 /* not supported */);
89618961
}

0 commit comments

Comments
 (0)