Passed
Push — master ( 5bb3b6...f2e35b )
by Allan
02:20
created
src/Patch/Definition/NormalizerComponents/BasePathComponent.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     
133 133
     private function expandPathVariables(array $pathVariables, array $mutationNamesMap)
134 134
     {
135
-        $normalizedVariables = array_map(function ($part) {
135
+        $normalizedVariables = array_map(function($part) {
136 136
             $part = strtolower(
137 137
                 preg_replace(
138 138
                     array('/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'),
@@ -184,19 +184,19 @@  discard block
 block discarded – undo
184 184
     private function createMutationAppliers()
185 185
     {
186 186
         return array(
187
-            function ($value) {
187
+            function($value) {
188 188
                 return str_replace(' ', '', $value);
189 189
             },
190
-            function ($value) {
190
+            function($value) {
191 191
                 return str_replace(' ', '', ucwords($value));
192 192
             },
193
-            function ($value) {
193
+            function($value) {
194 194
                 return str_replace(' ', '', ucfirst($value));
195 195
             },
196
-            function ($value) {
196
+            function($value) {
197 197
                 return str_replace(' ', '-', $value);
198 198
             },
199
-            function ($value) {
199
+            function($value) {
200 200
                 return str_replace(' ', '_', $value);
201 201
             },
202 202
         );
Please login to merge, or discard this patch.