mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update various things. I know, great description.
This commit is contained in:
@@ -39,9 +39,9 @@ use Psr\Container\NotFoundExceptionInterface;
|
||||
*/
|
||||
class RemoteUserGuard implements Guard
|
||||
{
|
||||
protected Application $application;
|
||||
protected Application $application;
|
||||
protected UserProvider $provider;
|
||||
protected User|null $user;
|
||||
protected User | null $user;
|
||||
|
||||
/**
|
||||
* Create a new authentication guard.
|
||||
@@ -156,8 +156,9 @@ class RemoteUserGuard implements Guard
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @SuppressWarnings(PHPMD.ShortMethodName)
|
||||
*/
|
||||
public function id(): int|string|null
|
||||
public function id(): int | string | null
|
||||
{
|
||||
app('log')->debug(sprintf('Now at %s', __METHOD__));
|
||||
return $this->user?->id;
|
||||
|
Reference in New Issue
Block a user