Browse Source

Use continue 2 in switch inside for loop (for php 7.3) (#802)

pull/805/head
dannylamb 4 years ago committed by GitHub
parent
commit
d7fb47add4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/EventSubscriber/LinkHeaderSubscriber.php

2
src/EventSubscriber/LinkHeaderSubscriber.php

@ -291,7 +291,7 @@ abstract class LinkHeaderSubscriber implements EventSubscriberInterface {
break; break;
default: default:
continue; continue 2;
} }
// Skip route if the user doesn't have access. // Skip route if the user doesn't have access.

Loading…
Cancel
Save