Commit 135c54ec by Qiang Xue

Fixed typo.

parent d341bf02
......@@ -112,7 +112,7 @@ class Instance
} elseif (is_array($reference)) {
$class = isset($reference['class']) ? $reference['class'] : $type;
if (!$container instanceof Container) {
$container = Yii::$app;
$container = Yii::$container;
}
unset($reference['class']);
return $container->get($class, [], $reference);
......
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