| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class RetrievalByResetToken implements Contract |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @param non-empty-string $resetToken The reset token |
||
|
|
|||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 30 | protected string $resetToken, |
||
| 31 | ) { |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritDoc |
||
| 36 | * |
||
| 37 | * @param class-string<User> $user The user |
||
| 38 | * |
||
| 39 | * @psalm-suppress LessSpecificImplementedReturnType |
||
| 40 | */ |
||
| 41 | public function getRetrievalFields(string $user): array |
||
| 45 | ]; |
||
| 46 | } |
||
| 48 |