Skip to content

Commit

Permalink
use Macroable trait on TokenGuard
Browse files Browse the repository at this point in the history
The sibling `RequestGuard` and `SessionGuard` are macroable but suddenly the token guard is not.
This breaks for my package users when they switch their guard to TokenGuard.

imanghafoori1/laravel-MasterPass#53
  • Loading branch information
imanghafoori1 authored Jun 26, 2024
1 parent a2f2dc2 commit e2dd462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/TokenGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class TokenGuard implements Guard
{
use GuardHelpers;
use GuardHelpers, Macroable;

Check failure on line 11 in src/Illuminate/Auth/TokenGuard.php

View workflow job for this annotation

GitHub Actions / Source Code

Class Illuminate\Auth\TokenGuard uses unknown trait Illuminate\Auth\Macroable.

/**
* The request instance.
Expand Down

0 comments on commit e2dd462

Please sign in to comment.