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

Commit 9ef925f

Browse files
committed
Merge pull request #259 from michalbundyra/hotfix/lowercase-config-key
Use lowercase `config` key to get configuration from container
2 parents 0c3194a + d44c9b2 commit 9ef925f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Collector/ConfigCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public function collect(MvcEvent $mvcEvent)
5959

6060
$serviceLocator = $application->getServiceManager();
6161

62-
if ($serviceLocator->has('Config')) {
63-
$this->config = $this->makeArraySerializable($serviceLocator->get('Config'));
62+
if ($serviceLocator->has('config')) {
63+
$this->config = $this->makeArraySerializable($serviceLocator->get('config'));
6464
}
6565

6666
if ($serviceLocator->has('ApplicationConfig')) {

0 commit comments

Comments
 (0)