Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Jul 6, 2020
1 parent ada2fe0 commit eb3ce8d
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,7 @@ private static function handleNonReturningCase(

// if we're leaving this block, add vars to outer for loop scope
if ($case_exit_type === 'continue') {
if ($context->loop_scope) {
$context->loop_scope->vars_possibly_in_scope = array_merge(
$vars,
$context->loop_scope->vars_possibly_in_scope
);
} else {
if (!$context->loop_scope) {
if (IssueBuffer::accepts(
new ContinueOutsideLoop(
'Continue called when not in loop',
Expand Down

0 comments on commit eb3ce8d

Please sign in to comment.