Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Missing return statement
James Cole09c4f4702da2
diff --git a/app/Events/Security/User/UserSuccessfullyLoggedIn.php b/app/Events/Security/User/UserSuccessfullyLoggedIn.phpindex 8f2d045f18..37209fca93 100644--- a/app/Events/Security/User/UserSuccessfullyLoggedIn.php+++ b/app/Events/Security/User/UserSuccessfullyLoggedIn.php@@ -40,6 +40,7 @@ class UserSuccessfullyLoggedIn extends Event{if ($user instanceof User) {$this->user = $user;+ return;}throw new InvalidArgumentException(sprintf('User cannot be an instance of %s.', get_class($user)));