Completed
Push — master ( 5c7019...2d575f )
by Julián
03:04
created
src/RelationalBuilder.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 
394 394
         return array_filter(
395 395
             $functions,
396
-            function ($name) {
396
+            function($name) {
397 397
                 return is_string($name);
398 398
             },
399 399
             ARRAY_FILTER_USE_KEY
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
 
412 412
         return array_filter(
413 413
             $functions,
414
-            function ($name) {
414
+            function($name) {
415 415
                 return is_string($name);
416 416
             },
417 417
             ARRAY_FILTER_USE_KEY
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 
430 430
         return array_filter(
431 431
             $functions,
432
-            function ($name) {
432
+            function($name) {
433 433
                 return is_string($name);
434 434
             },
435 435
             ARRAY_FILTER_USE_KEY
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 
448 448
         return array_filter(
449 449
             $types,
450
-            function ($name) {
450
+            function($name) {
451 451
                 return is_string($name);
452 452
             },
453 453
             ARRAY_FILTER_USE_KEY
@@ -496,10 +496,10 @@  discard block
 block discarded – undo
496 496
 
497 497
         if ($commandPrefix !== '') {
498 498
             $commands = array_map(
499
-                function (Command $command) use ($commandPrefix) {
499
+                function(Command $command) use ($commandPrefix) {
500 500
                     $commandNames = array_map(
501
-                        function ($commandName) use ($commandPrefix) {
502
-                            return preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $commandName);
501
+                        function($commandName) use ($commandPrefix) {
502
+                            return preg_replace('/^(dbal|orm):/', $commandPrefix.':$1:', $commandName);
503 503
                         },
504 504
                         array_merge([$command->getName()], $command->getAliases())
505 505
                     );
Please login to merge, or discard this patch.
src/MongoDBBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
                 break;
188 188
 
189 189
             default:
190
-                throw new \InvalidArgumentException('Invalid argument: ' . $connection);
190
+                throw new \InvalidArgumentException('Invalid argument: '.$connection);
191 191
         }
192 192
 
193 193
         return $connection;
@@ -345,10 +345,10 @@  discard block
 block discarded – undo
345 345
 
346 346
         if ($commandPrefix !== '') {
347 347
             $commands = array_map(
348
-                function (Command $command) use ($commandPrefix) {
348
+                function(Command $command) use ($commandPrefix) {
349 349
                     $commandNames = array_map(
350
-                        function ($commandName) use ($commandPrefix) {
351
-                            return preg_replace('/^odm:/', $commandPrefix . ':odm:', $commandName);
350
+                        function($commandName) use ($commandPrefix) {
351
+                            return preg_replace('/^odm:/', $commandPrefix.':odm:', $commandName);
352 352
                         },
353 353
                         array_merge([$command->getName()], $command->getAliases())
354 354
                     );
Please login to merge, or discard this patch.
src/CouchDBBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,10 +188,10 @@
 block discarded – undo
188 188
 
189 189
         if ($commandPrefix !== '') {
190 190
             $commands = array_map(
191
-                function (Command $command) use ($commandPrefix) {
191
+                function(Command $command) use ($commandPrefix) {
192 192
                     $commandNames = array_map(
193
-                        function ($commandName) use ($commandPrefix) {
194
-                            return preg_replace('/^couchdb:/', $commandPrefix . ':', $commandName);
193
+                        function($commandName) use ($commandPrefix) {
194
+                            return preg_replace('/^couchdb:/', $commandPrefix.':', $commandName);
195 195
                         },
196 196
                         array_merge([$command->getName()], $command->getAliases())
197 197
                     );
Please login to merge, or discard this patch.