Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -37,14 +37,10 @@ class ActuallyLoggedIn extends Event
public User $user;
/**
* @param User|Authenticatable|null $user
*/
public function __construct(User | Authenticatable | null $user)
public function __construct(null|Authenticatable|User $user)
{
if ($user instanceof User) {
$this->user = $user;
}
}
}