diff --git a/composer.json b/composer.json index ffb3dfb..620941b 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,8 @@ "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "guzzlehttp/guzzle": "^6.2" + "guzzlehttp/guzzle": "^6.2 || ^7.0", + "guzzlehttp/psr7": "^1.8" }, "require-dev": { "phpunit/phpunit": "^5.7", diff --git a/lib/api/AuthApi.php b/lib/api/AuthApi.php index 23dc828..64d5b8d 100644 --- a/lib/api/AuthApi.php +++ b/lib/api/AuthApi.php @@ -327,7 +327,7 @@ protected function obtainTokensRequest($grant_type, $password = null, $refresh_t } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -348,7 +348,7 @@ protected function obtainTokensRequest($grant_type, $password = null, $refresh_t $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/api/FileTokensStorageApi.php b/lib/api/FileTokensStorageApi.php index 04c32ad..549e663 100644 --- a/lib/api/FileTokensStorageApi.php +++ b/lib/api/FileTokensStorageApi.php @@ -26,8 +26,6 @@ public function __construct($host, $terminalCode) { $this->validateInputParams($terminalCode); - $this->terminalCode = $terminalCode; - $configuration = new Configuration($host); $tempFolderPath = $configuration->getTempFolderPath(); diff --git a/lib/api/LimitsApi.php b/lib/api/LimitsApi.php index 602080d..c318ad3 100644 --- a/lib/api/LimitsApi.php +++ b/lib/api/LimitsApi.php @@ -318,7 +318,7 @@ protected function getLimitsInfoRequest($request_id = null) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -339,7 +339,7 @@ protected function getLimitsInfoRequest($request_id = null) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/api/PaymentsApi.php b/lib/api/PaymentsApi.php index f16fba9..5c461d2 100644 --- a/lib/api/PaymentsApi.php +++ b/lib/api/PaymentsApi.php @@ -323,7 +323,7 @@ protected function createPaymentRequest($payment_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -344,7 +344,7 @@ protected function createPaymentRequest($payment_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -622,7 +622,7 @@ protected function getAuthenticationDataRequest($payment_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -643,7 +643,7 @@ protected function getAuthenticationDataRequest($payment_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -929,7 +929,7 @@ protected function getDisputeRequest($payment_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -950,7 +950,7 @@ protected function getDisputeRequest($payment_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1307,7 +1307,7 @@ protected function getDisputesRequest($request_id, $type, $max_count = null, $of } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1328,7 +1328,7 @@ protected function getDisputesRequest($request_id, $type, $max_count = null, $of $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1606,7 +1606,7 @@ protected function getPaymentRequest($payment_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1627,7 +1627,7 @@ protected function getPaymentRequest($payment_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1917,7 +1917,7 @@ protected function getPaymentMethodsRequest($request_id, $payout_methods_only = } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1938,7 +1938,7 @@ protected function getPaymentMethodsRequest($request_id, $payout_methods_only = $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -2307,7 +2307,7 @@ protected function getPaymentsRequest($request_id, $currency = null, $end_time = } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -2328,7 +2328,7 @@ protected function getPaymentsRequest($request_id, $currency = null, $end_time = $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -2628,7 +2628,7 @@ protected function updatePaymentRequest($payment_id, $payment_patch_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -2649,7 +2649,7 @@ protected function updatePaymentRequest($payment_id, $payment_patch_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/api/PayoutsApi.php b/lib/api/PayoutsApi.php index a94b361..5fd6e76 100644 --- a/lib/api/PayoutsApi.php +++ b/lib/api/PayoutsApi.php @@ -331,7 +331,7 @@ protected function createPayoutRequest($payout_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -352,7 +352,7 @@ protected function createPayoutRequest($payout_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -638,7 +638,7 @@ protected function getPayoutRequest($payout_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -659,7 +659,7 @@ protected function getPayoutRequest($payout_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1028,7 +1028,7 @@ protected function getPayoutsRequest($request_id, $currency = null, $end_time = } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1049,7 +1049,7 @@ protected function getPayoutsRequest($request_id, $currency = null, $end_time = $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1349,7 +1349,7 @@ protected function updatePayoutRequest($payout_id, $payout_update_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1370,7 +1370,7 @@ protected function updatePayoutRequest($payout_id, $payout_update_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/api/RecurringsApi.php b/lib/api/RecurringsApi.php index b8cd00e..82add9a 100644 --- a/lib/api/RecurringsApi.php +++ b/lib/api/RecurringsApi.php @@ -325,7 +325,7 @@ protected function createFilingRequest($filing_request = null) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -346,7 +346,7 @@ protected function createFilingRequest($filing_request = null) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -619,7 +619,7 @@ protected function createPlanRequest($recurring_plan_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -640,7 +640,7 @@ protected function createPlanRequest($recurring_plan_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -921,7 +921,7 @@ protected function createRecurringRequest($recurring_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -942,7 +942,7 @@ protected function createRecurringRequest($recurring_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1191,7 +1191,7 @@ protected function deletePlanRequest($plan_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1212,7 +1212,7 @@ protected function deletePlanRequest($plan_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'DELETE', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1490,7 +1490,7 @@ protected function getAuthenticationData1Request($recurring_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1511,7 +1511,7 @@ protected function getAuthenticationData1Request($recurring_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1808,7 +1808,7 @@ protected function getChangeStatusClaimRequest($claim_id, $subscription_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1829,7 +1829,7 @@ protected function getChangeStatusClaimRequest($claim_id, $subscription_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -2107,7 +2107,7 @@ protected function getFilingRequest($filing_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -2128,7 +2128,7 @@ protected function getFilingRequest($filing_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -2406,7 +2406,7 @@ protected function getPlanRequest($plan_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -2427,7 +2427,7 @@ protected function getPlanRequest($plan_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -2753,7 +2753,7 @@ protected function getPlansRequest($request_id, $max_count = null, $offset = nul } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -2774,7 +2774,7 @@ protected function getPlansRequest($request_id, $max_count = null, $offset = nul $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -3052,7 +3052,7 @@ protected function getRecurringRequest($recurring_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -3073,7 +3073,7 @@ protected function getRecurringRequest($recurring_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -3463,7 +3463,7 @@ protected function getRecurringsRequest($request_id, $currency = null, $end_time } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -3484,7 +3484,7 @@ protected function getRecurringsRequest($request_id, $currency = null, $end_time $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -3762,7 +3762,7 @@ protected function getSubscriptionRequest($subscription_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -3783,7 +3783,7 @@ protected function getSubscriptionRequest($subscription_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -4186,7 +4186,7 @@ protected function getSubscriptionsRequest($request_id, $account_id = null, $cur } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -4207,7 +4207,7 @@ protected function getSubscriptionsRequest($request_id, $account_id = null, $cur $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -4507,7 +4507,7 @@ protected function updatePlanRequest($plan_id, $plan_update_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -4528,7 +4528,7 @@ protected function updatePlanRequest($plan_id, $plan_update_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -4828,7 +4828,7 @@ protected function updateRecurringRequest($recurring_id, $recurring_patch_reques } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -4849,7 +4849,7 @@ protected function updateRecurringRequest($recurring_id, $recurring_patch_reques $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -5149,7 +5149,7 @@ protected function updateSubscriptionRequest($subscription_id, $subscription_upd } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -5170,7 +5170,7 @@ protected function updateSubscriptionRequest($subscription_id, $subscription_upd $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/api/RefundsApi.php b/lib/api/RefundsApi.php index def78b7..6ac07f7 100644 --- a/lib/api/RefundsApi.php +++ b/lib/api/RefundsApi.php @@ -331,7 +331,7 @@ protected function createRefundRequest($refund_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -352,7 +352,7 @@ protected function createRefundRequest($refund_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'POST', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -638,7 +638,7 @@ protected function getRefundRequest($refund_id) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -659,7 +659,7 @@ protected function getRefundRequest($refund_id) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1028,7 +1028,7 @@ protected function getRefundsRequest($request_id, $currency = null, $end_time = } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1049,7 +1049,7 @@ protected function getRefundsRequest($request_id, $currency = null, $end_time = $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'GET', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), @@ -1349,7 +1349,7 @@ protected function updateRefundRequest($refund_id, $refund_update_request) } else { // for HTTP post (form) - $httpBody = \GuzzleHttp\Psr7\build_query($formParams); + $httpBody = \GuzzleHttp\Psr7\Query::build($formParams); } } @@ -1370,7 +1370,7 @@ protected function updateRefundRequest($refund_id, $refund_update_request) $headers ); - $query = \GuzzleHttp\Psr7\build_query($queryParams); + $query = \GuzzleHttp\Psr7\Query::build($queryParams); return new Request( 'PATCH', $this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''), diff --git a/lib/model/ApiError.php b/lib/model/ApiError.php index 2277662..ceb1a80 100644 --- a/lib/model/ApiError.php +++ b/lib/model/ApiError.php @@ -263,7 +263,7 @@ public function setRequestId($request_id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -275,7 +275,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -288,7 +288,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -304,7 +304,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ApiTokens.php b/lib/model/ApiTokens.php index 6ab580b..b139c9d 100644 --- a/lib/model/ApiTokens.php +++ b/lib/model/ApiTokens.php @@ -323,7 +323,7 @@ public function setTokenType($token_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/AuthenticationCustomer.php b/lib/model/AuthenticationCustomer.php index 7c37e2a..644a5f7 100644 --- a/lib/model/AuthenticationCustomer.php +++ b/lib/model/AuthenticationCustomer.php @@ -443,7 +443,7 @@ public function setWorkPhone($work_phone) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -455,7 +455,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -468,7 +468,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -484,7 +484,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/AuthenticationData.php b/lib/model/AuthenticationData.php index 4839748..a87d2dc 100644 --- a/lib/model/AuthenticationData.php +++ b/lib/model/AuthenticationData.php @@ -561,7 +561,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -573,7 +573,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -586,7 +586,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -602,7 +602,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/AuthenticationDataResponse.php b/lib/model/AuthenticationDataResponse.php index a5a5f2c..9f5fead 100644 --- a/lib/model/AuthenticationDataResponse.php +++ b/lib/model/AuthenticationDataResponse.php @@ -323,7 +323,7 @@ public function setCustomer($customer) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/AuthenticationError.php b/lib/model/AuthenticationError.php index e7eeccd..425c3f8 100644 --- a/lib/model/AuthenticationError.php +++ b/lib/model/AuthenticationError.php @@ -239,7 +239,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -251,7 +251,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -264,7 +264,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -280,7 +280,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/BadRequestError.php b/lib/model/BadRequestError.php index 8bab72c..1b04e9d 100644 --- a/lib/model/BadRequestError.php +++ b/lib/model/BadRequestError.php @@ -269,7 +269,7 @@ public function setRequestId($request_id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -281,7 +281,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -294,7 +294,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -310,7 +310,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/BankCardPayoutData.php b/lib/model/BankCardPayoutData.php index 574fb61..a5dabfa 100644 --- a/lib/model/BankCardPayoutData.php +++ b/lib/model/BankCardPayoutData.php @@ -553,7 +553,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -565,7 +565,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -578,7 +578,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -594,7 +594,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/BillingAddress.php b/lib/model/BillingAddress.php index 6caded5..dc5abc5 100644 --- a/lib/model/BillingAddress.php +++ b/lib/model/BillingAddress.php @@ -410,7 +410,7 @@ public function setZip($zip) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -422,7 +422,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -435,7 +435,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -451,7 +451,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/CardInfoRequest.php b/lib/model/CardInfoRequest.php index 36e20d4..346240f 100644 --- a/lib/model/CardInfoRequest.php +++ b/lib/model/CardInfoRequest.php @@ -228,7 +228,7 @@ public function setBin($bin) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -240,7 +240,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -253,7 +253,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -269,7 +269,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/CardInfoResponse.php b/lib/model/CardInfoResponse.php index 424ca4b..404ecd8 100644 --- a/lib/model/CardInfoResponse.php +++ b/lib/model/CardInfoResponse.php @@ -323,7 +323,7 @@ public function setCountry($country) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ChangeSubscriptionStatusClaimResponse.php b/lib/model/ChangeSubscriptionStatusClaimResponse.php index 47827fd..8878a98 100644 --- a/lib/model/ChangeSubscriptionStatusClaimResponse.php +++ b/lib/model/ChangeSubscriptionStatusClaimResponse.php @@ -387,7 +387,7 @@ public function setUpdated($updated) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -399,7 +399,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -412,7 +412,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -428,7 +428,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ChangedPlanData.php b/lib/model/ChangedPlanData.php index 710ca7f..29988fb 100644 --- a/lib/model/ChangedPlanData.php +++ b/lib/model/ChangedPlanData.php @@ -477,7 +477,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -489,7 +489,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -502,7 +502,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -518,7 +518,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ClaimResponseSubscriptionData.php b/lib/model/ClaimResponseSubscriptionData.php index 6528e89..a519a20 100644 --- a/lib/model/ClaimResponseSubscriptionData.php +++ b/lib/model/ClaimResponseSubscriptionData.php @@ -277,7 +277,7 @@ public function setStatusTo($status_to) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -289,7 +289,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -302,7 +302,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -318,7 +318,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Confirm3dsRequest.php b/lib/model/Confirm3dsRequest.php index 41ba8d8..6af27a7 100644 --- a/lib/model/Confirm3dsRequest.php +++ b/lib/model/Confirm3dsRequest.php @@ -239,7 +239,7 @@ public function setPaRes($pa_res) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -251,7 +251,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -264,7 +264,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -280,7 +280,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeList.php b/lib/model/DisputeList.php index aaf4a2c..62a8db2 100644 --- a/lib/model/DisputeList.php +++ b/lib/model/DisputeList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponse.php b/lib/model/DisputeResponse.php index b7b7856..f1fc554 100644 --- a/lib/model/DisputeResponse.php +++ b/lib/model/DisputeResponse.php @@ -323,7 +323,7 @@ public function setPaymentData($payment_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponseCard.php b/lib/model/DisputeResponseCard.php index ed27b73..ac6a247 100644 --- a/lib/model/DisputeResponseCard.php +++ b/lib/model/DisputeResponseCard.php @@ -233,7 +233,7 @@ public function setMaskedPan($masked_pan) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponseCardAccount.php b/lib/model/DisputeResponseCardAccount.php index 7affdc9..9bd44ca 100644 --- a/lib/model/DisputeResponseCardAccount.php +++ b/lib/model/DisputeResponseCardAccount.php @@ -203,7 +203,7 @@ public function setCard($card) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponseCustomer.php b/lib/model/DisputeResponseCustomer.php index 21ba1c4..565f931 100644 --- a/lib/model/DisputeResponseCustomer.php +++ b/lib/model/DisputeResponseCustomer.php @@ -203,7 +203,7 @@ public function setEmail($email) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponseDisputeData.php b/lib/model/DisputeResponseDisputeData.php index f310f87..c1898f1 100644 --- a/lib/model/DisputeResponseDisputeData.php +++ b/lib/model/DisputeResponseDisputeData.php @@ -443,7 +443,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -455,7 +455,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -468,7 +468,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -484,7 +484,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponseMerchantOrder.php b/lib/model/DisputeResponseMerchantOrder.php index ff107f1..aa0b759 100644 --- a/lib/model/DisputeResponseMerchantOrder.php +++ b/lib/model/DisputeResponseMerchantOrder.php @@ -233,7 +233,7 @@ public function setWebsiteUrl($website_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/DisputeResponsePaymentData.php b/lib/model/DisputeResponsePaymentData.php index dd4995c..e022352 100644 --- a/lib/model/DisputeResponsePaymentData.php +++ b/lib/model/DisputeResponsePaymentData.php @@ -353,7 +353,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -365,7 +365,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -378,7 +378,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -394,7 +394,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/EwalletAccount.php b/lib/model/EwalletAccount.php index 61a287e..3fa0296 100644 --- a/lib/model/EwalletAccount.php +++ b/lib/model/EwalletAccount.php @@ -353,7 +353,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -365,7 +365,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -378,7 +378,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -394,7 +394,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/FilingRecurringData.php b/lib/model/FilingRecurringData.php index c6c65e3..eea0113 100644 --- a/lib/model/FilingRecurringData.php +++ b/lib/model/FilingRecurringData.php @@ -452,7 +452,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -464,7 +464,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -477,7 +477,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -493,7 +493,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/FilingRequest.php b/lib/model/FilingRequest.php index bc946c6..7dfab33 100644 --- a/lib/model/FilingRequest.php +++ b/lib/model/FilingRequest.php @@ -464,7 +464,7 @@ public function setThreeDSecure($three_d_secure) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -476,7 +476,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -489,7 +489,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -505,7 +505,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/FilingRequestMerchantOrder.php b/lib/model/FilingRequestMerchantOrder.php index 1d8fae3..07bfc65 100644 --- a/lib/model/FilingRequestMerchantOrder.php +++ b/lib/model/FilingRequestMerchantOrder.php @@ -299,7 +299,7 @@ public function setShippingAddress($shipping_address) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -311,7 +311,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -324,7 +324,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -340,7 +340,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/FilingRequestSubscriptionData.php b/lib/model/FilingRequestSubscriptionData.php index f6d95b1..e03e1e0 100644 --- a/lib/model/FilingRequestSubscriptionData.php +++ b/lib/model/FilingRequestSubscriptionData.php @@ -218,7 +218,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -230,7 +230,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -243,7 +243,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -259,7 +259,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/FilterParameters.php b/lib/model/FilterParameters.php index da3e920..9ebe3eb 100644 --- a/lib/model/FilterParameters.php +++ b/lib/model/FilterParameters.php @@ -518,7 +518,7 @@ public function setCurrency($currency) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -530,7 +530,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -543,7 +543,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -559,7 +559,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Flight.php b/lib/model/Flight.php index 8e2c121..fe1f21e 100644 --- a/lib/model/Flight.php +++ b/lib/model/Flight.php @@ -458,7 +458,7 @@ public function setStopOverCode($stop_over_code) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -470,7 +470,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -483,7 +483,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -499,7 +499,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Flights.php b/lib/model/Flights.php index c99d8c8..a2742c4 100644 --- a/lib/model/Flights.php +++ b/lib/model/Flights.php @@ -623,7 +623,7 @@ public function setTravelAgencyName($travel_agency_name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -635,7 +635,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -648,7 +648,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -664,7 +664,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InstallmentData.php b/lib/model/InstallmentData.php index 0669027..38ddb52 100644 --- a/lib/model/InstallmentData.php +++ b/lib/model/InstallmentData.php @@ -634,7 +634,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -646,7 +646,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -659,7 +659,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -675,7 +675,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceCreationDataResponse.php b/lib/model/InvoiceCreationDataResponse.php index b2c2fdf..60f2748 100644 --- a/lib/model/InvoiceCreationDataResponse.php +++ b/lib/model/InvoiceCreationDataResponse.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceCreationResponse.php b/lib/model/InvoiceCreationResponse.php index 8a016d6..c8b6ba3 100644 --- a/lib/model/InvoiceCreationResponse.php +++ b/lib/model/InvoiceCreationResponse.php @@ -233,7 +233,7 @@ public function setInvoiceUrl($invoice_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceCustomer.php b/lib/model/InvoiceCustomer.php index 7cf2d4b..3abc43c 100644 --- a/lib/model/InvoiceCustomer.php +++ b/lib/model/InvoiceCustomer.php @@ -233,7 +233,7 @@ public function setPhone($phone) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceData.php b/lib/model/InvoiceData.php index 62890ea..497c70a 100644 --- a/lib/model/InvoiceData.php +++ b/lib/model/InvoiceData.php @@ -329,7 +329,7 @@ public function setInstallments($installments) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -341,7 +341,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -354,7 +354,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -370,7 +370,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceGetDataResponse.php b/lib/model/InvoiceGetDataResponse.php index eb7d05a..b9bc6be 100644 --- a/lib/model/InvoiceGetDataResponse.php +++ b/lib/model/InvoiceGetDataResponse.php @@ -332,7 +332,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -344,7 +344,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -357,7 +357,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -373,7 +373,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceGetResponse.php b/lib/model/InvoiceGetResponse.php index b7aa4ce..3b5348d 100644 --- a/lib/model/InvoiceGetResponse.php +++ b/lib/model/InvoiceGetResponse.php @@ -302,7 +302,7 @@ public function setMerchantOrder($merchant_order) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -314,7 +314,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -327,7 +327,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -343,7 +343,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceItem.php b/lib/model/InvoiceItem.php index f68d0a9..9fddbc0 100644 --- a/lib/model/InvoiceItem.php +++ b/lib/model/InvoiceItem.php @@ -296,7 +296,7 @@ public function setPrice($price) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -308,7 +308,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -321,7 +321,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -337,7 +337,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceMerchantOrder.php b/lib/model/InvoiceMerchantOrder.php index 07db33b..67a1f75 100644 --- a/lib/model/InvoiceMerchantOrder.php +++ b/lib/model/InvoiceMerchantOrder.php @@ -254,7 +254,7 @@ public function setItems($items) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -266,7 +266,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -279,7 +279,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -295,7 +295,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/InvoiceRequest.php b/lib/model/InvoiceRequest.php index 05fa30e..3d1481e 100644 --- a/lib/model/InvoiceRequest.php +++ b/lib/model/InvoiceRequest.php @@ -332,7 +332,7 @@ public function setReturnUrls($return_urls) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -344,7 +344,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -357,7 +357,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -373,7 +373,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Item.php b/lib/model/Item.php index 29bf481..c58d244 100644 --- a/lib/model/Item.php +++ b/lib/model/Item.php @@ -335,7 +335,7 @@ public function setPrice($price) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -347,7 +347,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -360,7 +360,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -376,7 +376,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/LimitInfoResponse.php b/lib/model/LimitInfoResponse.php index e78e47b..88bde68 100644 --- a/lib/model/LimitInfoResponse.php +++ b/lib/model/LimitInfoResponse.php @@ -203,7 +203,7 @@ public function setRemainingLimits($remaining_limits) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/NextSubscriptionPayment.php b/lib/model/NextSubscriptionPayment.php index 8a78ac2..520bc11 100644 --- a/lib/model/NextSubscriptionPayment.php +++ b/lib/model/NextSubscriptionPayment.php @@ -203,7 +203,7 @@ public function setDate($date) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/NotFoundError.php b/lib/model/NotFoundError.php index 8eb54aa..c03c7cb 100644 --- a/lib/model/NotFoundError.php +++ b/lib/model/NotFoundError.php @@ -269,7 +269,7 @@ public function setRequestId($request_id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -281,7 +281,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -294,7 +294,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -310,7 +310,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/OAuthError.php b/lib/model/OAuthError.php index f207498..0242a9b 100644 --- a/lib/model/OAuthError.php +++ b/lib/model/OAuthError.php @@ -267,7 +267,7 @@ public function setMessage($message) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,7 +279,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -292,7 +292,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -308,7 +308,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/OneclickData.php b/lib/model/OneclickData.php index 2f6309e..912fff9 100644 --- a/lib/model/OneclickData.php +++ b/lib/model/OneclickData.php @@ -664,7 +664,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -676,7 +676,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -689,7 +689,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -705,7 +705,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentCallback.php b/lib/model/PaymentCallback.php index f8ecdd2..920b372 100644 --- a/lib/model/PaymentCallback.php +++ b/lib/model/PaymentCallback.php @@ -413,7 +413,7 @@ public function setPaymentMethod($payment_method) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -425,7 +425,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -438,7 +438,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -454,7 +454,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentConfirm3dsRequest.php b/lib/model/PaymentConfirm3dsRequest.php index 5ad1447..f7ce00c 100644 --- a/lib/model/PaymentConfirm3dsRequest.php +++ b/lib/model/PaymentConfirm3dsRequest.php @@ -336,7 +336,7 @@ public function setPaRes($pa_res) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -348,7 +348,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -361,7 +361,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -377,7 +377,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentExecuteRequest.php b/lib/model/PaymentExecuteRequest.php index 0505aac..a2183a5 100644 --- a/lib/model/PaymentExecuteRequest.php +++ b/lib/model/PaymentExecuteRequest.php @@ -303,7 +303,7 @@ public function setPaymentData($payment_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,7 +315,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -328,7 +328,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -344,7 +344,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentGatewayCreationResponse.php b/lib/model/PaymentGatewayCreationResponse.php index d7ac4cc..5ba322f 100644 --- a/lib/model/PaymentGatewayCreationResponse.php +++ b/lib/model/PaymentGatewayCreationResponse.php @@ -233,7 +233,7 @@ public function setRedirectUrl($redirect_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentGatewayResponsePaymentData.php b/lib/model/PaymentGatewayResponsePaymentData.php index dcfefbb..c7161d6 100644 --- a/lib/model/PaymentGatewayResponsePaymentData.php +++ b/lib/model/PaymentGatewayResponsePaymentData.php @@ -263,7 +263,7 @@ public function setSeparateAuth($separate_auth) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -275,7 +275,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -288,7 +288,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -304,7 +304,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentMethodsResponse.php b/lib/model/PaymentMethodsResponse.php index 68c9074..85d7390 100644 --- a/lib/model/PaymentMethodsResponse.php +++ b/lib/model/PaymentMethodsResponse.php @@ -293,7 +293,7 @@ public function setSupportedPaymentMethods($supported_payment_methods) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -305,7 +305,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -318,7 +318,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -334,7 +334,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentPatchRequest.php b/lib/model/PaymentPatchRequest.php index ed98f39..cbdcb62 100644 --- a/lib/model/PaymentPatchRequest.php +++ b/lib/model/PaymentPatchRequest.php @@ -299,7 +299,7 @@ public function setPaymentData($payment_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -311,7 +311,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -324,7 +324,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -340,7 +340,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequest.php b/lib/model/PaymentRequest.php index 2299a32..3fde7be 100644 --- a/lib/model/PaymentRequest.php +++ b/lib/model/PaymentRequest.php @@ -503,7 +503,7 @@ public function setReturnUrls($return_urls) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -515,7 +515,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -528,7 +528,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -544,7 +544,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestCard.php b/lib/model/PaymentRequestCard.php index ab66487..08cea6e 100644 --- a/lib/model/PaymentRequestCard.php +++ b/lib/model/PaymentRequestCard.php @@ -444,7 +444,7 @@ public function setSecurityCode($security_code) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -456,7 +456,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -469,7 +469,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -485,7 +485,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestCardAccount.php b/lib/model/PaymentRequestCardAccount.php index c688f65..2b9eee1 100644 --- a/lib/model/PaymentRequestCardAccount.php +++ b/lib/model/PaymentRequestCardAccount.php @@ -368,7 +368,7 @@ public function setToken($token) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -380,7 +380,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -393,7 +393,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -409,7 +409,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestCryptocurrencyAccount.php b/lib/model/PaymentRequestCryptocurrencyAccount.php index d01a5f6..4b52c65 100644 --- a/lib/model/PaymentRequestCryptocurrencyAccount.php +++ b/lib/model/PaymentRequestCryptocurrencyAccount.php @@ -218,7 +218,7 @@ public function setRollbackAddress($rollback_address) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -230,7 +230,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -243,7 +243,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -259,7 +259,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestCustomer.php b/lib/model/PaymentRequestCustomer.php index 788c414..0ff6f91 100644 --- a/lib/model/PaymentRequestCustomer.php +++ b/lib/model/PaymentRequestCustomer.php @@ -728,7 +728,7 @@ public function setWorkPhone($work_phone) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -740,7 +740,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -753,7 +753,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -769,7 +769,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestEWalletAccount.php b/lib/model/PaymentRequestEWalletAccount.php index 585854b..8294730 100644 --- a/lib/model/PaymentRequestEWalletAccount.php +++ b/lib/model/PaymentRequestEWalletAccount.php @@ -341,7 +341,7 @@ public function setVerificationCode($verification_code) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -353,7 +353,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -366,7 +366,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -382,7 +382,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestLivingAddress.php b/lib/model/PaymentRequestLivingAddress.php index 0300420..9181595 100644 --- a/lib/model/PaymentRequestLivingAddress.php +++ b/lib/model/PaymentRequestLivingAddress.php @@ -398,7 +398,7 @@ public function setZip($zip) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -410,7 +410,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -423,7 +423,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -439,7 +439,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestMerchantOrder.php b/lib/model/PaymentRequestMerchantOrder.php index 6e7d8fb..eecbdae 100644 --- a/lib/model/PaymentRequestMerchantOrder.php +++ b/lib/model/PaymentRequestMerchantOrder.php @@ -389,7 +389,7 @@ public function setShippingAddress($shipping_address) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -401,7 +401,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -414,7 +414,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -430,7 +430,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentRequestPaymentData.php b/lib/model/PaymentRequestPaymentData.php index c6a7e7f..67c6c34 100644 --- a/lib/model/PaymentRequestPaymentData.php +++ b/lib/model/PaymentRequestPaymentData.php @@ -709,7 +709,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -721,7 +721,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -734,7 +734,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -750,7 +750,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentResponse.php b/lib/model/PaymentResponse.php index d8a56fd..a463066 100644 --- a/lib/model/PaymentResponse.php +++ b/lib/model/PaymentResponse.php @@ -323,7 +323,7 @@ public function setCardAccount($card_account) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentResponseCardAccount.php b/lib/model/PaymentResponseCardAccount.php index b82f944..b95abd3 100644 --- a/lib/model/PaymentResponseCardAccount.php +++ b/lib/model/PaymentResponseCardAccount.php @@ -515,7 +515,7 @@ public function setToken($token) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -527,7 +527,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -540,7 +540,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -556,7 +556,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentResponseCryptocurrencyAccount.php b/lib/model/PaymentResponseCryptocurrencyAccount.php index 7ca0ef8..7c976cb 100644 --- a/lib/model/PaymentResponseCryptocurrencyAccount.php +++ b/lib/model/PaymentResponseCryptocurrencyAccount.php @@ -293,7 +293,7 @@ public function setPrcCurrency($prc_currency) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -305,7 +305,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -318,7 +318,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -334,7 +334,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentResponseCustomer.php b/lib/model/PaymentResponseCustomer.php index 1a8e8eb..6d32100 100644 --- a/lib/model/PaymentResponseCustomer.php +++ b/lib/model/PaymentResponseCustomer.php @@ -473,7 +473,7 @@ public function setWorkPhone($work_phone) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -485,7 +485,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -498,7 +498,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -514,7 +514,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentResponsePaymentData.php b/lib/model/PaymentResponsePaymentData.php index 02284b8..42312d1 100644 --- a/lib/model/PaymentResponsePaymentData.php +++ b/lib/model/PaymentResponsePaymentData.php @@ -801,7 +801,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -813,7 +813,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -826,7 +826,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -842,7 +842,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentUpdateRequest.php b/lib/model/PaymentUpdateRequest.php index 7da8e65..7a31d59 100644 --- a/lib/model/PaymentUpdateRequest.php +++ b/lib/model/PaymentUpdateRequest.php @@ -303,7 +303,7 @@ public function setPaymentData($payment_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,7 +315,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -328,7 +328,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -344,7 +344,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentUpdateResponse.php b/lib/model/PaymentUpdateResponse.php index 543fe14..d6d79ee 100644 --- a/lib/model/PaymentUpdateResponse.php +++ b/lib/model/PaymentUpdateResponse.php @@ -297,7 +297,7 @@ public function setPaymentData($payment_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,7 +309,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -322,7 +322,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -338,7 +338,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentUpdateTransactionData.php b/lib/model/PaymentUpdateTransactionData.php index db43863..652cf0e 100644 --- a/lib/model/PaymentUpdateTransactionData.php +++ b/lib/model/PaymentUpdateTransactionData.php @@ -267,7 +267,7 @@ public function setStatusTo($status_to) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,7 +279,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -292,7 +292,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -308,7 +308,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PaymentsList.php b/lib/model/PaymentsList.php index 73376aa..2701512 100644 --- a/lib/model/PaymentsList.php +++ b/lib/model/PaymentsList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutCallback.php b/lib/model/PayoutCallback.php index d45ff88..ba3b05f 100644 --- a/lib/model/PayoutCallback.php +++ b/lib/model/PayoutCallback.php @@ -443,7 +443,7 @@ public function setPayoutData($payout_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -455,7 +455,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -468,7 +468,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -484,7 +484,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutCreationResponse.php b/lib/model/PayoutCreationResponse.php index b105f20..394bdf8 100644 --- a/lib/model/PayoutCreationResponse.php +++ b/lib/model/PayoutCreationResponse.php @@ -178,7 +178,7 @@ public function valid() * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -190,7 +190,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -203,7 +203,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -219,7 +219,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutPaymentData.php b/lib/model/PayoutPaymentData.php index 27e7060..2958b15 100644 --- a/lib/model/PayoutPaymentData.php +++ b/lib/model/PayoutPaymentData.php @@ -221,7 +221,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -233,7 +233,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -246,7 +246,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -262,7 +262,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequest.php b/lib/model/PayoutRequest.php index 017c90e..f994836 100644 --- a/lib/model/PayoutRequest.php +++ b/lib/model/PayoutRequest.php @@ -470,7 +470,7 @@ public function setPayoutData($payout_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -482,7 +482,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -495,7 +495,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -511,7 +511,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestCard.php b/lib/model/PayoutRequestCard.php index 531c7d4..4ac4d50 100644 --- a/lib/model/PayoutRequestCard.php +++ b/lib/model/PayoutRequestCard.php @@ -260,7 +260,7 @@ public function setPan($pan) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -272,7 +272,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -285,7 +285,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -301,7 +301,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestCardAccount.php b/lib/model/PayoutRequestCardAccount.php index 81ad6ad..5996714 100644 --- a/lib/model/PayoutRequestCardAccount.php +++ b/lib/model/PayoutRequestCardAccount.php @@ -329,7 +329,7 @@ public function setToken($token) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -341,7 +341,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -354,7 +354,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -370,7 +370,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestCryptocurrencyAccount.php b/lib/model/PayoutRequestCryptocurrencyAccount.php index 1b3abe4..d078e3a 100644 --- a/lib/model/PayoutRequestCryptocurrencyAccount.php +++ b/lib/model/PayoutRequestCryptocurrencyAccount.php @@ -218,7 +218,7 @@ public function setCryptoAddress($crypto_address) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -230,7 +230,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -243,7 +243,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -259,7 +259,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestCustomer.php b/lib/model/PayoutRequestCustomer.php index 283334c..fc56e0c 100644 --- a/lib/model/PayoutRequestCustomer.php +++ b/lib/model/PayoutRequestCustomer.php @@ -617,7 +617,7 @@ public function setTaxReasonCode($tax_reason_code) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -629,7 +629,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -642,7 +642,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -658,7 +658,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestEWalletAccount.php b/lib/model/PayoutRequestEWalletAccount.php index f20f9bb..1eb60a5 100644 --- a/lib/model/PayoutRequestEWalletAccount.php +++ b/lib/model/PayoutRequestEWalletAccount.php @@ -368,7 +368,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -380,7 +380,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -393,7 +393,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -409,7 +409,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestLivingAddress.php b/lib/model/PayoutRequestLivingAddress.php index c3a88a4..fa804d2 100644 --- a/lib/model/PayoutRequestLivingAddress.php +++ b/lib/model/PayoutRequestLivingAddress.php @@ -398,7 +398,7 @@ public function setZip($zip) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -410,7 +410,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -423,7 +423,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -439,7 +439,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestMerchantOrder.php b/lib/model/PayoutRequestMerchantOrder.php index ed5aea1..abb80b8 100644 --- a/lib/model/PayoutRequestMerchantOrder.php +++ b/lib/model/PayoutRequestMerchantOrder.php @@ -281,7 +281,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -293,7 +293,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -306,7 +306,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -322,7 +322,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutRequestPayoutData.php b/lib/model/PayoutRequestPayoutData.php index 9f288cf..f398f1e 100644 --- a/lib/model/PayoutRequestPayoutData.php +++ b/lib/model/PayoutRequestPayoutData.php @@ -359,7 +359,7 @@ public function setNote($note) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -371,7 +371,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -384,7 +384,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -400,7 +400,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponse.php b/lib/model/PayoutResponse.php index e4873d1..c0a271f 100644 --- a/lib/model/PayoutResponse.php +++ b/lib/model/PayoutResponse.php @@ -416,7 +416,7 @@ public function setMerchantOrder($merchant_order) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -428,7 +428,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -441,7 +441,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -457,7 +457,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponseCardAccount.php b/lib/model/PayoutResponseCardAccount.php index bbc036e..639138d 100644 --- a/lib/model/PayoutResponseCardAccount.php +++ b/lib/model/PayoutResponseCardAccount.php @@ -451,7 +451,7 @@ public function setToken($token) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -463,7 +463,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -476,7 +476,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -492,7 +492,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponseCryptocurrencyAccount.php b/lib/model/PayoutResponseCryptocurrencyAccount.php index f245d2c..200d8bf 100644 --- a/lib/model/PayoutResponseCryptocurrencyAccount.php +++ b/lib/model/PayoutResponseCryptocurrencyAccount.php @@ -293,7 +293,7 @@ public function setPrcCurrency($prc_currency) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -305,7 +305,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -318,7 +318,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -334,7 +334,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponseCustomer.php b/lib/model/PayoutResponseCustomer.php index a4b2bd1..93b059a 100644 --- a/lib/model/PayoutResponseCustomer.php +++ b/lib/model/PayoutResponseCustomer.php @@ -323,7 +323,7 @@ public function setUserAgent($user_agent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponseEWalletAccount.php b/lib/model/PayoutResponseEWalletAccount.php index e0d3381..dbc6a28 100644 --- a/lib/model/PayoutResponseEWalletAccount.php +++ b/lib/model/PayoutResponseEWalletAccount.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutResponsePayoutData.php b/lib/model/PayoutResponsePayoutData.php index 00e38ca..b85d37a 100644 --- a/lib/model/PayoutResponsePayoutData.php +++ b/lib/model/PayoutResponsePayoutData.php @@ -553,7 +553,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -565,7 +565,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -578,7 +578,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -594,7 +594,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutUpdateRequest.php b/lib/model/PayoutUpdateRequest.php index ffeb7e8..86d5c3d 100644 --- a/lib/model/PayoutUpdateRequest.php +++ b/lib/model/PayoutUpdateRequest.php @@ -236,7 +236,7 @@ public function setPayoutData($payout_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -248,7 +248,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -261,7 +261,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -277,7 +277,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutUpdateResponse.php b/lib/model/PayoutUpdateResponse.php index 65ee689..86b652e 100644 --- a/lib/model/PayoutUpdateResponse.php +++ b/lib/model/PayoutUpdateResponse.php @@ -233,7 +233,7 @@ public function setPayoutData($payout_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PayoutsList.php b/lib/model/PayoutsList.php index ed34bfc..2815dbe 100644 --- a/lib/model/PayoutsList.php +++ b/lib/model/PayoutsList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PixAccountDetailsRequest.php b/lib/model/PixAccountDetailsRequest.php index 4552db3..d1c5c0c 100644 --- a/lib/model/PixAccountDetailsRequest.php +++ b/lib/model/PixAccountDetailsRequest.php @@ -206,7 +206,7 @@ public function setCustomerIdentity($customer_identity) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -218,7 +218,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -231,7 +231,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -247,7 +247,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PixAccountDetailsResponse.php b/lib/model/PixAccountDetailsResponse.php index 6d4351d..3b274f9 100644 --- a/lib/model/PixAccountDetailsResponse.php +++ b/lib/model/PixAccountDetailsResponse.php @@ -203,7 +203,7 @@ public function setEwalletAccount($ewallet_account) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Plan.php b/lib/model/Plan.php index beb860d..615175a 100644 --- a/lib/model/Plan.php +++ b/lib/model/Plan.php @@ -218,7 +218,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -230,7 +230,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -243,7 +243,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -259,7 +259,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PlanDataList.php b/lib/model/PlanDataList.php index b3fac9a..84f1724 100644 --- a/lib/model/PlanDataList.php +++ b/lib/model/PlanDataList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PlanUpdateRequest.php b/lib/model/PlanUpdateRequest.php index 40a2d22..f80f16f 100644 --- a/lib/model/PlanUpdateRequest.php +++ b/lib/model/PlanUpdateRequest.php @@ -304,7 +304,7 @@ public function setPlanData($plan_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,7 +316,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -329,7 +329,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -345,7 +345,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PlanUpdateRequestPlanData.php b/lib/model/PlanUpdateRequestPlanData.php index de6dc82..950fda2 100644 --- a/lib/model/PlanUpdateRequestPlanData.php +++ b/lib/model/PlanUpdateRequestPlanData.php @@ -280,7 +280,7 @@ public function setStatusTo($status_to) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -292,7 +292,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -305,7 +305,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -321,7 +321,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/PlanUpdateResponse.php b/lib/model/PlanUpdateResponse.php index a75325d..a33e185 100644 --- a/lib/model/PlanUpdateResponse.php +++ b/lib/model/PlanUpdateResponse.php @@ -203,7 +203,7 @@ public function setPlanData($plan_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringCallback.php b/lib/model/RecurringCallback.php index 615cbc4..19dddbd 100644 --- a/lib/model/RecurringCallback.php +++ b/lib/model/RecurringCallback.php @@ -353,7 +353,7 @@ public function setRecurringData($recurring_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -365,7 +365,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -378,7 +378,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -394,7 +394,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringConfirm3dsRequest.php b/lib/model/RecurringConfirm3dsRequest.php index c41cae0..d2ae535 100644 --- a/lib/model/RecurringConfirm3dsRequest.php +++ b/lib/model/RecurringConfirm3dsRequest.php @@ -336,7 +336,7 @@ public function setPaRes($pa_res) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -348,7 +348,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -361,7 +361,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -377,7 +377,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringCreationRequest.php b/lib/model/RecurringCreationRequest.php index 1cf3fe8..b187d72 100644 --- a/lib/model/RecurringCreationRequest.php +++ b/lib/model/RecurringCreationRequest.php @@ -401,7 +401,7 @@ public function setReturnUrls($return_urls) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -413,7 +413,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -426,7 +426,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -442,7 +442,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringCustomer.php b/lib/model/RecurringCustomer.php index 9b4e39e..aceebb8 100644 --- a/lib/model/RecurringCustomer.php +++ b/lib/model/RecurringCustomer.php @@ -605,7 +605,7 @@ public function setWorkPhone($work_phone) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -617,7 +617,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -630,7 +630,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -646,7 +646,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringExecuteRequest.php b/lib/model/RecurringExecuteRequest.php index ee3a808..32e7b17 100644 --- a/lib/model/RecurringExecuteRequest.php +++ b/lib/model/RecurringExecuteRequest.php @@ -303,7 +303,7 @@ public function setRecurringData($recurring_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,7 +315,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -328,7 +328,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -344,7 +344,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringFilterParameters.php b/lib/model/RecurringFilterParameters.php index 7919069..fc98012 100644 --- a/lib/model/RecurringFilterParameters.php +++ b/lib/model/RecurringFilterParameters.php @@ -582,7 +582,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -594,7 +594,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -607,7 +607,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -623,7 +623,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringGatewayCreationResponse.php b/lib/model/RecurringGatewayCreationResponse.php index b5a1358..1918063 100644 --- a/lib/model/RecurringGatewayCreationResponse.php +++ b/lib/model/RecurringGatewayCreationResponse.php @@ -263,7 +263,7 @@ public function setRedirectUrl($redirect_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -275,7 +275,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -288,7 +288,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -304,7 +304,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringGatewayResponseRecurringData.php b/lib/model/RecurringGatewayResponseRecurringData.php index b130309..151063c 100644 --- a/lib/model/RecurringGatewayResponseRecurringData.php +++ b/lib/model/RecurringGatewayResponseRecurringData.php @@ -233,7 +233,7 @@ public function setSeparateAuth($separate_auth) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringPatchRequest.php b/lib/model/RecurringPatchRequest.php index c0f613b..b302a6f 100644 --- a/lib/model/RecurringPatchRequest.php +++ b/lib/model/RecurringPatchRequest.php @@ -299,7 +299,7 @@ public function setRecurringData($recurring_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -311,7 +311,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -324,7 +324,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -340,7 +340,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringPlanRequest.php b/lib/model/RecurringPlanRequest.php index 05738cd..fa35a6f 100644 --- a/lib/model/RecurringPlanRequest.php +++ b/lib/model/RecurringPlanRequest.php @@ -239,7 +239,7 @@ public function setPlanData($plan_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -251,7 +251,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -264,7 +264,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -280,7 +280,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringPlanRequestPlanData.php b/lib/model/RecurringPlanRequestPlanData.php index 54c125b..929e6c0 100644 --- a/lib/model/RecurringPlanRequestPlanData.php +++ b/lib/model/RecurringPlanRequestPlanData.php @@ -460,7 +460,7 @@ public function setRetries($retries) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -472,7 +472,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -485,7 +485,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -501,7 +501,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringPlanResponse.php b/lib/model/RecurringPlanResponse.php index 0c10125..dafeffb 100644 --- a/lib/model/RecurringPlanResponse.php +++ b/lib/model/RecurringPlanResponse.php @@ -203,7 +203,7 @@ public function setPlanData($plan_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringRequestFiling.php b/lib/model/RecurringRequestFiling.php index 8913308..1943d2f 100644 --- a/lib/model/RecurringRequestFiling.php +++ b/lib/model/RecurringRequestFiling.php @@ -218,7 +218,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -230,7 +230,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -243,7 +243,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -259,7 +259,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringRequestRecurringData.php b/lib/model/RecurringRequestRecurringData.php index 4c20e4c..a3eff41 100644 --- a/lib/model/RecurringRequestRecurringData.php +++ b/lib/model/RecurringRequestRecurringData.php @@ -711,7 +711,7 @@ public function setSubscriptionStart($subscription_start) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -723,7 +723,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -736,7 +736,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -752,7 +752,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringResponse.php b/lib/model/RecurringResponse.php index 6b5f6dd..39e7309 100644 --- a/lib/model/RecurringResponse.php +++ b/lib/model/RecurringResponse.php @@ -353,7 +353,7 @@ public function setAuthenticationData($authentication_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -365,7 +365,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -378,7 +378,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -394,7 +394,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringResponseFiling.php b/lib/model/RecurringResponseFiling.php index 9d54593..5a6a633 100644 --- a/lib/model/RecurringResponseFiling.php +++ b/lib/model/RecurringResponseFiling.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringResponseMerchantOrder.php b/lib/model/RecurringResponseMerchantOrder.php index 6ba2a2a..cccdd44 100644 --- a/lib/model/RecurringResponseMerchantOrder.php +++ b/lib/model/RecurringResponseMerchantOrder.php @@ -251,7 +251,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -263,7 +263,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -276,7 +276,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -292,7 +292,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringResponseRecurringData.php b/lib/model/RecurringResponseRecurringData.php index 4f6bdaf..e09a059 100644 --- a/lib/model/RecurringResponseRecurringData.php +++ b/lib/model/RecurringResponseRecurringData.php @@ -1047,7 +1047,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -1059,7 +1059,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -1072,7 +1072,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -1088,7 +1088,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringUpdateRequest.php b/lib/model/RecurringUpdateRequest.php index b131ee4..ae34f0c 100644 --- a/lib/model/RecurringUpdateRequest.php +++ b/lib/model/RecurringUpdateRequest.php @@ -303,7 +303,7 @@ public function setRecurringData($recurring_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,7 +315,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -328,7 +328,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -344,7 +344,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringUpdateResponse.php b/lib/model/RecurringUpdateResponse.php index 294094b..738e3f7 100644 --- a/lib/model/RecurringUpdateResponse.php +++ b/lib/model/RecurringUpdateResponse.php @@ -297,7 +297,7 @@ public function setRecurringData($recurring_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,7 +309,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -322,7 +322,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -338,7 +338,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RecurringsList.php b/lib/model/RecurringsList.php index dcf6d3b..b6b100b 100644 --- a/lib/model/RecurringsList.php +++ b/lib/model/RecurringsList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RedirectUrlResponse.php b/lib/model/RedirectUrlResponse.php index 09fe543..cf1a9c1 100644 --- a/lib/model/RedirectUrlResponse.php +++ b/lib/model/RedirectUrlResponse.php @@ -203,7 +203,7 @@ public function setRedirectUrl($redirect_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundCallback.php b/lib/model/RefundCallback.php index 9122479..ee52811 100644 --- a/lib/model/RefundCallback.php +++ b/lib/model/RefundCallback.php @@ -413,7 +413,7 @@ public function setRefundData($refund_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -425,7 +425,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -438,7 +438,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -454,7 +454,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequest.php b/lib/model/RefundRequest.php index ad26387..fd67a02 100644 --- a/lib/model/RefundRequest.php +++ b/lib/model/RefundRequest.php @@ -359,7 +359,7 @@ public function setRefundData($refund_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -371,7 +371,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -384,7 +384,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -400,7 +400,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequestCustomer.php b/lib/model/RefundRequestCustomer.php index 510af66..ad06c92 100644 --- a/lib/model/RefundRequestCustomer.php +++ b/lib/model/RefundRequestCustomer.php @@ -308,7 +308,7 @@ public function setIdentity($identity) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -320,7 +320,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -333,7 +333,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -349,7 +349,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequestEWalletAccount.php b/lib/model/RefundRequestEWalletAccount.php index ee9ddbf..3f0f85e 100644 --- a/lib/model/RefundRequestEWalletAccount.php +++ b/lib/model/RefundRequestEWalletAccount.php @@ -353,7 +353,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -365,7 +365,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -378,7 +378,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -394,7 +394,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequestMerchantOrder.php b/lib/model/RefundRequestMerchantOrder.php index e323dff..1e87617 100644 --- a/lib/model/RefundRequestMerchantOrder.php +++ b/lib/model/RefundRequestMerchantOrder.php @@ -266,7 +266,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -278,7 +278,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -291,7 +291,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -307,7 +307,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequestPaymentData.php b/lib/model/RefundRequestPaymentData.php index 8f1dd87..adc2d99 100644 --- a/lib/model/RefundRequestPaymentData.php +++ b/lib/model/RefundRequestPaymentData.php @@ -206,7 +206,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -218,7 +218,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -231,7 +231,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -247,7 +247,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundRequestRefundData.php b/lib/model/RefundRequestRefundData.php index a3ff25e..5d66df1 100644 --- a/lib/model/RefundRequestRefundData.php +++ b/lib/model/RefundRequestRefundData.php @@ -242,7 +242,7 @@ public function setCurrency($currency) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -254,7 +254,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -267,7 +267,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -283,7 +283,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponse.php b/lib/model/RefundResponse.php index 319cac2..e138e78 100644 --- a/lib/model/RefundResponse.php +++ b/lib/model/RefundResponse.php @@ -383,7 +383,7 @@ public function setMerchantOrder($merchant_order) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -395,7 +395,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -408,7 +408,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -424,7 +424,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponseCardAccount.php b/lib/model/RefundResponseCardAccount.php index 8acc960..857501f 100644 --- a/lib/model/RefundResponseCardAccount.php +++ b/lib/model/RefundResponseCardAccount.php @@ -361,7 +361,7 @@ public function setMaskedPan($masked_pan) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -373,7 +373,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -386,7 +386,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -402,7 +402,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponseCustomer.php b/lib/model/RefundResponseCustomer.php index 42fd55b..0bbcaee 100644 --- a/lib/model/RefundResponseCustomer.php +++ b/lib/model/RefundResponseCustomer.php @@ -293,7 +293,7 @@ public function setUserAgent($user_agent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -305,7 +305,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -318,7 +318,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -334,7 +334,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponseEWalletAccount.php b/lib/model/RefundResponseEWalletAccount.php index f26c6b7..b51db3e 100644 --- a/lib/model/RefundResponseEWalletAccount.php +++ b/lib/model/RefundResponseEWalletAccount.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponsePaymentData.php b/lib/model/RefundResponsePaymentData.php index 7bf84c3..d3f2da7 100644 --- a/lib/model/RefundResponsePaymentData.php +++ b/lib/model/RefundResponsePaymentData.php @@ -233,7 +233,7 @@ public function setRemainingAmount($remaining_amount) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundResponseRefundData.php b/lib/model/RefundResponseRefundData.php index 32a5102..f023104 100644 --- a/lib/model/RefundResponseRefundData.php +++ b/lib/model/RefundResponseRefundData.php @@ -583,7 +583,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -595,7 +595,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -608,7 +608,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -624,7 +624,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundUpdateRequest.php b/lib/model/RefundUpdateRequest.php index 8e12eeb..12f41e7 100644 --- a/lib/model/RefundUpdateRequest.php +++ b/lib/model/RefundUpdateRequest.php @@ -236,7 +236,7 @@ public function setRefundData($refund_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -248,7 +248,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -261,7 +261,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -277,7 +277,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundUpdateResponse.php b/lib/model/RefundUpdateResponse.php index a88db8b..c95cd5c 100644 --- a/lib/model/RefundUpdateResponse.php +++ b/lib/model/RefundUpdateResponse.php @@ -233,7 +233,7 @@ public function setRefundData($refund_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RefundsList.php b/lib/model/RefundsList.php index e67c549..68c7a2d 100644 --- a/lib/model/RefundsList.php +++ b/lib/model/RefundsList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RenamedPlanData.php b/lib/model/RenamedPlanData.php index 0b5a96e..586aa89 100644 --- a/lib/model/RenamedPlanData.php +++ b/lib/model/RenamedPlanData.php @@ -477,7 +477,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -489,7 +489,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -502,7 +502,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -518,7 +518,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Report.php b/lib/model/Report.php index ed6b924..8227845 100644 --- a/lib/model/Report.php +++ b/lib/model/Report.php @@ -507,7 +507,7 @@ public function setWebsiteName($website_name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -519,7 +519,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -532,7 +532,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -548,7 +548,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ReportsData.php b/lib/model/ReportsData.php index f301e33..712f8a5 100644 --- a/lib/model/ReportsData.php +++ b/lib/model/ReportsData.php @@ -266,7 +266,7 @@ public function setStartDate($start_date) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -278,7 +278,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -291,7 +291,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -307,7 +307,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ReportsRequest.php b/lib/model/ReportsRequest.php index d719571..2befde7 100644 --- a/lib/model/ReportsRequest.php +++ b/lib/model/ReportsRequest.php @@ -284,7 +284,7 @@ public function setRequest($request) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -296,7 +296,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -309,7 +309,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -325,7 +325,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ReportsResponse.php b/lib/model/ReportsResponse.php index 5e49041..46a0958 100644 --- a/lib/model/ReportsResponse.php +++ b/lib/model/ReportsResponse.php @@ -323,7 +323,7 @@ public function setSize($size) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -335,7 +335,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -348,7 +348,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -364,7 +364,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Request.php b/lib/model/Request.php index b96eb96..9c0069f 100644 --- a/lib/model/Request.php +++ b/lib/model/Request.php @@ -254,7 +254,7 @@ public function setTime($time) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -266,7 +266,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -279,7 +279,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -295,7 +295,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/RequestUpdatedTransactionData.php b/lib/model/RequestUpdatedTransactionData.php index a001551..50624d1 100644 --- a/lib/model/RequestUpdatedTransactionData.php +++ b/lib/model/RequestUpdatedTransactionData.php @@ -240,7 +240,7 @@ public function setStatusTo($status_to) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -252,7 +252,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -265,7 +265,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -281,7 +281,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ResponsePlanData.php b/lib/model/ResponsePlanData.php index c547b3e..47a0e54 100644 --- a/lib/model/ResponsePlanData.php +++ b/lib/model/ResponsePlanData.php @@ -513,7 +513,7 @@ public function setRetries($retries) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -525,7 +525,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -538,7 +538,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -554,7 +554,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ResponseUpdatedTransactionData.php b/lib/model/ResponseUpdatedTransactionData.php index f4bc29f..6689968 100644 --- a/lib/model/ResponseUpdatedTransactionData.php +++ b/lib/model/ResponseUpdatedTransactionData.php @@ -437,7 +437,7 @@ public function setUpdated($updated) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -449,7 +449,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -462,7 +462,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -478,7 +478,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ReturnUrls.php b/lib/model/ReturnUrls.php index 6edb109..89a1478 100644 --- a/lib/model/ReturnUrls.php +++ b/lib/model/ReturnUrls.php @@ -398,7 +398,7 @@ public function setSuccessUrl($success_url) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -410,7 +410,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -423,7 +423,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -439,7 +439,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ScheduledByMerchantData.php b/lib/model/ScheduledByMerchantData.php index 5c573a6..9f98d76 100644 --- a/lib/model/ScheduledByMerchantData.php +++ b/lib/model/ScheduledByMerchantData.php @@ -640,7 +640,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -652,7 +652,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -665,7 +665,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -681,7 +681,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ScheduledData.php b/lib/model/ScheduledData.php index 6e355c7..0f8539f 100644 --- a/lib/model/ScheduledData.php +++ b/lib/model/ScheduledData.php @@ -646,7 +646,7 @@ public function setTransType($trans_type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -658,7 +658,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -671,7 +671,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -687,7 +687,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ShippingAddress.php b/lib/model/ShippingAddress.php index 476c760..fb93849 100644 --- a/lib/model/ShippingAddress.php +++ b/lib/model/ShippingAddress.php @@ -435,7 +435,7 @@ public function setZip($zip) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -447,7 +447,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -460,7 +460,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -476,7 +476,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/Subscription.php b/lib/model/Subscription.php index 35e59f2..755bf62 100644 --- a/lib/model/Subscription.php +++ b/lib/model/Subscription.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionCustomer.php b/lib/model/SubscriptionCustomer.php index 8c493aa..8bc2640 100644 --- a/lib/model/SubscriptionCustomer.php +++ b/lib/model/SubscriptionCustomer.php @@ -233,7 +233,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionFilterParameters.php b/lib/model/SubscriptionFilterParameters.php index c878d31..3133331 100644 --- a/lib/model/SubscriptionFilterParameters.php +++ b/lib/model/SubscriptionFilterParameters.php @@ -670,7 +670,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -682,7 +682,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -695,7 +695,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -711,7 +711,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionGetResponse.php b/lib/model/SubscriptionGetResponse.php index e6f7165..ae7075a 100644 --- a/lib/model/SubscriptionGetResponse.php +++ b/lib/model/SubscriptionGetResponse.php @@ -799,7 +799,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -811,7 +811,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -824,7 +824,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -840,7 +840,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionGetResponsePlan.php b/lib/model/SubscriptionGetResponsePlan.php index e4ff6b4..fb61b26 100644 --- a/lib/model/SubscriptionGetResponsePlan.php +++ b/lib/model/SubscriptionGetResponsePlan.php @@ -203,7 +203,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionList.php b/lib/model/SubscriptionList.php index 39ec8ec..82c246f 100644 --- a/lib/model/SubscriptionList.php +++ b/lib/model/SubscriptionList.php @@ -233,7 +233,7 @@ public function setHasMore($has_more) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionUpdateRequest.php b/lib/model/SubscriptionUpdateRequest.php index 657f304..469d3a0 100644 --- a/lib/model/SubscriptionUpdateRequest.php +++ b/lib/model/SubscriptionUpdateRequest.php @@ -306,7 +306,7 @@ public function setSubscriptionData($subscription_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -318,7 +318,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -331,7 +331,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -347,7 +347,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionUpdateRequestSubscriptionData.php b/lib/model/SubscriptionUpdateRequestSubscriptionData.php index 76fdf7d..bcc0aec 100644 --- a/lib/model/SubscriptionUpdateRequestSubscriptionData.php +++ b/lib/model/SubscriptionUpdateRequestSubscriptionData.php @@ -277,7 +277,7 @@ public function setStatusTo($status_to) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -289,7 +289,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -302,7 +302,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -318,7 +318,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SubscriptionUpdateResponse.php b/lib/model/SubscriptionUpdateResponse.php index 2adac9e..20c654a 100644 --- a/lib/model/SubscriptionUpdateResponse.php +++ b/lib/model/SubscriptionUpdateResponse.php @@ -203,7 +203,7 @@ public function setSubscriptionData($subscription_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -215,7 +215,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -228,7 +228,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -244,7 +244,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/SupportedPaymentMethod.php b/lib/model/SupportedPaymentMethod.php index 3f04410..5835ac4 100644 --- a/lib/model/SupportedPaymentMethod.php +++ b/lib/model/SupportedPaymentMethod.php @@ -233,7 +233,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ThreeDSecureData.php b/lib/model/ThreeDSecureData.php index 152f7b9..7b67b02 100644 --- a/lib/model/ThreeDSecureData.php +++ b/lib/model/ThreeDSecureData.php @@ -410,7 +410,7 @@ public function setXid($xid) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -422,7 +422,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -435,7 +435,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -451,7 +451,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/ThreeDSecureResponse.php b/lib/model/ThreeDSecureResponse.php index bf0b1b8..00976cc 100644 --- a/lib/model/ThreeDSecureResponse.php +++ b/lib/model/ThreeDSecureResponse.php @@ -593,7 +593,7 @@ public function setXid($xid) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -605,7 +605,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -618,7 +618,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -634,7 +634,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/TransactionMethodsList.php b/lib/model/TransactionMethodsList.php index e113abc..886673b 100644 --- a/lib/model/TransactionMethodsList.php +++ b/lib/model/TransactionMethodsList.php @@ -233,7 +233,7 @@ public function setPayoutMethods($payout_methods) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/TransactionRequest.php b/lib/model/TransactionRequest.php index fb5a980..fb91937 100644 --- a/lib/model/TransactionRequest.php +++ b/lib/model/TransactionRequest.php @@ -206,7 +206,7 @@ public function setRequest($request) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -218,7 +218,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -231,7 +231,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -247,7 +247,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/TransactionResponseEWalletAccount.php b/lib/model/TransactionResponseEWalletAccount.php index a883935..396a7d4 100644 --- a/lib/model/TransactionResponseEWalletAccount.php +++ b/lib/model/TransactionResponseEWalletAccount.php @@ -233,7 +233,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/TransactionResponseMerchantOrder.php b/lib/model/TransactionResponseMerchantOrder.php index 241d6ff..b2ebafc 100644 --- a/lib/model/TransactionResponseMerchantOrder.php +++ b/lib/model/TransactionResponseMerchantOrder.php @@ -251,7 +251,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -263,7 +263,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -276,7 +276,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -292,7 +292,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/TransactionUpdateRequest.php b/lib/model/TransactionUpdateRequest.php index cbcc9fa..aad1360 100644 --- a/lib/model/TransactionUpdateRequest.php +++ b/lib/model/TransactionUpdateRequest.php @@ -236,7 +236,7 @@ public function setTransactionData($transaction_data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -248,7 +248,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -261,7 +261,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -277,7 +277,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/UpdatedPlanData.php b/lib/model/UpdatedPlanData.php index a640146..cae0557 100644 --- a/lib/model/UpdatedPlanData.php +++ b/lib/model/UpdatedPlanData.php @@ -477,7 +477,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -489,7 +489,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -502,7 +502,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -518,7 +518,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/UpdatedSubscriptionData.php b/lib/model/UpdatedSubscriptionData.php index 1219356..18a174c 100644 --- a/lib/model/UpdatedSubscriptionData.php +++ b/lib/model/UpdatedSubscriptionData.php @@ -561,7 +561,7 @@ public function setUpdated($updated) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -573,7 +573,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -586,7 +586,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -602,7 +602,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } diff --git a/lib/model/UpdatedSubscriptionRecurringData.php b/lib/model/UpdatedSubscriptionRecurringData.php index 4a84a33..019b0b7 100644 --- a/lib/model/UpdatedSubscriptionRecurringData.php +++ b/lib/model/UpdatedSubscriptionRecurringData.php @@ -233,7 +233,7 @@ public function setSeparateAuth($separate_auth) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -245,7 +245,7 @@ public function offsetExists($offset) * * @return mixed */ - public function offsetGet($offset) + public function offsetGet($offset): mixed { return isset($this->container[$offset]) ? $this->container[$offset] : null; } @@ -258,7 +258,7 @@ public function offsetGet($offset) * * @return void */ - public function offsetSet($offset, $value) + public function offsetSet($offset, $value): void { if (is_null($offset)) { $this->container[] = $value; @@ -274,7 +274,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); }