offsetExists($offset) ? self::$versions[$offset] : null; } #[ReturnTypeWillChange] public function offsetSet($offset, $value) { throw new RuntimeException('Unsupported operation'); } #[ReturnTypeWillChange] public function offsetUnset($offset) { throw new RuntimeException('Unsupported operation'); } /** * @return ArrayIterator */ #[ReturnTypeWillChange] public function getIterator() { return new ArrayIterator(self::$versions); } }