| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class GetRankingPoints extends AbstractController |
||
| 12 | { |
||
| 13 | private RankingProviderInterface $rankingProvider; |
||
| 14 | |||
| 15 | public function __construct(RankingProviderInterface $rankingProvider) |
||
| 16 | { |
||
| 17 | $this->rankingProvider = $rankingProvider; |
||
| 18 | } |
||
| 19 | /** |
||
| 20 | * @param Game $game |
||
| 21 | * @param Request $request |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | public function __invoke(Game $game, Request $request): array |
||
| 31 | ] |
||
| 32 | ); |
||
| 35 |