Passed
Push — develop ( 398719...d50203 )
by BENARD
05:23
created
src/Controller/Player/GetRankingCup.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Controller/Player/Gamercard/Mini.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Repository/GroupRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @return int|string
25 25
      * @throws Exception
26 26
      */
27
-    public function insertLibChart(int $idGroup, int $idType): int|string
27
+    public function insertLibChart(int $idGroup, int $idType): int | string
28 28
     {
29 29
         $sql = "INSERT INTO vgr_chartlib (idChart,idType,created_at)
30 30
             SELECT id,:idType,NOW()
Please login to merge, or discard this patch.
src/Controller/Player/PlayerChart/GetStats.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function __invoke(Player $player): mixed
23 23
     {
24
-         $query = $this->em->createQuery("
24
+            $query = $this->em->createQuery("
25 25
             SELECT
26 26
                  s,
27 27
                  COUNT(pc) as nb
Please login to merge, or discard this patch.
src/Controller/Player/Game/GetStats.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.