@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | $annotationFiles = (array) $this->getOption('annotation_files'); |
| 232 | 232 | array_walk( |
| 233 | 233 | $annotationFiles, |
| 234 | - function ($file) { |
|
| 234 | + function($file) { |
|
| 235 | 235 | if (!file_exists($file)) { |
| 236 | 236 | throw new \RuntimeException(sprintf('"%s" file does not exist', $file)); |
| 237 | 237 | } |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | $annotationLoaders = (array) $this->getOption('annotation_autoloaders'); |
| 246 | 246 | array_walk( |
| 247 | 247 | $annotationLoaders, |
| 248 | - function ($autoLoader) { |
|
| 248 | + function($autoLoader) { |
|
| 249 | 249 | AnnotationRegistry::registerLoader($autoLoader); |
| 250 | 250 | } |
| 251 | 251 | ); |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | |
| 267 | 267 | return array_filter( |
| 268 | 268 | $namespaces, |
| 269 | - function ($namespace) { |
|
| 269 | + function($namespace) { |
|
| 270 | 270 | return is_string($namespace); |
| 271 | 271 | }, |
| 272 | 272 | ARRAY_FILTER_USE_KEY |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | |
| 383 | 383 | return array_filter( |
| 384 | 384 | $functions, |
| 385 | - function ($name) { |
|
| 385 | + function($name) { |
|
| 386 | 386 | return is_string($name); |
| 387 | 387 | }, |
| 388 | 388 | ARRAY_FILTER_USE_KEY |
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | |
| 401 | 401 | return array_filter( |
| 402 | 402 | $functions, |
| 403 | - function ($name) { |
|
| 403 | + function($name) { |
|
| 404 | 404 | return is_string($name); |
| 405 | 405 | }, |
| 406 | 406 | ARRAY_FILTER_USE_KEY |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | |
| 419 | 419 | return array_filter( |
| 420 | 420 | $functions, |
| 421 | - function ($name) { |
|
| 421 | + function($name) { |
|
| 422 | 422 | return is_string($name); |
| 423 | 423 | }, |
| 424 | 424 | ARRAY_FILTER_USE_KEY |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | |
| 437 | 437 | return array_filter( |
| 438 | 438 | $types, |
| 439 | - function ($name) { |
|
| 439 | + function($name) { |
|
| 440 | 440 | return is_string($name); |
| 441 | 441 | }, |
| 442 | 442 | ARRAY_FILTER_USE_KEY |
@@ -489,9 +489,9 @@ discard block |
||
| 489 | 489 | |
| 490 | 490 | if ($commandPrefix !== '') { |
| 491 | 491 | $commands = array_map( |
| 492 | - function (Command $command) use ($commandPrefix) { |
|
| 492 | + function(Command $command) use ($commandPrefix) { |
|
| 493 | 493 | $commandNames = array_map( |
| 494 | - function ($commandName) use ($commandPrefix) { |
|
| 494 | + function($commandName) use ($commandPrefix) { |
|
| 495 | 495 | return preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $commandName); |
| 496 | 496 | }, |
| 497 | 497 | array_merge([$command->getName()], $command->getAliases()) |
@@ -355,9 +355,9 @@ |
||
| 355 | 355 | |
| 356 | 356 | if ($commandPrefix !== '') { |
| 357 | 357 | $commands = array_map( |
| 358 | - function (Command $command) use ($commandPrefix) { |
|
| 358 | + function(Command $command) use ($commandPrefix) { |
|
| 359 | 359 | $commandNames = array_map( |
| 360 | - function ($commandName) use ($commandPrefix) { |
|
| 360 | + function($commandName) use ($commandPrefix) { |
|
| 361 | 361 | return preg_replace('/^odm:/', $commandPrefix . ':odm:', $commandName); |
| 362 | 362 | }, |
| 363 | 363 | array_merge([$command->getName()], $command->getAliases()) |
@@ -355,9 +355,9 @@ |
||
| 355 | 355 | |
| 356 | 356 | if ($commandPrefix !== '') { |
| 357 | 357 | $commands = array_map( |
| 358 | - function (Command $command) use ($commandPrefix) { |
|
| 358 | + function(Command $command) use ($commandPrefix) { |
|
| 359 | 359 | $commandNames = array_map( |
| 360 | - function ($commandName) use ($commandPrefix) { |
|
| 360 | + function($commandName) use ($commandPrefix) { |
|
| 361 | 361 | return preg_replace('/^odm:/', $commandPrefix . ':odm:', $commandName); |
| 362 | 362 | }, |
| 363 | 363 | array_merge([$command->getName()], $command->getAliases()) |