Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 6c45aab

Browse files
committed
pass required parameter to ControllerManager construct (ContollerLoaderFactory fix)
1 parent d374f7c commit 6c45aab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Service/ControllerLoaderFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ class ControllerLoaderFactory implements FactoryInterface
3333
*/
3434
public function createService(ServiceLocatorInterface $serviceLocator)
3535
{
36-
$controllerLoader = new ControllerManager();
37-
$controllerLoader->setServiceLocator($serviceLocator);
36+
$controllerLoader = new ControllerManager($serviceLocator);
3837
$controllerLoader->addPeeringServiceManager($serviceLocator);
3938

4039
$config = $serviceLocator->get('Config');

0 commit comments

Comments
 (0)