From d7fb47add48aa0ddebca4c327772e58ca859ad1a Mon Sep 17 00:00:00 2001 From: dannylamb Date: Wed, 21 Oct 2020 15:28:22 -0300 Subject: [PATCH] Use continue 2 in switch inside for loop (for php 7.3) (#802) --- src/EventSubscriber/LinkHeaderSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSubscriber/LinkHeaderSubscriber.php b/src/EventSubscriber/LinkHeaderSubscriber.php index 78aa7b62..21311410 100644 --- a/src/EventSubscriber/LinkHeaderSubscriber.php +++ b/src/EventSubscriber/LinkHeaderSubscriber.php @@ -291,7 +291,7 @@ abstract class LinkHeaderSubscriber implements EventSubscriberInterface { break; default: - continue; + continue 2; } // Skip route if the user doesn't have access.