Passed
Branch develop (e24c32)
by BENARD
04:32
created
src/Service/DataService.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,8 @@
 block discarded – undo
10 10
 {
11 11
     private DataRepository $dataRepository;
12 12
 
13
-    public function __construct(DataRepository $dataRepository) {
13
+    public function __construct(DataRepository $dataRepository)
14
+    {
14 15
         $this->dataRepository = $dataRepository;
15 16
     }
16 17
 
Please login to merge, or discard this patch.
src/Repository/GameRepository.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function getIds() : array
29 29
     {
30
-         return $this->createQueryBuilder('game')
31
-             ->select('game.id')
32
-             ->where('game.status = :status')
33
-             ->setParameter('status', GameStatus::STATUS_ACTIVE)
34
-             ->getQuery()
35
-             ->getResult(AbstractQuery::HYDRATE_ARRAY);
30
+            return $this->createQueryBuilder('game')
31
+                ->select('game.id')
32
+                ->where('game.status = :status')
33
+                ->setParameter('status', GameStatus::STATUS_ACTIVE)
34
+                ->getQuery()
35
+                ->getResult(AbstractQuery::HYDRATE_ARRAY);
36 36
     }
37 37
 
38 38
     /**
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
      */
264 264
     private function getCountQueryBuilder(): QueryBuilder
265 265
     {
266
-         return $this->createQueryBuilder('g')
266
+            return $this->createQueryBuilder('g')
267 267
             ->select('COUNT(g.id)');
268 268
     }
269 269
 
Please login to merge, or discard this patch.