@@ -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() |
@@ -167,7 +167,9 @@ |
||
167 | 167 | */ |
168 | 168 | public function setLibGroupFr(?string $libGroupFr): Group |
169 | 169 | { |
170 | - if ($libGroupFr) $this->libGroupFr = $libGroupFr; |
|
170 | + if ($libGroupFr) { |
|
171 | + $this->libGroupFr = $libGroupFr; |
|
172 | + } |
|
171 | 173 | return $this; |
172 | 174 | } |
173 | 175 |
@@ -267,7 +267,9 @@ |
||
267 | 267 | */ |
268 | 268 | public function setLibGameFr(?string $libGameFr): Game |
269 | 269 | { |
270 | - if ($libGameFr) $this->libGameFr = $libGameFr; |
|
270 | + if ($libGameFr) { |
|
271 | + $this->libGameFr = $libGameFr; |
|
272 | + } |
|
271 | 273 | return $this; |
272 | 274 | } |
273 | 275 |
@@ -223,7 +223,9 @@ |
||
223 | 223 | */ |
224 | 224 | public function setLibChartFr(?string $libChartFr): self |
225 | 225 | { |
226 | - if ($libChartFr) $this->libChartFr = $libChartFr; |
|
226 | + if ($libChartFr) { |
|
227 | + $this->libChartFr = $libChartFr; |
|
228 | + } |
|
227 | 229 | return $this; |
228 | 230 | } |
229 | 231 |