@@ -16,11 +16,11 @@ |
||
| 16 | 16 | $this->playerRankingProvider = $playerRankingProvider; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - /** |
|
| 20 | - * @param Request $request |
|
| 21 | - * @return array |
|
| 22 | - * @throws ORMException |
|
| 23 | - */ |
|
| 19 | + /** |
|
| 20 | + * @param Request $request |
|
| 21 | + * @return array |
|
| 22 | + * @throws ORMException |
|
| 23 | + */ |
|
| 24 | 24 | public function __invoke(Request $request): array |
| 25 | 25 | { |
| 26 | 26 | return $this->playerRankingProvider->getRankingCup( |
@@ -25,7 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | private FilesystemOperator $appStorage; |
| 27 | 27 | |
| 28 | - public function __construct(FilesystemOperator $appStorage) { |
|
| 28 | + public function __construct(FilesystemOperator $appStorage) |
|
| 29 | + { |
|
| 29 | 30 | $this->appStorage = $appStorage; |
| 30 | 31 | } |
| 31 | 32 | |
@@ -33,12 +33,12 @@ |
||
| 33 | 33 | return $playerGames; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * Return data from player with game and platforms |
|
| 38 | - * |
|
| 39 | - * @param $player |
|
| 40 | - * @return array |
|
| 41 | - */ |
|
| 36 | + /** |
|
| 37 | + * Return data from player with game and platforms |
|
| 38 | + * |
|
| 39 | + * @param $player |
|
| 40 | + * @return array |
|
| 41 | + */ |
|
| 42 | 42 | private function getPlayerGameStats($player): array |
| 43 | 43 | { |
| 44 | 44 | $qb = $this->em->createQueryBuilder() |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | if ($method == Request::METHOD_GET |
| 42 | 42 | && is_array($data) |
| 43 | 43 | && count($data) > 0 |
| 44 | - && ($data[0] instanceof PlayerBadge || $data[0] instanceof TeamBadge) ) { |
|
| 44 | + && ($data[0] instanceof PlayerBadge || $data[0] instanceof TeamBadge)) { |
|
| 45 | 45 | foreach ($data as $userBadge) { |
| 46 | 46 | $userBadge->getBadge()->setTitle( |
| 47 | 47 | sprintf( |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * arguments={"orderParameterName"="order"} |
| 40 | 40 | * ) |
| 41 | 41 | */ |
| 42 | -class Serie implements SluggableInterface,TranslatableInterface |
|
| 42 | +class Serie implements SluggableInterface, TranslatableInterface |
|
| 43 | 43 | { |
| 44 | 44 | use TimestampableEntity; |
| 45 | 45 | use TranslatableTrait; |