We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa05f55 commit ce1fa6fCopy full SHA for ce1fa6f
classes/Configs.php
@@ -83,7 +83,7 @@ protected function getDb()
83
84
protected function getCache()
85
{
86
- if ($this->_configs['cache'] !== null && !($this->_configs['cache'] instanceof Connection)) {
+ if ($this->_configs['cache'] !== null && !($this->_configs['cache'] instanceof Cache)) {
87
$this->_configs['cache'] = Yii::$app->get($this->_configs['cache'], false);
88
}
89
return $this->_configs['cache'];
0 commit comments