@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | $annotationFiles = (array) $this->getOption('annotation_files'); |
160 | 160 | array_walk( |
161 | 161 | $annotationFiles, |
162 | - function ($file) { |
|
162 | + function($file) { |
|
163 | 163 | if (!file_exists($file)) { |
164 | 164 | throw new \RuntimeException(sprintf('"%s" file does not exist', $file)); |
165 | 165 | } |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $annotationLoaders = (array) $this->getOption('annotation_autoloaders'); |
174 | 174 | array_walk( |
175 | 175 | $annotationLoaders, |
176 | - function ($autoLoader) { |
|
176 | + function($autoLoader) { |
|
177 | 177 | AnnotationRegistry::registerLoader($autoLoader); |
178 | 178 | } |
179 | 179 | ); |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | |
191 | 191 | return array_filter( |
192 | 192 | $namespaces, |
193 | - function ($namespace) { |
|
193 | + function($namespace) { |
|
194 | 194 | return is_string($namespace); |
195 | 195 | }, |
196 | 196 | ARRAY_FILTER_USE_KEY |
@@ -503,7 +503,7 @@ discard block |
||
503 | 503 | |
504 | 504 | return array_filter( |
505 | 505 | $eventSubscribers, |
506 | - function ($subscriber) { |
|
506 | + function($subscriber) { |
|
507 | 507 | return $subscriber instanceof EventSubscriber; |
508 | 508 | } |
509 | 509 | ); |