Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | final class SelfValidatingPassport implements PassportInterface |
||
27 | { |
||
28 | use PassportMethodsTrait; |
||
29 | |||
30 | /** |
||
31 | * An implementation used when there are no credentials to be checked (e.g. |
||
32 | * API token authentication). |
||
33 | * |
||
34 | * @param UserBadge<TUser> $userBadge The main user badge. |
||
35 | * @param array<BadgeInterface> $badges An array of additional badges. |
||
36 | */ |
||
37 | public function __construct(UserBadge $userBadge, array $badges = []) |
||
45 |