Passed
Push — master ( f5f9c0...e61fe1 )
by MusikAnimal
06:56
created
src/AppBundle/Helper/AutomatedEditsHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the AutomatedEditsHelper class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace AppBundle\Helper;
9 9
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         );
97 97
 
98 98
         // Finally, populate the 'label' with the tool name, if a label doesn't already exist.
99
-        array_walk($this->tools[$projectDomain], function (&$data, $tool): void {
99
+        array_walk($this->tools[$projectDomain], function(&$data, $tool): void {
100 100
             $data['label'] = $data['label'] ?? $tool;
101 101
         });
102 102
 
@@ -154,14 +154,14 @@  discard block
 block discarded – undo
154 154
 
155 155
         $revertEntries = array_filter(
156 156
             $this->getTools($project),
157
-            function ($tool) {
157
+            function($tool) {
158 158
                 return isset($tool['revert']);
159 159
             }
160 160
         );
161 161
 
162 162
         // If 'revert' is set to `true`, then use 'regex' as the regular expression,
163 163
         //  otherwise 'revert' is assumed to be the regex string.
164
-        $this->revertTools[$projectDomain] = array_map(function ($revertTool) {
164
+        $this->revertTools[$projectDomain] = array_map(function($revertTool) {
165 165
             return [
166 166
                 'link' => $revertTool['link'],
167 167
                 'regex' => true === $revertTool['revert'] ? $revertTool['regex'] : $revertTool['revert'],
Please login to merge, or discard this patch.