| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class GetRankingMedals extends AbstractController |
||
| 13 | { |
||
| 14 | private TeamRankingProvider $teamRankingProvider; |
||
| 15 | |||
| 16 | public function __construct(TeamRankingProvider $teamRankingProvider) |
||
| 17 | { |
||
| 18 | $this->teamRankingProvider = $teamRankingProvider; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Request $request |
||
| 23 | * @return array |
||
| 24 | * @throws ORMException |
||
| 25 | */ |
||
| 26 | public function __invoke(Request $request): array |
||
| 31 | ] |
||
| 32 | ); |
||
| 35 |