mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-17 02:05:34 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -182,7 +182,7 @@ class UserGroupRepository implements UserGroupRepositoryInterface
|
||||
public function setUser(Authenticatable | User | null $user): void
|
||||
{
|
||||
app('log')->debug(sprintf('Now in %s', __METHOD__));
|
||||
if (null !== $user) {
|
||||
if ($user instanceof User) {
|
||||
$this->user = $user;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user