From d6346fb09070d64e9b079f734e959b7371adfabf Mon Sep 17 00:00:00 2001 From: Mauro Date: Wed, 8 May 2024 14:33:03 +0200 Subject: [PATCH] fixed code style --- lib/Listener/BeforeTemplateRenderedListener.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Listener/BeforeTemplateRenderedListener.php b/lib/Listener/BeforeTemplateRenderedListener.php index a7ef5f9..f6693fd 100644 --- a/lib/Listener/BeforeTemplateRenderedListener.php +++ b/lib/Listener/BeforeTemplateRenderedListener.php @@ -42,7 +42,7 @@ public function __construct( 'Magenta-iOS', '(Android)', '(iOS)', - ]); + ]); } public function handle(Event $event): void { @@ -74,7 +74,7 @@ public function handle(Event $event): void { private function isMobileUserAgent(string $userAgent): bool { foreach ($this->mobileUserAgents as $mobileUserAgent) { - if (str_contains($userAgent, $mobileUserAgent)) { + if (str_contains($userAgent, $mobileUserAgent)) { return true; } }