| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | final class TokenStorage implements TokenStorageInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @phpstan-var TokenInterface<TUser>|null |
||
| 29 | */ |
||
| 30 | private ?TokenInterface $token = null; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | public function getToken(): ?TokenInterface |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | * @param TokenInterface<TUser> $token |
||
| 43 | */ |
||
| 44 | public function setToken(?TokenInterface $token): void |
||
| 49 |