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

Commit

Permalink
Merge pull request #259 from michalbundyra/hotfix/lowercase-config-key
Browse files Browse the repository at this point in the history
Use lowercase `config` key to get configuration from container
  • Loading branch information
weierophinney committed Dec 26, 2019
2 parents 0c3194a + d44c9b2 commit 9ef925f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Collector/ConfigCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public function collect(MvcEvent $mvcEvent)

$serviceLocator = $application->getServiceManager();

if ($serviceLocator->has('Config')) {
$this->config = $this->makeArraySerializable($serviceLocator->get('Config'));
if ($serviceLocator->has('config')) {
$this->config = $this->makeArraySerializable($serviceLocator->get('config'));
}

if ($serviceLocator->has('ApplicationConfig')) {
Expand Down

0 comments on commit 9ef925f

Please sign in to comment.