diff --git a/src/Model/Collection/Collection.php b/src/Model/Collection/Collection.php index 77870cf..bce542b 100644 --- a/src/Model/Collection/Collection.php +++ b/src/Model/Collection/Collection.php @@ -76,6 +76,7 @@ public function offsetUnset($offset) * @param string|int $offset * @return TValue|null */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->data[$offset]) ? $this->data[$offset] : null; @@ -93,6 +94,7 @@ public function rewind() /** * @return TValue */ + #[\ReturnTypeWillChange] public function current() { return $this->data[$this->iteratorPosition]; @@ -101,6 +103,7 @@ public function current() /** * @return int */ + #[\ReturnTypeWillChange] public function key() { return $this->iteratorPosition; diff --git a/src/TheClient.php b/src/TheClient.php index 771158d..dfae6da 100644 --- a/src/TheClient.php +++ b/src/TheClient.php @@ -42,7 +42,7 @@ class TheClient { /** @var string */ - const VERSION = '1.4.1'; + const VERSION = '1.4.2'; /** @var TheConfig */ private $config;