Skip to content

Commit

Permalink
✨ cast to null to allow access beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Oct 21, 2021
1 parent 1588e6e commit 872d255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Guards/HumbleGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User;

class HumbleGuard implements Guard
{

protected Authenticatable|null|User $user;
protected Authenticatable|null|User $user = null;

/* @var Session $session */
protected $session;
Expand Down

0 comments on commit 872d255

Please sign in to comment.