Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix strict types
James Cole7edc386cddf5
diff --git a/app/Events/Security/System/NewInvitationCreated.php b/app/Events/Security/System/NewInvitationCreated.phpindex 3b48d83a97..cb586f3543 100644--- a/app/Events/Security/System/NewInvitationCreated.php+++ b/app/Events/Security/System/NewInvitationCreated.php@@ -1,4 +1,7 @@<?php++declare(strict_types=1);+/** NewInvitationCreated.php* Copyright (c) 2026 [email protected]diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.phpindex 0425b68d2e..6bad462dbb 100644--- a/app/Http/Controllers/Admin/UserController.php+++ b/app/Http/Controllers/Admin/UserController.php@@ -23,7 +23,7 @@ declare(strict_types=1);namespace FireflyIII\Http\Controllers\Admin;-use FireflyIII\Events\Admin\InvitationCreated;+use FireflyIII\Events\Security\System\NewInvitationCreated;use FireflyIII\Exceptions\FireflyException;use FireflyIII\Http\Controllers\Controller;diff --git a/app/Listeners/Security/System/NotifiesAboutNewInvitation.php b/app/Listeners/Security/System/NotifiesAboutNewInvitation.phpindex af7b66980a..0782e0b3b6 100644--- a/app/Listeners/Security/System/NotifiesAboutNewInvitation.php+++ b/app/Listeners/Security/System/NotifiesAboutNewInvitation.php@@ -1,4 +1,7 @@<?php++declare(strict_types=1);+/** NotifiesAboutNewInvitation.php* Copyright (c) 2026 [email protected]@@ -22,7 +25,7 @@namespace FireflyIII\Listeners\Security\System;use Exception;-use FireflyIII\Events\Admin\InvitationCreated;+use FireflyIII\Events\Security\System\NewInvitationCreated;use FireflyIII\Exceptions\FireflyException;use FireflyIII\Mail\InvitationMail;diff --git a/app/Listeners/Security/User/RespondsToNewLogin.php b/app/Listeners/Security/User/RespondsToNewLogin.phpindex 5d4d95b8ab..1a32d4c178 100644--- a/app/Listeners/Security/User/RespondsToNewLogin.php+++ b/app/Listeners/Security/User/RespondsToNewLogin.php@@ -1,4 +1,7 @@<?php++declare(strict_types=1);+/** RespondsToNewLogin.php* Copyright (c) 2026 [email protected]