| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 50 | private function getUsers(): array |
||
| 51 | { |
||
| 52 | return [ |
||
| 53 | [ |
||
| 54 | 'username' => 'admin', |
||
| 55 | 'roles' => ['ROLE_ADMIN', 'ROLE_USER'], |
||
| 56 | 'account_ids' => ['john.1'], |
||
| 57 | 'last_login_at' => new \DateTimeImmutable('now -25 hours'), |
||
| 58 | 'last_update_at' => new \DateTimeImmutable('now -15 days'), |
||
| 59 | ], |
||
| 60 | ]; |
||
| 61 | } |
||
| 62 | |||
| 68 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.