@@ -67,7 +67,7 @@ |
||
67 | 67 | public function registerFactory($factory, $listenerMethod = 'addListener') |
68 | 68 | { |
69 | 69 | $factory->$listenerMethod( |
70 | - function ($object) { |
|
70 | + function($object) { |
|
71 | 71 | if ($object instanceof BootstrapAwareInterface) { |
72 | 72 | $object->setBootstrapCurrator($this->getBootstrapCurrator()); |
73 | 73 | } |
@@ -72,6 +72,9 @@ |
||
72 | 72 | $listener->setBootstrap($this->bootstrap); |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param BootstrapAwareInterface[] $listeners |
|
77 | + */ |
|
75 | 78 | protected function applyToListeners($listeners, BootInterface $bootstrap) |
76 | 79 | { |
77 | 80 | foreach ($listeners as $listener) { |