This commit is contained in:
the-djmaze 2023-03-13 21:48:20 +01:00
parent 85b06123c6
commit a0a7e93707

View file

@ -36,16 +36,20 @@ abstract class AbstractConfig implements \ArrayAccess, \JsonSerializable
public function offsetExists($offset) : bool public function offsetExists($offset) : bool
{ {
} }
#[\ReturnTypeWillChange]
public function offsetGet($offset) public function offsetGet($offset)
{ {
$offset = \explode('/', $offset, 2); $offset = \explode('/', $offset, 2);
$this->Get($offset[0], $offset[1]); $this->Get($offset[0], $offset[1]);
} }
public function offsetSet($offset, $value) : void public function offsetSet($offset, $value) : void
{ {
$offset = \explode('/', $offset, 2); $offset = \explode('/', $offset, 2);
$this->Set($offset[0], $offset[1], $value); $this->Set($offset[0], $offset[1], $value);
} }
public function offsetUnset($offset) : void public function offsetUnset($offset) : void
{ {
} }