Passed
Branch develop (b3086b)
by BENARD
12:06
created
src/Controller/GamercardController.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -200,11 +200,11 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Controller/Chart/FormDataController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,8 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.