diff --git a/lib/Varien/Object.php b/lib/Varien/Object.php index d25545b553e5..a23cc37bcd12 100644 --- a/lib/Varien/Object.php +++ b/lib/Varien/Object.php @@ -791,6 +791,7 @@ public function debug($data=null, &$objects=array()) * @param string $offset * @param mixed $value */ + #[ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->_data[$offset] = $value; @@ -803,6 +804,7 @@ public function offsetSet($offset, $value) * @param string $offset * @return boolean */ + #[ReturnTypeWillChange] public function offsetExists($offset) { return isset($this->_data[$offset]); @@ -814,6 +816,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]); @@ -826,6 +829,7 @@ public function offsetUnset($offset) * @param string $offset * @return mixed */ + #[ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->_data[$offset]) ? $this->_data[$offset] : null;