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

Commit

Permalink
Use lowercase config key to get configuration from container
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Oct 21, 2019
1 parent 797c4d0 commit d44c9b2
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 d44c9b2

Please sign in to comment.