@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | |
478 | 478 | return array_filter( |
479 | 479 | $functions, |
480 | - function ($name) { |
|
480 | + function($name) { |
|
481 | 481 | return is_string($name); |
482 | 482 | }, |
483 | 483 | ARRAY_FILTER_USE_KEY |
@@ -495,7 +495,7 @@ discard block |
||
495 | 495 | |
496 | 496 | return array_filter( |
497 | 497 | $functions, |
498 | - function ($name) { |
|
498 | + function($name) { |
|
499 | 499 | return is_string($name); |
500 | 500 | }, |
501 | 501 | ARRAY_FILTER_USE_KEY |
@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | |
514 | 514 | return array_filter( |
515 | 515 | $functions, |
516 | - function ($name) { |
|
516 | + function($name) { |
|
517 | 517 | return is_string($name); |
518 | 518 | }, |
519 | 519 | ARRAY_FILTER_USE_KEY |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | |
532 | 532 | return array_filter( |
533 | 533 | $types, |
534 | - function ($name) { |
|
534 | + function($name) { |
|
535 | 535 | return is_string($name); |
536 | 536 | }, |
537 | 537 | ARRAY_FILTER_USE_KEY |
@@ -549,7 +549,7 @@ discard block |
||
549 | 549 | |
550 | 550 | return array_filter( |
551 | 551 | $mappingTypes, |
552 | - function ($name) { |
|
552 | + function($name) { |
|
553 | 553 | return is_string($name); |
554 | 554 | }, |
555 | 555 | ARRAY_FILTER_USE_KEY |
@@ -567,7 +567,7 @@ discard block |
||
567 | 567 | |
568 | 568 | return array_filter( |
569 | 569 | $filters, |
570 | - function ($name) { |
|
570 | + function($name) { |
|
571 | 571 | return is_string($name); |
572 | 572 | }, |
573 | 573 | ARRAY_FILTER_USE_KEY |
@@ -620,10 +620,10 @@ discard block |
||
620 | 620 | $commandPrefix = (string) $this->getName(); |
621 | 621 | |
622 | 622 | $commands = array_map( |
623 | - function (Command $command) use ($helperSet, $commandPrefix) { |
|
623 | + function(Command $command) use ($helperSet, $commandPrefix) { |
|
624 | 624 | if ($commandPrefix !== '') { |
625 | 625 | $commandNames = array_map( |
626 | - function ($commandName) use ($commandPrefix) { |
|
626 | + function($commandName) use ($commandPrefix) { |
|
627 | 627 | return preg_replace('/^(dbal|orm):/', '$1:' . $commandPrefix . ':', $commandName); |
628 | 628 | }, |
629 | 629 | array_merge([$command->getName()], $command->getAliases()) |