@@ -422,7 +422,7 @@ discard block |
||
| 422 | 422 | |
| 423 | 423 | return array_filter( |
| 424 | 424 | $functions, |
| 425 | - function ($name) { |
|
| 425 | + function($name) { |
|
| 426 | 426 | return is_string($name); |
| 427 | 427 | }, |
| 428 | 428 | ARRAY_FILTER_USE_KEY |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | |
| 441 | 441 | return array_filter( |
| 442 | 442 | $functions, |
| 443 | - function ($name) { |
|
| 443 | + function($name) { |
|
| 444 | 444 | return is_string($name); |
| 445 | 445 | }, |
| 446 | 446 | ARRAY_FILTER_USE_KEY |
@@ -458,7 +458,7 @@ discard block |
||
| 458 | 458 | |
| 459 | 459 | return array_filter( |
| 460 | 460 | $functions, |
| 461 | - function ($name) { |
|
| 461 | + function($name) { |
|
| 462 | 462 | return is_string($name); |
| 463 | 463 | }, |
| 464 | 464 | ARRAY_FILTER_USE_KEY |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | |
| 477 | 477 | return array_filter( |
| 478 | 478 | $types, |
| 479 | - function ($name) { |
|
| 479 | + function($name) { |
|
| 480 | 480 | return is_string($name); |
| 481 | 481 | }, |
| 482 | 482 | ARRAY_FILTER_USE_KEY |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | |
| 495 | 495 | return array_filter( |
| 496 | 496 | $filters, |
| 497 | - function ($name) { |
|
| 497 | + function($name) { |
|
| 498 | 498 | return is_string($name); |
| 499 | 499 | }, |
| 500 | 500 | ARRAY_FILTER_USE_KEY |
@@ -547,9 +547,9 @@ discard block |
||
| 547 | 547 | |
| 548 | 548 | if ($commandPrefix !== '') { |
| 549 | 549 | $commands = array_map( |
| 550 | - function (Command $command) use ($commandPrefix) { |
|
| 550 | + function(Command $command) use ($commandPrefix) { |
|
| 551 | 551 | $commandNames = array_map( |
| 552 | - function ($commandName) use ($commandPrefix) { |
|
| 552 | + function($commandName) use ($commandPrefix) { |
|
| 553 | 553 | return preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $commandName); |
| 554 | 554 | }, |
| 555 | 555 | array_merge([$command->getName()], $command->getAliases()) |
@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | |
| 376 | 376 | return array_filter( |
| 377 | 377 | $filters, |
| 378 | - function ($name) { |
|
| 378 | + function($name) { |
|
| 379 | 379 | return is_string($name); |
| 380 | 380 | }, |
| 381 | 381 | ARRAY_FILTER_USE_KEY |
@@ -412,9 +412,9 @@ discard block |
||
| 412 | 412 | |
| 413 | 413 | if ($commandPrefix !== '') { |
| 414 | 414 | $commands = array_map( |
| 415 | - function (Command $command) use ($commandPrefix) { |
|
| 415 | + function(Command $command) use ($commandPrefix) { |
|
| 416 | 416 | $commandNames = array_map( |
| 417 | - function ($commandName) use ($commandPrefix) { |
|
| 417 | + function($commandName) use ($commandPrefix) { |
|
| 418 | 418 | return preg_replace('/^odm:/', $commandPrefix . ':odm:', $commandName); |
| 419 | 419 | }, |
| 420 | 420 | array_merge([$command->getName()], $command->getAliases()) |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | $annotationFiles = (array) $this->getOption('annotation_files'); |
| 139 | 139 | array_walk( |
| 140 | 140 | $annotationFiles, |
| 141 | - function ($file) { |
|
| 141 | + function($file) { |
|
| 142 | 142 | if (!file_exists($file)) { |
| 143 | 143 | throw new \RuntimeException(sprintf('"%s" file does not exist', $file)); |
| 144 | 144 | } |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | $annotationLoaders = (array) $this->getOption('annotation_autoloaders'); |
| 153 | 153 | array_walk( |
| 154 | 154 | $annotationLoaders, |
| 155 | - function ($autoLoader) { |
|
| 155 | + function($autoLoader) { |
|
| 156 | 156 | AnnotationRegistry::registerLoader($autoLoader); |
| 157 | 157 | } |
| 158 | 158 | ); |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | return array_filter( |
| 171 | 171 | $namespaces, |
| 172 | - function ($namespace) { |
|
| 172 | + function($namespace) { |
|
| 173 | 173 | return is_string($namespace); |
| 174 | 174 | }, |
| 175 | 175 | ARRAY_FILTER_USE_KEY |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | |
| 495 | 495 | return array_filter( |
| 496 | 496 | $eventSubscribers, |
| 497 | - function ($name) { |
|
| 497 | + function($name) { |
|
| 498 | 498 | return is_string($name); |
| 499 | 499 | }, |
| 500 | 500 | ARRAY_FILTER_USE_KEY |