Test Failed
Push — dependency-injection ( 15c3c9...81aa7f )
by MusikAnimal
04:12
created
src/Repository/CategoryEditsRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Repository;
6 6
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         PageRepository $pageRepo,
54 54
         UserRepository $userRepo
55 55
     ) {
56
-        $this->autoEditsHelper= $autoEditsHelper;
56
+        $this->autoEditsHelper = $autoEditsHelper;
57 57
         $this->editRepo = $editRepo;
58 58
         $this->pageRepo = $pageRepo;
59 59
         $this->userRepo = $userRepo;
Please login to merge, or discard this patch.
src/Model/CategoryEdits.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Model;
6 6
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $this->repository = $repository;
49 49
         $this->project = $project;
50 50
         $this->user = $user;
51
-        $this->categories = array_map(function ($category) {
51
+        $this->categories = array_map(function($category) {
52 52
             return str_replace(' ', '_', $category);
53 53
         }, $categories);
54 54
         $this->start = $start;
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function getCategoriesNormalized(): array
82 82
     {
83
-        return array_map(function ($category) {
83
+        return array_map(function($category) {
84 84
             return str_replace('_', ' ', $category);
85 85
         }, $this->categories);
86 86
     }
Please login to merge, or discard this patch.