Skip to content

Commit

Permalink
Added #[\ReturnTypeWillChange] to methods from ArrayAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
adnedelcu committed Feb 16, 2024
1 parent 9343be4 commit 4c4e449
Show file tree
Hide file tree
Showing 145 changed files with 581 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/Model/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ public function setSubscriptionInvoicePrefix($subscription_invoice_prefix)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -866,6 +867,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -877,6 +879,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -891,6 +894,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/AccountLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ public function setTimezone($timezone)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -471,6 +472,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -482,6 +484,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -496,6 +499,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/AddOn.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ public function setEligiblePlans($eligible_plans)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -632,6 +633,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -643,6 +645,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -657,6 +660,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/AddOnSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ public function setTotalPages($total_pages)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -481,6 +482,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -492,6 +494,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -506,6 +509,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/AdditionalCost.php
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ public function setAmountExVat($amount_ex_vat)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -629,6 +630,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -640,6 +642,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -654,6 +657,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/AnydayTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ public function setAnydayId($anyday_id)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -348,6 +349,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -359,6 +361,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -373,6 +376,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/BancontactTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ public function setBancontactId($bancontact_id)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -348,6 +349,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -359,6 +361,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -373,6 +376,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/BlikTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ public function setBlikId($blik_id)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -348,6 +349,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -359,6 +361,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -373,6 +376,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/CancelSubscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ public function setExpireAt($expire_at)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -249,6 +250,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -260,6 +262,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -274,6 +277,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ public function setErrorState($error_state)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -769,6 +770,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -780,6 +782,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -794,6 +797,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/CardGatewayAgreement.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ public function setGwRef($gw_ref)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -397,6 +398,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -408,6 +410,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -422,6 +425,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
4 changes: 4 additions & 0 deletions lib/Model/CardImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public function setCardIdentifier($card_identifier)
* @param integer $offset Offset
* @return boolean
*/
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
return isset($this->container[$offset]);
Expand All @@ -228,6 +229,7 @@ public function offsetExists($offset)
* @param integer $offset Offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return isset($this->container[$offset]) ? $this->container[$offset] : null;
Expand All @@ -239,6 +241,7 @@ public function offsetGet($offset)
* @param mixed $value Value to be set
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($offset, $value)
{
if (is_null($offset)) {
Expand All @@ -253,6 +256,7 @@ public function offsetSet($offset, $value)
* @param integer $offset Offset
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
unset($this->container[$offset]);
Expand Down
Loading

0 comments on commit 4c4e449

Please sign in to comment.