diff --git a/src/iTunes/PendingRenewalInfo.php b/src/iTunes/PendingRenewalInfo.php index 20b64db..75a327c 100644 --- a/src/iTunes/PendingRenewalInfo.php +++ b/src/iTunes/PendingRenewalInfo.php @@ -281,6 +281,7 @@ public function isInGracePeriod(): bool * * @throws RunTimeException */ + #[\ReturnTypeWillChange] public function offsetSet($key, $value) { $this->raw_data[$key] = $value; @@ -294,6 +295,7 @@ public function offsetSet($key, $value) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($key) { return $this->raw_data[$key]; @@ -304,6 +306,7 @@ public function offsetGet($key) * * @param $key */ + #[\ReturnTypeWillChange] public function offsetUnset($key) { unset($this->raw_data[$key]); @@ -316,6 +319,7 @@ public function offsetUnset($key) * * @return bool */ + #[\ReturnTypeWillChange] public function offsetExists($key): bool { return isset($this->raw_data[$key]); diff --git a/src/iTunes/PurchaseItem.php b/src/iTunes/PurchaseItem.php index 2c77a0b..e735576 100644 --- a/src/iTunes/PurchaseItem.php +++ b/src/iTunes/PurchaseItem.php @@ -301,6 +301,7 @@ public function getCancellationDate(): ?Carbon * * @throws RunTimeException */ + #[\ReturnTypeWillChange] public function offsetSet($key, $value) { $this->raw_data[$key] = $value; @@ -314,6 +315,7 @@ public function offsetSet($key, $value) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($key) { return $this->raw_data[$key]; @@ -324,6 +326,7 @@ public function offsetGet($key) * * @param $key */ + #[\ReturnTypeWillChange] public function offsetUnset($key) { unset($this->raw_data[$key]); @@ -336,6 +339,7 @@ public function offsetUnset($key) * * @return bool */ + #[\ReturnTypeWillChange] public function offsetExists($key) { return isset($this->raw_data[$key]);