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

Commit b8bf785

Browse files
committed
Merge pull request #80 from samsonasik/patch-1
Fixes #78 : using uppercase for 'Application' service
2 parents ae54c5f + bc4a2b4 commit b8bf785

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Service/ServiceListenerFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class ServiceListenerFactory implements FactoryInterface
6666
'invokables' => [],
6767
'factories' => [
6868
'Application' => 'Zend\Mvc\Service\ApplicationFactory',
69+
'application' => 'Zend\Mvc\Service\ApplicationFactory',
6970
'config' => 'Zend\Mvc\Service\ConfigFactory',
7071
'ControllerManager' => 'Zend\Mvc\Service\ControllerManagerFactory',
7172
'ControllerPluginManager' => 'Zend\Mvc\Service\ControllerPluginManagerFactory',

src/Service/ViewHelperManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private function createUrlHelperFactory(ContainerInterface $services)
138138
$router = Console::isConsole() ? 'HttpRouter' : 'Router';
139139
$helper->setRouter($services->get($router));
140140

141-
$match = $services->get('application')
141+
$match = $services->get('Application')
142142
->getMvcEvent()
143143
->getRouteMatch()
144144
;

0 commit comments

Comments
 (0)