Skip to content

Firefly III: a personal finances manager

Fix lint errors

Sander Dorigo63f334abe5ad
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 [];
}