Completed
Push — master ( d30d0e...8c067b )
by Julián
01:41
created
src/MongoDBBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
 
356 356
         return array_filter(
357 357
             $types,
358
-            function ($name) {
358
+            function($name) {
359 359
                 return is_string($name);
360 360
             },
361 361
             ARRAY_FILTER_USE_KEY
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
 
374 374
         return array_filter(
375 375
             $filters,
376
-            function ($name) {
376
+            function($name) {
377 377
                 return is_string($name);
378 378
             },
379 379
             ARRAY_FILTER_USE_KEY
@@ -411,10 +411,10 @@  discard block
 block discarded – undo
411 411
         $commandPrefix = (string) $this->getName();
412 412
 
413 413
         $commands = array_map(
414
-            function (Command $command) use ($helperSet, $commandPrefix) {
414
+            function(Command $command) use ($helperSet, $commandPrefix) {
415 415
                 if ($commandPrefix !== '') {
416 416
                     $commandNames = array_map(
417
-                        function ($commandName) use ($commandPrefix) {
417
+                        function($commandName) use ($commandPrefix) {
418 418
                             return preg_replace('/^odm:/', 'odm:' . $commandPrefix . ':', $commandName);
419 419
                         },
420 420
                         array_merge([$command->getName()], $command->getAliases())
Please login to merge, or discard this patch.