diff --git a/klarnaconfig.php b/klarnaconfig.php index 0897493..4b6b64e 100644 --- a/klarnaconfig.php +++ b/klarnaconfig.php @@ -126,7 +126,9 @@ public function __destruct() * @param mixed $offset field * * @return bool + * */ + #[\ReturnTypeWillChange] public function offsetExists($offset) { return isset($this->options[$offset]); @@ -139,6 +141,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { if (!$this->offsetExists($offset)) { @@ -155,6 +158,7 @@ public function offsetGet($offset) * * @return void */ + #[\ReturnTypeWillChange] public function offsetSet($offset, $value) { $this->options[$offset] = $value; @@ -167,6 +171,7 @@ public function offsetSet($offset, $value) * * @return void */ + #[\ReturnTypeWillChange] public function offsetUnset($offset) { unset($this->options[$offset]);