From 992b320820d1a95dcca067991213cddb03f4662c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 11 Oct 2021 15:01:37 +0200 Subject: [PATCH] replace continue instruction by equivalent break in switch --- .../ChillMainBundle/Form/Type/Listing/FilterOrderType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php b/src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php index 1068301b0..3976625a1 100644 --- a/src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php +++ b/src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php @@ -32,7 +32,7 @@ final class FilterOrderType extends \Symfony\Component\Form\AbstractType foreach ($this->requestStack->getCurrentRequest()->query->getIterator() as $key => $value) { switch($key) { case 'q': - continue; + break; case 'page': $builder->add($key, HiddenType::class, [ 'data' => 1