data; } #[\ReturnTypeWillChange] public function offsetExists($offset) { return array_key_exists($offset, $this->data); } #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->data[$offset]) ? $this->data[$offset] : null; } #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->data[$offset] = $value; } #[\ReturnTypeWillChange] public function offsetUnset($offset) { unset($this->data[$offset]); } #[\ReturnTypeWillChange] public function count() { return count($this->data); } #[\ReturnTypeWillChange] public function getIterator() { return new \ArrayIterator($this->data); } public function toArray() { return $this->data; } }