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

Commit

Permalink
Merge branch 'hotfix/2663' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/Listener/ConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,12 @@ protected function addConfigPath($path, $type)
return $this;
}



/**
* @param string $key
* @param array|Traversable $config
* @throws Exception\InvalidArgumentException
* @return ConfigListener
*/
protected function addConfig($key, $config)
{
if ($config instanceof Traversable) {
Expand Down
7 changes: 6 additions & 1 deletion src/ModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ public function __construct($modules, EventManagerInterface $eventManager = null
}
}

/**
* Handle the loadModules event
*
* @return void
*/
public function onLoadModules()
{
if (true === $this->modulesAreLoaded) {
Expand All @@ -86,7 +91,7 @@ public function onLoadModules()
/**
* Load the provided modules.
*
* @triggers loadModules.pre
* @triggers loadModules
* @triggers loadModules.post
* @return ModuleManager
*/
Expand Down

0 comments on commit 961798f

Please sign in to comment.