@@ -200,11 +200,11 @@ |
||
| 200 | 200 | return number_format($value); |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | - /** |
|
| 204 | - * @param Player $player |
|
| 205 | - * @return string |
|
| 206 | - * @throws FilesystemException |
|
| 207 | - */ |
|
| 203 | + /** |
|
| 204 | + * @param Player $player |
|
| 205 | + * @return string |
|
| 206 | + * @throws FilesystemException |
|
| 207 | + */ |
|
| 208 | 208 | public function getAvatar(Player $player): string |
| 209 | 209 | { |
| 210 | 210 | $path = $this->prefix . $player->getAvatar(); |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | $avatar = Picture::loadFileFromStream($this->getAvatar($player)); |
| 151 | 151 | $gamercard->copyResized($avatar, 9, 30, 0, 0, 64, 64); |
| 152 | 152 | |
| 153 | - $playerGames = $this->playerGameRepository->findBy( ['player' => $player],['lastUpdate' => 'DESC'],5); |
|
| 153 | + $playerGames = $this->playerGameRepository->findBy(['player' => $player], ['lastUpdate' => 'DESC'], 5); |
|
| 154 | 154 | |
| 155 | 155 | $startX = 9; |
| 156 | 156 | foreach ($playerGames as $playerGame) { |
@@ -28,7 +28,8 @@ |
||
| 28 | 28 | private EntityManagerInterface $em; |
| 29 | 29 | private $game; |
| 30 | 30 | |
| 31 | - public function __construct(UserToPlayerTransformer $userToPlayerTransformer, EntityManagerInterface $em) { |
|
| 31 | + public function __construct(UserToPlayerTransformer $userToPlayerTransformer, EntityManagerInterface $em) |
|
| 32 | + { |
|
| 32 | 33 | $this->userToPlayerTransformer = $userToPlayerTransformer; |
| 33 | 34 | $this->em = $em; |
| 34 | 35 | } |