From 0a70934db606451e6f633badc888d1f32008c21f Mon Sep 17 00:00:00 2001 From: robertsaternus Date: Fri, 23 Aug 2024 11:35:23 +0200 Subject: [PATCH] Update --- src/Subscriber/CategoryPageResponseSubscriber.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Subscriber/CategoryPageResponseSubscriber.php b/src/Subscriber/CategoryPageResponseSubscriber.php index c80b63ad..f9ddde8c 100644 --- a/src/Subscriber/CategoryPageResponseSubscriber.php +++ b/src/Subscriber/CategoryPageResponseSubscriber.php @@ -26,9 +26,9 @@ public function __construct( SearchAdapter $searchAdapter, Engine $mustache, ) { - $this->config = $config; - $this->searchAdapter = $searchAdapter; - $this->mustache = $mustache; + $this->config = $config; + $this->searchAdapter = $searchAdapter; + $this->mustache = $mustache; } public static function getSubscribedEvents() @@ -76,8 +76,6 @@ public function onPageRendered(ResponseEvent $event): void } catch (DetectRedirectCampaignException $exception) { $event->setResponse(new RedirectResponse($exception->getRedirectUrl())); } - - } /**