@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | protected function addClassToLines(array $eventListenerMethods) |
15 | 15 | { |
16 | - return array_map(function (ListenerMethod $listener) { |
|
16 | + return array_map(function(ListenerMethod $listener) { |
|
17 | 17 | return $this->spaces(self::SPACES_AT_HANDLERS) . |
18 | 18 | '[' . $this->prependSlash($listener->getEventClassName()) . '::class' . ', \'' . $listener->getMethodName() . '\'],'; |
19 | 19 | }, $eventListenerMethods); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | protected function addClassToLines(array $listeners) |
15 | 15 | { |
16 | - return array_map(function (ListenerMethod $listener) { |
|
16 | + return array_map(function(ListenerMethod $listener) { |
|
17 | 17 | return $this->spaces(self::SPACES_AT_HANDLERS) . |
18 | 18 | '[' . $this->prependSlash($listener->getClassName()) . '::class' . ', \'' . $listener->getMethodName() . '\'],'; |
19 | 19 | }, $listeners); |