Completed
Pull Request — master (#139)
by Andreas
04:20
created
lib/Doctrine/Common/Inflector/Inflector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         $uninflected = [];
205 205
 
206 206
         foreach ($rules as $rule => $pattern) {
207
-            if ( ! is_array($pattern)) {
207
+            if (!is_array($pattern)) {
208 208
                 $regular[$rule] = $pattern;
209 209
 
210 210
                 continue;
@@ -225,20 +225,20 @@  discard block
 block discarded – undo
225 225
 
226 226
         return new Ruleset(
227 227
             new Transformations(...array_map(
228
-                static function (string $pattern, string $replacement) : Transformation {
228
+                static function(string $pattern, string $replacement) : Transformation {
229 229
                     return new Transformation(new Pattern($pattern), $replacement);
230 230
                 },
231 231
                 array_keys($regular),
232 232
                 array_values($regular)
233 233
             )),
234 234
             new Patterns(...array_map(
235
-                static function (string $pattern) : Pattern {
235
+                static function(string $pattern) : Pattern {
236 236
                     return new Pattern($pattern);
237 237
                 },
238 238
                 $uninflected
239 239
             )),
240 240
             new Substitutions(...array_map(
241
-                static function (string $word, string $to) : Substitution {
241
+                static function(string $word, string $to) : Substitution {
242 242
                     return new Substitution(new Word($word), new Word($to));
243 243
                 },
244 244
                 array_keys($irregular),
Please login to merge, or discard this patch.