@@ -10,6 +10,11 @@ |
||
| 10 | 10 | protected $siteSelector; |
| 11 | 11 | protected $version; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $path |
|
| 15 | + * @param string $version |
|
| 16 | + * @param string[] $services |
|
| 17 | + */ |
|
| 13 | 18 | public function __construct($path, $version, $services) |
| 14 | 19 | { |
| 15 | 20 | $this->path = $path; |
@@ -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 | } |