Skip to content

Commit

Permalink
fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
memurats committed May 8, 2024
1 parent 87118b8 commit d6346fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Listener/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct(
'Magenta-iOS',
'(Android)',
'(iOS)',
]);
]);
}

public function handle(Event $event): void {
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d6346fb

Please sign in to comment.