| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class GetRanking extends AbstractController |
||
| 13 | { |
||
| 14 | |||
| 15 | public function __construct( |
||
| 16 | private readonly PlayerRankingProvider $playerRankingProvider) |
||
| 17 | { |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Country $country |
||
| 22 | * @param Request $request |
||
| 23 | * @return array |
||
| 24 | * @throws ORMException |
||
| 25 | */ |
||
| 26 | public function __invoke(Country $country, Request $request): array |
||
| 34 | ] |
||
| 35 | ); |
||
| 38 |