Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
24 | class RetrievalByUsername implements Contract |
||
25 | { |
||
26 | /** |
||
27 | * @param non-empty-string $username The username |
||
|
|||
28 | */ |
||
29 | public function __construct( |
||
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 |
||
48 |