diff --git a/framework/yii/caching/Dependency.php b/framework/yii/caching/Dependency.php index f0587f9..5c7249a 100644 --- a/framework/yii/caching/Dependency.php +++ b/framework/yii/caching/Dependency.php @@ -76,7 +76,7 @@ abstract class Dependency extends \yii\base\Object if (!array_key_exists($this->_hash, self::$_reusableData)) { self::$_reusableData[$this->_hash] = $this->generateDependencyData(); } - return self::$_reusableData[$this->_hash] !== $this->_data; + return self::$_reusableData[$this->_hash] !== $this->data; } }