diff --git a/app/Notifications/Security/UserFailedLoginAttempt.php b/app/Notifications/Security/UserFailedLoginAttempt.php index 1434807ee0..c8eb674d30 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 cbda8653b7..e80cb6e923 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 bd4f31dc9d..35f5836dbf 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 []; } diff --git a/app/Notifications/User/NewAccessToken.php b/app/Notifications/User/NewAccessToken.php index f1e82953a1..f614c12bd9 100644 --- a/app/Notifications/User/NewAccessToken.php +++ b/app/Notifications/User/NewAccessToken.php @@ -103,7 +103,7 @@ class NewAccessToken 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']); }