Completed
Push — master ( 26d710...7f63d4 )
by Julián
06:24
created
src/CouchDBBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,10 +206,10 @@
 block discarded – undo
206 206
         $commandPrefix = (string) $this->getName();
207 207
 
208 208
         $commands = array_map(
209
-            function (Command $command) use ($helperSet, $commandPrefix) {
209
+            function(Command $command) use ($helperSet, $commandPrefix) {
210 210
                 if ($commandPrefix !== '') {
211 211
                     $commandNames = array_map(
212
-                        function ($commandName) use ($commandPrefix) {
212
+                        function($commandName) use ($commandPrefix) {
213 213
                             $key = preg_match('/^couchdb:odm:/', $commandName) ? 'couchdb_odm' : 'couchdb';
214 214
 
215 215
                             return preg_replace(
Please login to merge, or discard this patch.
src/MongoDBBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
 
347 347
         return array_filter(
348 348
             $filters,
349
-            function ($name) {
349
+            function($name) {
350 350
                 return is_string($name);
351 351
             },
352 352
             ARRAY_FILTER_USE_KEY
@@ -384,10 +384,10 @@  discard block
 block discarded – undo
384 384
         $commandPrefix = (string) $this->getName();
385 385
 
386 386
         $commands = array_map(
387
-            function (Command $command) use ($helperSet, $commandPrefix) {
387
+            function(Command $command) use ($helperSet, $commandPrefix) {
388 388
                 if ($commandPrefix !== '') {
389 389
                     $commandNames = array_map(
390
-                        function ($commandName) use ($commandPrefix) {
390
+                        function($commandName) use ($commandPrefix) {
391 391
                             return preg_replace('/^odm:/', 'odm:' . $commandPrefix . ':', $commandName);
392 392
                         },
393 393
                         array_merge([$command->getName()], $command->getAliases())
Please login to merge, or discard this patch.
src/RelationalBuilder.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
 
473 473
         return array_filter(
474 474
             $functions,
475
-            function ($name) {
475
+            function($name) {
476 476
                 return is_string($name);
477 477
             },
478 478
             ARRAY_FILTER_USE_KEY
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
 
491 491
         return array_filter(
492 492
             $functions,
493
-            function ($name) {
493
+            function($name) {
494 494
                 return is_string($name);
495 495
             },
496 496
             ARRAY_FILTER_USE_KEY
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
 
509 509
         return array_filter(
510 510
             $functions,
511
-            function ($name) {
511
+            function($name) {
512 512
                 return is_string($name);
513 513
             },
514 514
             ARRAY_FILTER_USE_KEY
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
 
527 527
         return array_filter(
528 528
             $types,
529
-            function ($name) {
529
+            function($name) {
530 530
                 return is_string($name);
531 531
             },
532 532
             ARRAY_FILTER_USE_KEY
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
 
545 545
         return array_filter(
546 546
             $filters,
547
-            function ($name) {
547
+            function($name) {
548 548
                 return is_string($name);
549 549
             },
550 550
             ARRAY_FILTER_USE_KEY
@@ -597,10 +597,10 @@  discard block
 block discarded – undo
597 597
         $commandPrefix = (string) $this->getName();
598 598
 
599 599
         $commands = array_map(
600
-            function (Command $command) use ($helperSet, $commandPrefix) {
600
+            function(Command $command) use ($helperSet, $commandPrefix) {
601 601
                 if ($commandPrefix !== '') {
602 602
                     $commandNames = array_map(
603
-                        function ($commandName) use ($commandPrefix) {
603
+                        function($commandName) use ($commandPrefix) {
604 604
                             return preg_replace('/^(dbal|orm):/', '$1:' . $commandPrefix . ':', $commandName);
605 605
                         },
606 606
                         array_merge([$command->getName()], $command->getAliases())
Please login to merge, or discard this patch.