Commit 910151d7 by Carsten Brandt

typo

[ci skip]
parent 02545ce7
...@@ -355,7 +355,7 @@ class Module extends ServiceLocator ...@@ -355,7 +355,7 @@ class Module extends ServiceLocator
if (is_array($this->_modules[$id]) && !isset($this->_modules[$id]['class'])) { if (is_array($this->_modules[$id]) && !isset($this->_modules[$id]['class'])) {
$this->_modules[$id]['class'] = 'yii\base\Module'; $this->_modules[$id]['class'] = 'yii\base\Module';
} }
/** @var $module Module */ /* @var $module Module */
$module = Yii::createObject($this->_modules[$id], [$id, $this]); $module = Yii::createObject($this->_modules[$id], [$id, $this]);
$module->setInstance($module); $module->setInstance($module);
return $this->_modules[$id] = $module; return $this->_modules[$id] = $module;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment