fix: null notify

This commit is contained in:
Andras Bacsai
2023-12-13 12:01:27 +01:00
parent d93bf97919
commit 2dc175be63
10 changed files with 15 additions and 15 deletions

View File

@@ -98,7 +98,7 @@ class User extends Authenticatable implements SendsEmail
}
public function sendPasswordResetNotification($token): void
{
$this->notify(new TransactionalEmailsResetPassword($token));
$this?->notify(new TransactionalEmailsResetPassword($token));
}
public function isAdmin()