From 63f334abe5ada28c6a0572e71886e0304d28d194 Mon Sep 17 00:00:00 2001 From: Sander Dorigo Date: Thu, 3 Apr 2025 10:25:24 +0200 Subject: [PATCH] Fix lint errors --- app/Notifications/Security/UserFailedLoginAttempt.php | 2 +- app/Notifications/Test/OwnerTestNotificationEmail.php | 2 +- app/Notifications/Test/UserTestNotificationEmail.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Notifications/Security/UserFailedLoginAttempt.php b/app/Notifications/Security/UserFailedLoginAttempt.php index 02243eb0ba..1434807ee0 100644 --- a/app/Notifications/Security/UserFailedLoginAttempt.php +++ b/app/Notifications/Security/UserFailedLoginAttempt.php @@ -105,7 +105,7 @@ class UserFailedLoginAttempt extends Notification public function via(User $notifiable): array { $channels = ReturnsAvailableChannels::returnChannels('user', $notifiable); - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data + $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; if (true === $isDemoSite) { return array_diff($channels, ['mail']); } diff --git a/app/Notifications/Test/OwnerTestNotificationEmail.php b/app/Notifications/Test/OwnerTestNotificationEmail.php index e4695f52be..cbda8653b7 100644 --- a/app/Notifications/Test/OwnerTestNotificationEmail.php +++ b/app/Notifications/Test/OwnerTestNotificationEmail.php @@ -64,7 +64,7 @@ class OwnerTestNotificationEmail extends Notification */ public function via(OwnerNotifiable $notifiable): array { - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data + $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; if (true === $isDemoSite) { return []; } diff --git a/app/Notifications/Test/UserTestNotificationEmail.php b/app/Notifications/Test/UserTestNotificationEmail.php index 9db1702ed1..bd4f31dc9d 100644 --- a/app/Notifications/Test/UserTestNotificationEmail.php +++ b/app/Notifications/Test/UserTestNotificationEmail.php @@ -61,7 +61,7 @@ class UserTestNotificationEmail extends Notification */ public function via(User $notifiable): array { - $isDemoSite = FireflyConfig::get('is_demo_site',false)->data + $isDemoSite = FireflyConfig::get('is_demo_site',false)->data; if (true === $isDemoSite) { return []; }