mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -159,7 +159,7 @@ class NetWorth implements NetWorthInterface
|
||||
*/
|
||||
public function setUser(User | Authenticatable | null $user): void
|
||||
{
|
||||
if (null === $user) {
|
||||
if (!($user instanceof User)) {
|
||||
return;
|
||||
}
|
||||
$this->user = $user;
|
||||
|
Reference in New Issue
Block a user