Skip to content

Commit

Permalink
Use continue 2 in switch inside for loop (for php 7.3) (Islandora#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannylamb authored and jordandukart committed Apr 7, 2021
1 parent 7e97555 commit 7de6f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventSubscriber/LinkHeaderSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ protected function generateRestLinks(EntityInterface $entity) {
break;

default:
continue;
continue 2;
}

// Skip route if the user doesn't have access.
Expand Down

0 comments on commit 7de6f98

Please sign in to comment.