diff --git a/lib/Varien/Object.php b/lib/Varien/Object.php index b7638f859eb..90c8e973aa2 100644 --- a/lib/Varien/Object.php +++ b/lib/Varien/Object.php @@ -842,6 +842,7 @@ public function debug($data=null, &$objects=array()) * @param string $offset * @param mixed $value */ + #[ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->_data[$offset] = $value; @@ -854,6 +855,7 @@ public function offsetSet($offset, $value) * @param string $offset * @return boolean */ + #[ReturnTypeWillChange] public function offsetExists($offset) { return isset($this->_data[$offset]); @@ -865,6 +867,7 @@ public function offsetExists($offset) * @link http://www.php.net/manual/en/arrayaccess.offsetunset.php * @param string $offset */ + #[ReturnTypeWillChange] public function offsetUnset($offset) { unset($this->_data[$offset]); @@ -877,6 +880,7 @@ public function offsetUnset($offset) * @param string $offset * @return mixed */ + #[ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->_data[$offset]) ? $this->_data[$offset] : null;