From d7577cdb575b3f8d755f5738250fb3d5b6e6ca8b Mon Sep 17 00:00:00 2001 From: ruby Date: Tue, 25 Jul 2023 16:49:24 +0200 Subject: [PATCH 1/2] Fix PHP 8.1 incompatibility issues in SDK --- README.md | 2 +- composer.json | 2 +- lib/Configuration.php | 4 ++-- lib/Model/APIError.php | 7 ++++--- lib/Model/AcceptCouponEffectProps.php | 7 ++++--- lib/Model/AcceptReferralEffectProps.php | 7 ++++--- lib/Model/AccessLogEntry.php | 7 ++++--- lib/Model/Account.php | 7 ++++--- lib/Model/AccountAdditionalCost.php | 7 ++++--- lib/Model/AccountAnalytics.php | 7 ++++--- lib/Model/AccountDashboardStatistic.php | 7 ++++--- lib/Model/AccountDashboardStatisticApiCalls.php | 7 ++++--- lib/Model/AccountDashboardStatisticCampaigns.php | 7 ++++--- lib/Model/AccountDashboardStatisticDiscount.php | 7 ++++--- lib/Model/AccountDashboardStatisticLoyaltyPoints.php | 7 ++++--- lib/Model/AccountDashboardStatisticReferrals.php | 7 ++++--- lib/Model/AccountDashboardStatisticRevenue.php | 7 ++++--- lib/Model/AccountEntity.php | 7 ++++--- lib/Model/AccountLimits.php | 7 ++++--- lib/Model/AddFreeItemEffectProps.php | 7 ++++--- lib/Model/AddItemCatalogAction.php | 7 ++++--- lib/Model/AddLoyaltyPoints.php | 7 ++++--- lib/Model/AddLoyaltyPointsEffectProps.php | 7 ++++--- lib/Model/AddedDeductedPointsNotificationPolicy.php | 7 ++++--- lib/Model/AdditionalCost.php | 7 ++++--- lib/Model/Application.php | 7 ++++--- lib/Model/ApplicationAPIKey.php | 7 ++++--- lib/Model/ApplicationApiHealth.php | 7 ++++--- lib/Model/ApplicationCampaignStats.php | 7 ++++--- lib/Model/ApplicationCustomer.php | 7 ++++--- lib/Model/ApplicationCustomerEntity.php | 7 ++++--- lib/Model/ApplicationEntity.php | 7 ++++--- lib/Model/ApplicationEvent.php | 7 ++++--- lib/Model/ApplicationNotification.php | 7 ++++--- lib/Model/ApplicationReferee.php | 7 ++++--- lib/Model/ApplicationSession.php | 7 ++++--- lib/Model/ApplicationSessionEntity.php | 7 ++++--- lib/Model/AsyncCouponCreationResponse.php | 7 ++++--- lib/Model/Attribute.php | 7 ++++--- lib/Model/AttributesMandatory.php | 7 ++++--- lib/Model/AttributesSettings.php | 7 ++++--- lib/Model/Audience.php | 7 ++++--- lib/Model/AudienceAnalytics.php | 7 ++++--- lib/Model/AudienceCustomer.php | 7 ++++--- lib/Model/AudienceIntegrationID.php | 7 ++++--- lib/Model/AudienceMembership.php | 7 ++++--- lib/Model/AwardGiveawayEffectProps.php | 7 ++++--- lib/Model/BaseLoyaltyProgram.php | 7 ++++--- lib/Model/BaseNotification.php | 7 ++++--- lib/Model/BaseNotificationEntity.php | 7 ++++--- lib/Model/BaseNotificationWebhook.php | 7 ++++--- lib/Model/BaseNotifications.php | 7 ++++--- lib/Model/BaseSamlConnection.php | 7 ++++--- lib/Model/Binding.php | 7 ++++--- lib/Model/BulkApplicationNotification.php | 7 ++++--- lib/Model/BulkCampaignNotification.php | 7 ++++--- lib/Model/Campaign.php | 9 +++++---- lib/Model/CampaignActivationRequest.php | 7 ++++--- lib/Model/CampaignAnalytics.php | 7 ++++--- lib/Model/CampaignCollection.php | 7 ++++--- lib/Model/CampaignCollectionWithoutPayload.php | 7 ++++--- lib/Model/CampaignCopy.php | 7 ++++--- lib/Model/CampaignCreatedNotification.php | 7 ++++--- lib/Model/CampaignDeletedNotification.php | 7 ++++--- lib/Model/CampaignEditedNotification.php | 7 ++++--- lib/Model/CampaignEntity.php | 7 ++++--- lib/Model/CampaignGroup.php | 7 ++++--- lib/Model/CampaignGroupEntity.php | 7 ++++--- lib/Model/CampaignNotification.php | 7 ++++--- lib/Model/CampaignPrioritiesChangedNotification.php | 7 ++++--- lib/Model/CampaignPrioritiesV2.php | 7 ++++--- lib/Model/CampaignRulesetChangedNotification.php | 7 ++++--- lib/Model/CampaignSearch.php | 7 ++++--- lib/Model/CampaignSet.php | 7 ++++--- lib/Model/CampaignSetBranchNode.php | 7 ++++--- lib/Model/CampaignSetIDs.php | 7 ++++--- lib/Model/CampaignSetLeafNode.php | 7 ++++--- lib/Model/CampaignSetNode.php | 7 ++++--- lib/Model/CampaignSetV2.php | 7 ++++--- lib/Model/CampaignStateChangedNotification.php | 7 ++++--- lib/Model/CampaignTemplate.php | 7 ++++--- lib/Model/CampaignTemplateCollection.php | 7 ++++--- lib/Model/CampaignTemplateParams.php | 7 ++++--- lib/Model/CardLedgerTransactionLogEntry.php | 7 ++++--- .../CardLedgerTransactionLogEntryIntegrationAPI.php | 7 ++++--- lib/Model/CartItem.php | 7 ++++--- lib/Model/Catalog.php | 7 ++++--- lib/Model/CatalogAction.php | 7 ++++--- lib/Model/CatalogActionFilter.php | 7 ++++--- lib/Model/CatalogItem.php | 7 ++++--- lib/Model/CatalogSyncRequest.php | 7 ++++--- lib/Model/CatalogsStrikethroughNotificationPolicy.php | 7 ++++--- lib/Model/Change.php | 7 ++++--- lib/Model/ChangeProfilePassword.php | 7 ++++--- lib/Model/CodeGeneratorSettings.php | 7 ++++--- lib/Model/Collection.php | 7 ++++--- lib/Model/CollectionItem.php | 7 ++++--- lib/Model/CollectionWithoutPayload.php | 7 ++++--- lib/Model/Coupon.php | 7 ++++--- lib/Model/CouponConstraints.php | 7 ++++--- lib/Model/CouponCreatedEffectProps.php | 7 ++++--- lib/Model/CouponCreationJob.php | 7 ++++--- lib/Model/CouponLimitConfigs.php | 7 ++++--- lib/Model/CouponRejectionReason.php | 7 ++++--- lib/Model/CouponReservations.php | 7 ++++--- lib/Model/CouponSearch.php | 7 ++++--- lib/Model/CouponValue.php | 7 ++++--- lib/Model/CouponsNotificationPolicy.php | 7 ++++--- lib/Model/CreateApplicationAPIKey.php | 7 ++++--- lib/Model/CreateManagementKey.php | 7 ++++--- lib/Model/CreateTemplateCampaign.php | 9 +++++---- lib/Model/CreateTemplateCampaignResponse.php | 7 ++++--- lib/Model/CustomEffect.php | 7 ++++--- lib/Model/CustomEffectProps.php | 7 ++++--- lib/Model/CustomerActivityReport.php | 7 ++++--- lib/Model/CustomerAnalytics.php | 7 ++++--- lib/Model/CustomerInventory.php | 7 ++++--- lib/Model/CustomerProfile.php | 7 ++++--- lib/Model/CustomerProfileAudienceRequest.php | 7 ++++--- lib/Model/CustomerProfileAudienceRequestItem.php | 7 ++++--- lib/Model/CustomerProfileIntegrationRequestV2.php | 7 ++++--- lib/Model/CustomerProfileSearchQuery.php | 7 ++++--- lib/Model/CustomerProfileUpdateV2Response.php | 7 ++++--- lib/Model/CustomerSession.php | 7 ++++--- lib/Model/CustomerSessionV2.php | 7 ++++--- lib/Model/DeductLoyaltyPoints.php | 7 ++++--- lib/Model/DeductLoyaltyPointsEffectProps.php | 7 ++++--- lib/Model/Effect.php | 7 ++++--- lib/Model/EffectEntity.php | 7 ++++--- lib/Model/EmailEntity.php | 7 ++++--- lib/Model/Endpoint.php | 7 ++++--- lib/Model/Entity.php | 7 ++++--- lib/Model/EntityWithTalangVisibleID.php | 7 ++++--- lib/Model/Environment.php | 7 ++++--- lib/Model/ErrorEffectProps.php | 7 ++++--- lib/Model/ErrorResponse.php | 7 ++++--- lib/Model/ErrorResponseWithStatus.php | 7 ++++--- lib/Model/ErrorSource.php | 7 ++++--- lib/Model/EvaluableCampaignIds.php | 7 ++++--- lib/Model/Event.php | 7 ++++--- lib/Model/EventType.php | 7 ++++--- lib/Model/EventV2.php | 7 ++++--- lib/Model/ExpiringPointsNotificationPolicy.php | 7 ++++--- lib/Model/ExpiringPointsNotificationTrigger.php | 7 ++++--- lib/Model/Export.php | 7 ++++--- lib/Model/FeatureFlag.php | 7 ++++--- lib/Model/FeaturesFeed.php | 7 ++++--- lib/Model/FeedNotification.php | 7 ++++--- lib/Model/FuncArgDef.php | 7 ++++--- lib/Model/FunctionDef.php | 7 ++++--- lib/Model/Giveaway.php | 7 ++++--- lib/Model/GiveawaysPool.php | 7 ++++--- lib/Model/Import.php | 7 ++++--- lib/Model/ImportEntity.php | 7 ++++--- lib/Model/InlineResponse200.php | 7 ++++--- lib/Model/InlineResponse2001.php | 7 ++++--- lib/Model/InlineResponse20010.php | 7 ++++--- lib/Model/InlineResponse20011.php | 7 ++++--- lib/Model/InlineResponse20012.php | 7 ++++--- lib/Model/InlineResponse20013.php | 7 ++++--- lib/Model/InlineResponse20014.php | 7 ++++--- lib/Model/InlineResponse20015.php | 7 ++++--- lib/Model/InlineResponse20016.php | 7 ++++--- lib/Model/InlineResponse20017.php | 7 ++++--- lib/Model/InlineResponse20018.php | 7 ++++--- lib/Model/InlineResponse20019.php | 7 ++++--- lib/Model/InlineResponse2002.php | 7 ++++--- lib/Model/InlineResponse20020.php | 7 ++++--- lib/Model/InlineResponse20021.php | 7 ++++--- lib/Model/InlineResponse20022.php | 7 ++++--- lib/Model/InlineResponse20023.php | 7 ++++--- lib/Model/InlineResponse20024.php | 7 ++++--- lib/Model/InlineResponse20025.php | 7 ++++--- lib/Model/InlineResponse20026.php | 7 ++++--- lib/Model/InlineResponse20027.php | 7 ++++--- lib/Model/InlineResponse20028.php | 7 ++++--- lib/Model/InlineResponse20029.php | 7 ++++--- lib/Model/InlineResponse2003.php | 7 ++++--- lib/Model/InlineResponse20030.php | 7 ++++--- lib/Model/InlineResponse20031.php | 7 ++++--- lib/Model/InlineResponse20032.php | 7 ++++--- lib/Model/InlineResponse20033.php | 7 ++++--- lib/Model/InlineResponse20034.php | 7 ++++--- lib/Model/InlineResponse20035.php | 7 ++++--- lib/Model/InlineResponse20036.php | 7 ++++--- lib/Model/InlineResponse20037.php | 7 ++++--- lib/Model/InlineResponse20038.php | 7 ++++--- lib/Model/InlineResponse20039.php | 7 ++++--- lib/Model/InlineResponse2004.php | 7 ++++--- lib/Model/InlineResponse20040.php | 7 ++++--- lib/Model/InlineResponse2005.php | 7 ++++--- lib/Model/InlineResponse2006.php | 7 ++++--- lib/Model/InlineResponse2007.php | 7 ++++--- lib/Model/InlineResponse2008.php | 7 ++++--- lib/Model/InlineResponse2009.php | 7 ++++--- lib/Model/InlineResponse201.php | 7 ++++--- lib/Model/IntegrationCoupon.php | 7 ++++--- lib/Model/IntegrationCustomerSessionResponse.php | 7 ++++--- lib/Model/IntegrationEntity.php | 7 ++++--- lib/Model/IntegrationEvent.php | 7 ++++--- lib/Model/IntegrationEventV2Request.php | 7 ++++--- lib/Model/IntegrationProfileEntity.php | 7 ++++--- lib/Model/IntegrationRequest.php | 7 ++++--- lib/Model/IntegrationState.php | 7 ++++--- lib/Model/IntegrationStateV2.php | 7 ++++--- lib/Model/InventoryCoupon.php | 7 ++++--- lib/Model/InventoryReferral.php | 7 ++++--- lib/Model/ItemAttribute.php | 7 ++++--- lib/Model/LedgerEntry.php | 7 ++++--- lib/Model/LedgerInfo.php | 7 ++++--- lib/Model/LedgerTransactionLogEntryIntegrationAPI.php | 7 ++++--- lib/Model/LibraryAttribute.php | 7 ++++--- lib/Model/LimitConfig.php | 7 ++++--- lib/Model/LimitCounter.php | 7 ++++--- lib/Model/LoginParams.php | 7 ++++--- lib/Model/Loyalty.php | 7 ++++--- lib/Model/LoyaltyBalance.php | 7 ++++--- lib/Model/LoyaltyBalances.php | 7 ++++--- lib/Model/LoyaltyCard.php | 7 ++++--- lib/Model/LoyaltyCardProfileRegistration.php | 7 ++++--- lib/Model/LoyaltyCardRegistration.php | 7 ++++--- lib/Model/LoyaltyDashboardData.php | 7 ++++--- lib/Model/LoyaltyDashboardPointsBreakdown.php | 7 ++++--- lib/Model/LoyaltyLedger.php | 7 ++++--- lib/Model/LoyaltyLedgerEntry.php | 7 ++++--- lib/Model/LoyaltyLedgerTransactions.php | 7 ++++--- lib/Model/LoyaltyMembership.php | 7 ++++--- lib/Model/LoyaltyProgram.php | 7 ++++--- lib/Model/LoyaltyProgramBalance.php | 7 ++++--- lib/Model/LoyaltyProgramEntity.php | 7 ++++--- lib/Model/LoyaltyProgramLedgers.php | 7 ++++--- lib/Model/LoyaltyProgramTransaction.php | 7 ++++--- lib/Model/LoyaltyStatistics.php | 7 ++++--- lib/Model/LoyaltySubLedger.php | 7 ++++--- lib/Model/LoyaltyTier.php | 7 ++++--- lib/Model/ManagementKey.php | 7 ++++--- lib/Model/ManagerConfig.php | 7 ++++--- lib/Model/Meta.php | 7 ++++--- lib/Model/ModelReturn.php | 7 ++++--- lib/Model/MultiApplicationEntity.php | 7 ++++--- lib/Model/MultipleAttribute.php | 7 ++++--- lib/Model/MultipleAudiences.php | 7 ++++--- lib/Model/MultipleAudiencesItem.php | 7 ++++--- lib/Model/MultipleCustomerProfileIntegrationRequest.php | 7 ++++--- .../MultipleCustomerProfileIntegrationRequestItem.php | 7 ++++--- .../MultipleCustomerProfileIntegrationResponseV2.php | 7 ++++--- lib/Model/MultipleNewAttribute.php | 7 ++++--- lib/Model/MultipleNewAudiences.php | 7 ++++--- lib/Model/MutableEntity.php | 7 ++++--- lib/Model/NewAccount.php | 7 ++++--- lib/Model/NewAccountSignUp.php | 7 ++++--- lib/Model/NewAdditionalCost.php | 7 ++++--- lib/Model/NewApplication.php | 7 ++++--- lib/Model/NewApplicationAPIKey.php | 7 ++++--- lib/Model/NewAttribute.php | 7 ++++--- lib/Model/NewAudience.php | 7 ++++--- lib/Model/NewBaseNotification.php | 7 ++++--- lib/Model/NewCampaign.php | 9 +++++---- lib/Model/NewCampaignCollection.php | 7 ++++--- lib/Model/NewCampaignGroup.php | 7 ++++--- lib/Model/NewCampaignSet.php | 7 ++++--- lib/Model/NewCampaignSetV2.php | 7 ++++--- lib/Model/NewCampaignTemplate.php | 7 ++++--- lib/Model/NewCatalog.php | 7 ++++--- lib/Model/NewCollection.php | 7 ++++--- lib/Model/NewCouponCreationJob.php | 7 ++++--- lib/Model/NewCoupons.php | 7 ++++--- lib/Model/NewCouponsForMultipleRecipients.php | 7 ++++--- lib/Model/NewCustomEffect.php | 7 ++++--- lib/Model/NewCustomerProfile.php | 7 ++++--- lib/Model/NewCustomerSession.php | 7 ++++--- lib/Model/NewCustomerSessionV2.php | 7 ++++--- lib/Model/NewEvent.php | 7 ++++--- lib/Model/NewEventType.php | 7 ++++--- lib/Model/NewGiveawaysPool.php | 7 ++++--- lib/Model/NewInternalAudience.php | 7 ++++--- lib/Model/NewInvitation.php | 7 ++++--- lib/Model/NewInviteEmail.php | 7 ++++--- lib/Model/NewLoyaltyProgram.php | 7 ++++--- lib/Model/NewLoyaltyTier.php | 7 ++++--- lib/Model/NewManagementKey.php | 7 ++++--- lib/Model/NewMultipleAudiencesItem.php | 7 ++++--- lib/Model/NewNotificationWebhook.php | 7 ++++--- lib/Model/NewOutgoingIntegrationWebhook.php | 7 ++++--- lib/Model/NewPassword.php | 7 ++++--- lib/Model/NewPasswordEmail.php | 7 ++++--- lib/Model/NewPicklist.php | 7 ++++--- lib/Model/NewReferral.php | 7 ++++--- lib/Model/NewReferralsForMultipleAdvocates.php | 7 ++++--- lib/Model/NewReturn.php | 7 ++++--- lib/Model/NewRole.php | 7 ++++--- lib/Model/NewRuleset.php | 7 ++++--- lib/Model/NewSamlConnection.php | 7 ++++--- lib/Model/NewTemplateDef.php | 7 ++++--- lib/Model/NewUser.php | 7 ++++--- lib/Model/NewWebhook.php | 7 ++++--- lib/Model/Notification.php | 7 ++++--- lib/Model/NotificationWebhook.php | 7 ++++--- lib/Model/OutgoingIntegrationBrazePolicy.php | 7 ++++--- lib/Model/OutgoingIntegrationConfiguration.php | 7 ++++--- lib/Model/OutgoingIntegrationType.php | 7 ++++--- lib/Model/OutgoingIntegrationTypes.php | 7 ++++--- lib/Model/OutgoingIntegrationWebhookTemplate.php | 7 ++++--- lib/Model/OutgoingIntegrationWebhookTemplates.php | 7 ++++--- lib/Model/PatchItemCatalogAction.php | 7 ++++--- lib/Model/PatchManyItemsCatalogAction.php | 7 ++++--- lib/Model/Picklist.php | 7 ++++--- lib/Model/PriorityPosition.php | 7 ++++--- lib/Model/ProfileAudiencesChanges.php | 7 ++++--- lib/Model/RedeemReferralEffectProps.php | 7 ++++--- lib/Model/Referral.php | 7 ++++--- lib/Model/ReferralConstraints.php | 7 ++++--- lib/Model/ReferralCreatedEffectProps.php | 7 ++++--- lib/Model/ReferralRejectionReason.php | 7 ++++--- lib/Model/RejectCouponEffectProps.php | 7 ++++--- lib/Model/RejectReferralEffectProps.php | 7 ++++--- lib/Model/RemoveItemCatalogAction.php | 7 ++++--- lib/Model/RemoveManyItemsCatalogAction.php | 7 ++++--- lib/Model/ReopenSessionResponse.php | 7 ++++--- lib/Model/ReserveCouponEffectProps.php | 7 ++++--- lib/Model/ReturnIntegrationRequest.php | 7 ++++--- lib/Model/ReturnedCartItem.php | 7 ++++--- lib/Model/Role.php | 9 +++++---- lib/Model/RoleAssign.php | 7 ++++--- lib/Model/RoleMembership.php | 7 ++++--- lib/Model/RoleV2.php | 7 ++++--- lib/Model/RoleV2ApplicationDetails.php | 7 ++++--- lib/Model/RoleV2PermissionSet.php | 7 ++++--- lib/Model/RoleV2Permissions.php | 7 ++++--- lib/Model/RoleV2PermissionsRoles.php | 7 ++++--- lib/Model/RollbackAddedLoyaltyPointsEffectProps.php | 7 ++++--- lib/Model/RollbackCouponEffectProps.php | 7 ++++--- lib/Model/RollbackDeductedLoyaltyPointsEffectProps.php | 7 ++++--- lib/Model/RollbackDiscountEffectProps.php | 7 ++++--- lib/Model/RollbackReferralEffectProps.php | 7 ++++--- lib/Model/Rule.php | 7 ++++--- lib/Model/RuleFailureReason.php | 7 ++++--- lib/Model/Ruleset.php | 7 ++++--- lib/Model/SamlConnection.php | 7 ++++--- lib/Model/SamlConnectionMetadata.php | 7 ++++--- lib/Model/SamlLoginEndpoint.php | 7 ++++--- lib/Model/Session.php | 7 ++++--- lib/Model/SetDiscountEffectProps.php | 7 ++++--- lib/Model/SetDiscountPerAdditionalCostEffectProps.php | 7 ++++--- .../SetDiscountPerAdditionalCostPerItemEffectProps.php | 7 ++++--- lib/Model/SetDiscountPerItemEffectProps.php | 7 ++++--- lib/Model/ShowBundleMetadataEffectProps.php | 7 ++++--- lib/Model/ShowNotificationEffectProps.php | 7 ++++--- lib/Model/SlotDef.php | 7 ++++--- lib/Model/StrikethroughChangedItem.php | 7 ++++--- lib/Model/StrikethroughCustomEffectPerItemProps.php | 7 ++++--- lib/Model/StrikethroughEffect.php | 7 ++++--- lib/Model/StrikethroughLabelingNotification.php | 7 ++++--- lib/Model/StrikethroughSetDiscountPerItemEffectProps.php | 7 ++++--- lib/Model/StrikethroughTrigger.php | 7 ++++--- lib/Model/TalangAttribute.php | 7 ++++--- lib/Model/TalangAttributeVisibility.php | 7 ++++--- lib/Model/TemplateArgDef.php | 7 ++++--- lib/Model/TemplateDef.php | 7 ++++--- lib/Model/TemplateLimitConfig.php | 7 ++++--- lib/Model/Tier.php | 7 ++++--- lib/Model/TransferLoyaltyCard.php | 7 ++++--- lib/Model/TriggerWebhookEffectProps.php | 7 ++++--- lib/Model/UpdateAccount.php | 7 ++++--- lib/Model/UpdateApplication.php | 7 ++++--- lib/Model/UpdateAttributeEffectProps.php | 7 ++++--- lib/Model/UpdateAudience.php | 7 ++++--- lib/Model/UpdateCampaign.php | 7 ++++--- lib/Model/UpdateCampaignCollection.php | 7 ++++--- lib/Model/UpdateCampaignGroup.php | 7 ++++--- lib/Model/UpdateCampaignTemplate.php | 7 ++++--- lib/Model/UpdateCatalog.php | 7 ++++--- lib/Model/UpdateCollection.php | 7 ++++--- lib/Model/UpdateCoupon.php | 7 ++++--- lib/Model/UpdateCouponBatch.php | 7 ++++--- lib/Model/UpdateCustomEffect.php | 7 ++++--- lib/Model/UpdateLoyaltyCard.php | 7 ++++--- lib/Model/UpdateLoyaltyProgram.php | 7 ++++--- lib/Model/UpdatePicklist.php | 7 ++++--- lib/Model/UpdateReferral.php | 7 ++++--- lib/Model/UpdateReferralBatch.php | 7 ++++--- lib/Model/UpdateRole.php | 7 ++++--- lib/Model/UpdateUser.php | 7 ++++--- lib/Model/UpdateUserLatestFeedTimestamp.php | 7 ++++--- lib/Model/User.php | 7 ++++--- lib/Model/UserEntity.php | 7 ++++--- lib/Model/UserFeedNotifications.php | 7 ++++--- lib/Model/Webhook.php | 7 ++++--- lib/Model/WebhookActivationLogEntry.php | 7 ++++--- lib/Model/WebhookLogEntry.php | 7 ++++--- lib/Model/WillAwardGiveawayEffectProps.php | 7 ++++--- 391 files changed, 1560 insertions(+), 1172 deletions(-) diff --git a/README.md b/README.md index 91687734..11115a5f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}` This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: -- Package version: 5.0.0 +- Package version: 5.1.0 - Build package: org.openapitools.codegen.languages.PhpClientCodegen ## Requirements diff --git a/composer.json b/composer.json index 742c34cc..41ca914d 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "talon-one/talon-one-client", "type": "library", - "version": "5.0.0", + "version": "5.1.0", "description": "Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`", "keywords": [ "talon-one", diff --git a/lib/Configuration.php b/lib/Configuration.php index 4e3fdd82..745cb273 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -88,7 +88,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/5.0.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/5.1.0/PHP'; /** * Debug switch (default set to false) @@ -397,7 +397,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: ' . PHP_EOL; - $report .= ' SDK Package Version: 5.0.0' . PHP_EOL; + $report .= ' SDK Package Version: 5.1.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/APIError.php b/lib/Model/APIError.php index d4b22bc9..2b7bb47d 100644 --- a/lib/Model/APIError.php +++ b/lib/Model/APIError.php @@ -300,7 +300,7 @@ public function setSource($source) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -312,6 +312,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -325,7 +326,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; @@ -341,7 +342,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/AcceptCouponEffectProps.php b/lib/Model/AcceptCouponEffectProps.php index f3ec05c2..8851f735 100644 --- a/lib/Model/AcceptCouponEffectProps.php +++ b/lib/Model/AcceptCouponEffectProps.php @@ -238,7 +238,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/AcceptReferralEffectProps.php b/lib/Model/AcceptReferralEffectProps.php index 65e8004d..6e75b56f 100644 --- a/lib/Model/AcceptReferralEffectProps.php +++ b/lib/Model/AcceptReferralEffectProps.php @@ -238,7 +238,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/AccessLogEntry.php b/lib/Model/AccessLogEntry.php index 00659014..b4389fe3 100644 --- a/lib/Model/AccessLogEntry.php +++ b/lib/Model/AccessLogEntry.php @@ -436,7 +436,7 @@ public function setResponsePayload($responsePayload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -448,6 +448,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -461,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; @@ -477,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/Account.php b/lib/Model/Account.php index d7927262..dd80ea98 100644 --- a/lib/Model/Account.php +++ b/lib/Model/Account.php @@ -819,7 +819,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -831,6 +831,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -844,7 +845,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; @@ -860,7 +861,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/AccountAdditionalCost.php b/lib/Model/AccountAdditionalCost.php index 8f5ff543..466868bf 100644 --- a/lib/Model/AccountAdditionalCost.php +++ b/lib/Model/AccountAdditionalCost.php @@ -515,7 +515,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -527,6 +527,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -540,7 +541,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 +557,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/AccountAnalytics.php b/lib/Model/AccountAnalytics.php index 8a06303c..11a67c9d 100644 --- a/lib/Model/AccountAnalytics.php +++ b/lib/Model/AccountAnalytics.php @@ -831,7 +831,7 @@ public function setLiveLoyaltyPrograms($liveLoyaltyPrograms) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -843,6 +843,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -856,7 +857,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; @@ -872,7 +873,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/AccountDashboardStatistic.php b/lib/Model/AccountDashboardStatistic.php index 84a6d71e..4a663bbd 100644 --- a/lib/Model/AccountDashboardStatistic.php +++ b/lib/Model/AccountDashboardStatistic.php @@ -387,7 +387,7 @@ public function setCampaigns($campaigns) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -399,6 +399,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -412,7 +413,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 +429,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/AccountDashboardStatisticApiCalls.php b/lib/Model/AccountDashboardStatisticApiCalls.php index 62bdcc5e..3442e041 100644 --- a/lib/Model/AccountDashboardStatisticApiCalls.php +++ b/lib/Model/AccountDashboardStatisticApiCalls.php @@ -270,7 +270,7 @@ public function setDatetime($datetime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/AccountDashboardStatisticCampaigns.php b/lib/Model/AccountDashboardStatisticCampaigns.php index 2ea35dec..12ba2058 100644 --- a/lib/Model/AccountDashboardStatisticCampaigns.php +++ b/lib/Model/AccountDashboardStatisticCampaigns.php @@ -270,7 +270,7 @@ public function setEndingSoon($endingSoon) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/AccountDashboardStatisticDiscount.php b/lib/Model/AccountDashboardStatisticDiscount.php index 7d737b93..0e8914c0 100644 --- a/lib/Model/AccountDashboardStatisticDiscount.php +++ b/lib/Model/AccountDashboardStatisticDiscount.php @@ -303,7 +303,7 @@ public function setDatetime($datetime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,6 +315,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -328,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; @@ -344,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/AccountDashboardStatisticLoyaltyPoints.php b/lib/Model/AccountDashboardStatisticLoyaltyPoints.php index 47357245..499bab90 100644 --- a/lib/Model/AccountDashboardStatisticLoyaltyPoints.php +++ b/lib/Model/AccountDashboardStatisticLoyaltyPoints.php @@ -270,7 +270,7 @@ public function setDatetime($datetime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/AccountDashboardStatisticReferrals.php b/lib/Model/AccountDashboardStatisticReferrals.php index 0a094c0a..249c9e59 100644 --- a/lib/Model/AccountDashboardStatisticReferrals.php +++ b/lib/Model/AccountDashboardStatisticReferrals.php @@ -270,7 +270,7 @@ public function setDatetime($datetime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/AccountDashboardStatisticRevenue.php b/lib/Model/AccountDashboardStatisticRevenue.php index dc68db91..17b3977f 100644 --- a/lib/Model/AccountDashboardStatisticRevenue.php +++ b/lib/Model/AccountDashboardStatisticRevenue.php @@ -303,7 +303,7 @@ public function setDatetime($datetime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,6 +315,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -328,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; @@ -344,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/AccountEntity.php b/lib/Model/AccountEntity.php index 8f7ffb6f..3d3246be 100644 --- a/lib/Model/AccountEntity.php +++ b/lib/Model/AccountEntity.php @@ -237,7 +237,7 @@ public function setAccountId($accountId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/AccountLimits.php b/lib/Model/AccountLimits.php index b8d78201..9b38e6a3 100644 --- a/lib/Model/AccountLimits.php +++ b/lib/Model/AccountLimits.php @@ -600,7 +600,7 @@ public function setPromotionTypes($promotionTypes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -612,6 +612,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -625,7 +626,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; @@ -641,7 +642,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/AddFreeItemEffectProps.php b/lib/Model/AddFreeItemEffectProps.php index 60cb8ce6..1fd3c2b2 100644 --- a/lib/Model/AddFreeItemEffectProps.php +++ b/lib/Model/AddFreeItemEffectProps.php @@ -271,7 +271,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/AddItemCatalogAction.php b/lib/Model/AddItemCatalogAction.php index d7772f96..4901dafb 100644 --- a/lib/Model/AddItemCatalogAction.php +++ b/lib/Model/AddItemCatalogAction.php @@ -328,7 +328,7 @@ public function setReplaceIfExists($replaceIfExists) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -340,6 +340,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -353,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; @@ -369,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/AddLoyaltyPoints.php b/lib/Model/AddLoyaltyPoints.php index 69f9b2e3..67337257 100644 --- a/lib/Model/AddLoyaltyPoints.php +++ b/lib/Model/AddLoyaltyPoints.php @@ -464,7 +464,7 @@ public function setApplicationId($applicationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -476,6 +476,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -489,7 +490,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 +506,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/AddLoyaltyPointsEffectProps.php b/lib/Model/AddLoyaltyPointsEffectProps.php index c67a2187..330f3bab 100644 --- a/lib/Model/AddLoyaltyPointsEffectProps.php +++ b/lib/Model/AddLoyaltyPointsEffectProps.php @@ -659,7 +659,7 @@ public function setBundleName($bundleName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -671,6 +671,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -684,7 +685,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; @@ -700,7 +701,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/AddedDeductedPointsNotificationPolicy.php b/lib/Model/AddedDeductedPointsNotificationPolicy.php index da8fc487..005060f3 100644 --- a/lib/Model/AddedDeductedPointsNotificationPolicy.php +++ b/lib/Model/AddedDeductedPointsNotificationPolicy.php @@ -307,7 +307,7 @@ public function setScopes($scopes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -319,6 +319,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -332,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; @@ -348,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/AdditionalCost.php b/lib/Model/AdditionalCost.php index a8021e8c..33efa1c7 100644 --- a/lib/Model/AdditionalCost.php +++ b/lib/Model/AdditionalCost.php @@ -237,7 +237,7 @@ public function setPrice($price) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/Application.php b/lib/Model/Application.php index 47f33759..526e34ff 100644 --- a/lib/Model/Application.php +++ b/lib/Model/Application.php @@ -1056,7 +1056,7 @@ public function setLoyaltyPrograms($loyaltyPrograms) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -1068,6 +1068,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1081,7 +1082,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; @@ -1097,7 +1098,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/ApplicationAPIKey.php b/lib/Model/ApplicationAPIKey.php index 3b5422de..7fe2f8d8 100644 --- a/lib/Model/ApplicationAPIKey.php +++ b/lib/Model/ApplicationAPIKey.php @@ -512,7 +512,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -524,6 +524,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -537,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; @@ -553,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/ApplicationApiHealth.php b/lib/Model/ApplicationApiHealth.php index acab3f12..8a5c3f6e 100644 --- a/lib/Model/ApplicationApiHealth.php +++ b/lib/Model/ApplicationApiHealth.php @@ -309,7 +309,7 @@ public function setLastUsed($lastUsed) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -321,6 +321,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -334,7 +335,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; @@ -350,7 +351,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/ApplicationCampaignStats.php b/lib/Model/ApplicationCampaignStats.php index 5f655deb..4371b23c 100644 --- a/lib/Model/ApplicationCampaignStats.php +++ b/lib/Model/ApplicationCampaignStats.php @@ -403,7 +403,7 @@ public function setArchived($archived) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -415,6 +415,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -428,7 +429,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; @@ -444,7 +445,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/ApplicationCustomer.php b/lib/Model/ApplicationCustomer.php index bf3a68c9..5714b463 100644 --- a/lib/Model/ApplicationCustomer.php +++ b/lib/Model/ApplicationCustomer.php @@ -605,7 +605,7 @@ public function setAdvocateIntegrationId($advocateIntegrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -617,6 +617,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -630,7 +631,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 +647,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/ApplicationCustomerEntity.php b/lib/Model/ApplicationCustomerEntity.php index 1e03511c..81840973 100644 --- a/lib/Model/ApplicationCustomerEntity.php +++ b/lib/Model/ApplicationCustomerEntity.php @@ -234,7 +234,7 @@ public function setProfileId($profileId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/ApplicationEntity.php b/lib/Model/ApplicationEntity.php index 5ede66b6..7a50e3ab 100644 --- a/lib/Model/ApplicationEntity.php +++ b/lib/Model/ApplicationEntity.php @@ -237,7 +237,7 @@ public function setApplicationId($applicationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/ApplicationEvent.php b/lib/Model/ApplicationEvent.php index ace977ae..e2419d0e 100644 --- a/lib/Model/ApplicationEvent.php +++ b/lib/Model/ApplicationEvent.php @@ -493,7 +493,7 @@ public function setRuleFailureReasons($ruleFailureReasons) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -505,6 +505,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -518,7 +519,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; @@ -534,7 +535,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/ApplicationNotification.php b/lib/Model/ApplicationNotification.php index b466943c..2bf3cd39 100644 --- a/lib/Model/ApplicationNotification.php +++ b/lib/Model/ApplicationNotification.php @@ -237,7 +237,7 @@ public function setEvent($event) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/ApplicationReferee.php b/lib/Model/ApplicationReferee.php index 1b025c58..4b0b4245 100644 --- a/lib/Model/ApplicationReferee.php +++ b/lib/Model/ApplicationReferee.php @@ -419,7 +419,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -431,6 +431,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -444,7 +445,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; @@ -460,7 +461,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/ApplicationSession.php b/lib/Model/ApplicationSession.php index 64b12ca8..c68fbc67 100644 --- a/lib/Model/ApplicationSession.php +++ b/lib/Model/ApplicationSession.php @@ -710,7 +710,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -722,6 +722,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -735,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; @@ -751,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/ApplicationSessionEntity.php b/lib/Model/ApplicationSessionEntity.php index 9a79f15a..d76f992f 100644 --- a/lib/Model/ApplicationSessionEntity.php +++ b/lib/Model/ApplicationSessionEntity.php @@ -237,7 +237,7 @@ public function setSessionId($sessionId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/AsyncCouponCreationResponse.php b/lib/Model/AsyncCouponCreationResponse.php index ffa41b32..9f45b03b 100644 --- a/lib/Model/AsyncCouponCreationResponse.php +++ b/lib/Model/AsyncCouponCreationResponse.php @@ -237,7 +237,7 @@ public function setBatchId($batchId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/Attribute.php b/lib/Model/Attribute.php index 2785ac1a..9541a7c4 100644 --- a/lib/Model/Attribute.php +++ b/lib/Model/Attribute.php @@ -881,7 +881,7 @@ public function setEventTypeId($eventTypeId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -893,6 +893,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -906,7 +907,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; @@ -922,7 +923,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/AttributesMandatory.php b/lib/Model/AttributesMandatory.php index 5a70f2f3..4a63c45f 100644 --- a/lib/Model/AttributesMandatory.php +++ b/lib/Model/AttributesMandatory.php @@ -265,7 +265,7 @@ public function setCoupons($coupons) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -277,6 +277,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -290,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; @@ -306,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/AttributesSettings.php b/lib/Model/AttributesSettings.php index 913e8f9e..274b57c5 100644 --- a/lib/Model/AttributesSettings.php +++ b/lib/Model/AttributesSettings.php @@ -235,7 +235,7 @@ public function setMandatory($mandatory) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -247,6 +247,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -260,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; @@ -276,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/Audience.php b/lib/Model/Audience.php index c02ba5a6..7380fd33 100644 --- a/lib/Model/Audience.php +++ b/lib/Model/Audience.php @@ -541,7 +541,7 @@ public function setLastUpdate($lastUpdate) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -553,6 +553,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -566,7 +567,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; @@ -582,7 +583,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/AudienceAnalytics.php b/lib/Model/AudienceAnalytics.php index c1b79505..6d143c2c 100644 --- a/lib/Model/AudienceAnalytics.php +++ b/lib/Model/AudienceAnalytics.php @@ -265,7 +265,7 @@ public function setMembersCount($membersCount) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -277,6 +277,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -290,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; @@ -306,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/AudienceCustomer.php b/lib/Model/AudienceCustomer.php index 7c84c064..652a1119 100644 --- a/lib/Model/AudienceCustomer.php +++ b/lib/Model/AudienceCustomer.php @@ -627,7 +627,7 @@ public function setConnectedAudiences($connectedAudiences) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -639,6 +639,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -652,7 +653,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; @@ -668,7 +669,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/AudienceIntegrationID.php b/lib/Model/AudienceIntegrationID.php index 5aba3d1d..bbc58380 100644 --- a/lib/Model/AudienceIntegrationID.php +++ b/lib/Model/AudienceIntegrationID.php @@ -249,7 +249,7 @@ public function setIntegrationId($integrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -261,6 +261,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -274,7 +275,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; @@ -290,7 +291,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/AudienceMembership.php b/lib/Model/AudienceMembership.php index 28660dae..86c29042 100644 --- a/lib/Model/AudienceMembership.php +++ b/lib/Model/AudienceMembership.php @@ -270,7 +270,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/AwardGiveawayEffectProps.php b/lib/Model/AwardGiveawayEffectProps.php index b03e821f..428e3bc7 100644 --- a/lib/Model/AwardGiveawayEffectProps.php +++ b/lib/Model/AwardGiveawayEffectProps.php @@ -378,7 +378,7 @@ public function setCode($code) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -390,6 +390,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -403,7 +404,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; @@ -419,7 +420,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/BaseLoyaltyProgram.php b/lib/Model/BaseLoyaltyProgram.php index 120dafac..b91d45ac 100644 --- a/lib/Model/BaseLoyaltyProgram.php +++ b/lib/Model/BaseLoyaltyProgram.php @@ -453,7 +453,7 @@ public function setSandbox($sandbox) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -465,6 +465,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -478,7 +479,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; @@ -494,7 +495,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/BaseNotification.php b/lib/Model/BaseNotification.php index 2f01e61c..f83e9563 100644 --- a/lib/Model/BaseNotification.php +++ b/lib/Model/BaseNotification.php @@ -313,7 +313,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -325,6 +325,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -338,7 +339,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; @@ -354,7 +355,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/BaseNotificationEntity.php b/lib/Model/BaseNotificationEntity.php index a11b3fdd..00860845 100644 --- a/lib/Model/BaseNotificationEntity.php +++ b/lib/Model/BaseNotificationEntity.php @@ -237,7 +237,7 @@ public function setPolicy($policy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/BaseNotificationWebhook.php b/lib/Model/BaseNotificationWebhook.php index f0e57509..f4fb038c 100644 --- a/lib/Model/BaseNotificationWebhook.php +++ b/lib/Model/BaseNotificationWebhook.php @@ -370,7 +370,7 @@ public function setHeaders($headers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -382,6 +382,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -395,7 +396,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; @@ -411,7 +412,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/BaseNotifications.php b/lib/Model/BaseNotifications.php index 6c4b7b2e..a75c8551 100644 --- a/lib/Model/BaseNotifications.php +++ b/lib/Model/BaseNotifications.php @@ -234,7 +234,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/BaseSamlConnection.php b/lib/Model/BaseSamlConnection.php index c4eaea02..cfe61405 100644 --- a/lib/Model/BaseSamlConnection.php +++ b/lib/Model/BaseSamlConnection.php @@ -486,7 +486,7 @@ public function setAudienceURI($audienceURI) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -498,6 +498,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -511,7 +512,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; @@ -527,7 +528,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/Binding.php b/lib/Model/Binding.php index 7f778174..a504cbf7 100644 --- a/lib/Model/Binding.php +++ b/lib/Model/Binding.php @@ -330,7 +330,7 @@ public function setValueType($valueType) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -342,6 +342,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -355,7 +356,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; @@ -371,7 +372,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/BulkApplicationNotification.php b/lib/Model/BulkApplicationNotification.php index 0c088a46..e9cf171b 100644 --- a/lib/Model/BulkApplicationNotification.php +++ b/lib/Model/BulkApplicationNotification.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/BulkCampaignNotification.php b/lib/Model/BulkCampaignNotification.php index 6a8f3526..b13f0ac0 100644 --- a/lib/Model/BulkCampaignNotification.php +++ b/lib/Model/BulkCampaignNotification.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/Campaign.php b/lib/Model/Campaign.php index 2e95ff69..48e567aa 100644 --- a/lib/Model/Campaign.php +++ b/lib/Model/Campaign.php @@ -921,7 +921,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. * * @return $this */ @@ -1418,7 +1418,7 @@ public function setTemplateId($templateId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -1430,6 +1430,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1443,7 +1444,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; @@ -1459,7 +1460,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/CampaignActivationRequest.php b/lib/Model/CampaignActivationRequest.php index 469198b4..7d9618e4 100644 --- a/lib/Model/CampaignActivationRequest.php +++ b/lib/Model/CampaignActivationRequest.php @@ -237,7 +237,7 @@ public function setUserIds($userIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CampaignAnalytics.php b/lib/Model/CampaignAnalytics.php index db21c896..8cd38e41 100644 --- a/lib/Model/CampaignAnalytics.php +++ b/lib/Model/CampaignAnalytics.php @@ -1030,7 +1030,7 @@ public function setTotalDeductedLoyaltyPoints($totalDeductedLoyaltyPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -1042,6 +1042,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1055,7 +1056,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; @@ -1071,7 +1072,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/CampaignCollection.php b/lib/Model/CampaignCollection.php index e2f9f607..dda7b2fd 100644 --- a/lib/Model/CampaignCollection.php +++ b/lib/Model/CampaignCollection.php @@ -569,7 +569,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -581,6 +581,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -594,7 +595,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; @@ -610,7 +611,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/CampaignCollectionWithoutPayload.php b/lib/Model/CampaignCollectionWithoutPayload.php index a107d57a..65763591 100644 --- a/lib/Model/CampaignCollectionWithoutPayload.php +++ b/lib/Model/CampaignCollectionWithoutPayload.php @@ -539,7 +539,7 @@ public function setCampaignId($campaignId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -551,6 +551,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -564,7 +565,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; @@ -580,7 +581,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/CampaignCopy.php b/lib/Model/CampaignCopy.php index 857e83ad..2168c568 100644 --- a/lib/Model/CampaignCopy.php +++ b/lib/Model/CampaignCopy.php @@ -387,7 +387,7 @@ public function setTags($tags) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -399,6 +399,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -412,7 +413,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 +429,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/CampaignCreatedNotification.php b/lib/Model/CampaignCreatedNotification.php index 034513bc..7f9ec570 100644 --- a/lib/Model/CampaignCreatedNotification.php +++ b/lib/Model/CampaignCreatedNotification.php @@ -301,7 +301,7 @@ public function setPriority($priority) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -313,6 +313,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -326,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; @@ -342,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/CampaignDeletedNotification.php b/lib/Model/CampaignDeletedNotification.php index 82ebee58..064eb8ed 100644 --- a/lib/Model/CampaignDeletedNotification.php +++ b/lib/Model/CampaignDeletedNotification.php @@ -271,7 +271,7 @@ public function setDeletedAt($deletedAt) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/CampaignEditedNotification.php b/lib/Model/CampaignEditedNotification.php index fa27cede..1dd47b12 100644 --- a/lib/Model/CampaignEditedNotification.php +++ b/lib/Model/CampaignEditedNotification.php @@ -301,7 +301,7 @@ public function setRuleset($ruleset) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -313,6 +313,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -326,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; @@ -342,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/CampaignEntity.php b/lib/Model/CampaignEntity.php index bcc6ebe8..01caefd9 100644 --- a/lib/Model/CampaignEntity.php +++ b/lib/Model/CampaignEntity.php @@ -237,7 +237,7 @@ public function setCampaignId($campaignId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CampaignGroup.php b/lib/Model/CampaignGroup.php index e10bf85f..256d5a73 100644 --- a/lib/Model/CampaignGroup.php +++ b/lib/Model/CampaignGroup.php @@ -469,7 +469,7 @@ public function setCampaignIds($campaignIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -481,6 +481,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -494,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; @@ -510,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/CampaignGroupEntity.php b/lib/Model/CampaignGroupEntity.php index 33630617..becf00da 100644 --- a/lib/Model/CampaignGroupEntity.php +++ b/lib/Model/CampaignGroupEntity.php @@ -234,7 +234,7 @@ public function setCampaignGroups($campaignGroups) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/CampaignNotification.php b/lib/Model/CampaignNotification.php index 15950716..be003720 100644 --- a/lib/Model/CampaignNotification.php +++ b/lib/Model/CampaignNotification.php @@ -237,7 +237,7 @@ public function setEvent($event) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CampaignPrioritiesChangedNotification.php b/lib/Model/CampaignPrioritiesChangedNotification.php index 85b32284..b5115490 100644 --- a/lib/Model/CampaignPrioritiesChangedNotification.php +++ b/lib/Model/CampaignPrioritiesChangedNotification.php @@ -301,7 +301,7 @@ public function setPriorities($priorities) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -313,6 +313,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -326,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; @@ -342,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/CampaignPrioritiesV2.php b/lib/Model/CampaignPrioritiesV2.php index 398356f2..3ef31c1f 100644 --- a/lib/Model/CampaignPrioritiesV2.php +++ b/lib/Model/CampaignPrioritiesV2.php @@ -294,7 +294,7 @@ public function setUniversal($universal) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/CampaignRulesetChangedNotification.php b/lib/Model/CampaignRulesetChangedNotification.php index d28d4cdc..ec3fbed9 100644 --- a/lib/Model/CampaignRulesetChangedNotification.php +++ b/lib/Model/CampaignRulesetChangedNotification.php @@ -298,7 +298,7 @@ public function setRuleset($ruleset) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -310,6 +310,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -323,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; @@ -339,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/CampaignSearch.php b/lib/Model/CampaignSearch.php index 3815b00c..669937ce 100644 --- a/lib/Model/CampaignSearch.php +++ b/lib/Model/CampaignSearch.php @@ -237,7 +237,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CampaignSet.php b/lib/Model/CampaignSet.php index 34fc10f8..57be856e 100644 --- a/lib/Model/CampaignSet.php +++ b/lib/Model/CampaignSet.php @@ -409,7 +409,7 @@ public function setUpdatedBy($updatedBy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -421,6 +421,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -434,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; @@ -450,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/CampaignSetBranchNode.php b/lib/Model/CampaignSetBranchNode.php index 34f95ca3..f8b14329 100644 --- a/lib/Model/CampaignSetBranchNode.php +++ b/lib/Model/CampaignSetBranchNode.php @@ -398,7 +398,7 @@ public function setElements($elements) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -410,6 +410,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -423,7 +424,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 +440,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/CampaignSetIDs.php b/lib/Model/CampaignSetIDs.php index b58f8459..48e9fd47 100644 --- a/lib/Model/CampaignSetIDs.php +++ b/lib/Model/CampaignSetIDs.php @@ -235,7 +235,7 @@ public function setCampaignId($campaignId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -247,6 +247,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -260,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; @@ -276,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/CampaignSetLeafNode.php b/lib/Model/CampaignSetLeafNode.php index 78c1a8ef..edade364 100644 --- a/lib/Model/CampaignSetLeafNode.php +++ b/lib/Model/CampaignSetLeafNode.php @@ -300,7 +300,7 @@ public function setCampaignId($campaignId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -312,6 +312,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -325,7 +326,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; @@ -341,7 +342,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/CampaignSetNode.php b/lib/Model/CampaignSetNode.php index fb4252bc..23bf74c8 100644 --- a/lib/Model/CampaignSetNode.php +++ b/lib/Model/CampaignSetNode.php @@ -237,7 +237,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CampaignSetV2.php b/lib/Model/CampaignSetV2.php index 29112fb4..e5bc6bc3 100644 --- a/lib/Model/CampaignSetV2.php +++ b/lib/Model/CampaignSetV2.php @@ -379,7 +379,7 @@ public function setSet($set) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -391,6 +391,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -404,7 +405,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; @@ -420,7 +421,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/CampaignStateChangedNotification.php b/lib/Model/CampaignStateChangedNotification.php index 930d7afb..c030b7c0 100644 --- a/lib/Model/CampaignStateChangedNotification.php +++ b/lib/Model/CampaignStateChangedNotification.php @@ -334,7 +334,7 @@ public function setRuleset($ruleset) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -346,6 +346,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -359,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; @@ -375,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/CampaignTemplate.php b/lib/Model/CampaignTemplate.php index a1a2756a..f1abbf6f 100644 --- a/lib/Model/CampaignTemplate.php +++ b/lib/Model/CampaignTemplate.php @@ -998,7 +998,7 @@ public function setValidApplicationIds($validApplicationIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -1010,6 +1010,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1023,7 +1024,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; @@ -1039,7 +1040,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/CampaignTemplateCollection.php b/lib/Model/CampaignTemplateCollection.php index 4257e627..e3ebaa0c 100644 --- a/lib/Model/CampaignTemplateCollection.php +++ b/lib/Model/CampaignTemplateCollection.php @@ -283,7 +283,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -295,6 +295,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -308,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; @@ -324,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/CampaignTemplateParams.php b/lib/Model/CampaignTemplateParams.php index ce72e038..3a231205 100644 --- a/lib/Model/CampaignTemplateParams.php +++ b/lib/Model/CampaignTemplateParams.php @@ -382,7 +382,7 @@ public function setAttributeId($attributeId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -394,6 +394,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -407,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; @@ -423,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/CardLedgerTransactionLogEntry.php b/lib/Model/CardLedgerTransactionLogEntry.php index c7f70312..15fee33b 100644 --- a/lib/Model/CardLedgerTransactionLogEntry.php +++ b/lib/Model/CardLedgerTransactionLogEntry.php @@ -705,7 +705,7 @@ public function setId($id) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -717,6 +717,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -730,7 +731,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; @@ -746,7 +747,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/CardLedgerTransactionLogEntryIntegrationAPI.php b/lib/Model/CardLedgerTransactionLogEntryIntegrationAPI.php index c6ac3b56..1971f753 100644 --- a/lib/Model/CardLedgerTransactionLogEntryIntegrationAPI.php +++ b/lib/Model/CardLedgerTransactionLogEntryIntegrationAPI.php @@ -705,7 +705,7 @@ public function setRuleName($ruleName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -717,6 +717,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -730,7 +731,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; @@ -746,7 +747,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/CartItem.php b/lib/Model/CartItem.php index 2510a26f..ccc09ef8 100644 --- a/lib/Model/CartItem.php +++ b/lib/Model/CartItem.php @@ -678,7 +678,7 @@ public function setCatalogItemID($catalogItemID) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -690,6 +690,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -703,7 +704,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; @@ -719,7 +720,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/Catalog.php b/lib/Model/Catalog.php index 089c97ac..3650416e 100644 --- a/lib/Model/Catalog.php +++ b/lib/Model/Catalog.php @@ -499,7 +499,7 @@ public function setCreatedBy($createdBy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -511,6 +511,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -524,7 +525,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; @@ -540,7 +541,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/CatalogAction.php b/lib/Model/CatalogAction.php index 57884044..44596536 100644 --- a/lib/Model/CatalogAction.php +++ b/lib/Model/CatalogAction.php @@ -309,7 +309,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -321,6 +321,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -334,7 +335,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; @@ -350,7 +351,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/CatalogActionFilter.php b/lib/Model/CatalogActionFilter.php index 21e4d74c..7770950b 100644 --- a/lib/Model/CatalogActionFilter.php +++ b/lib/Model/CatalogActionFilter.php @@ -344,7 +344,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -356,6 +356,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -369,7 +370,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; @@ -385,7 +386,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/CatalogItem.php b/lib/Model/CatalogItem.php index 757daa4b..c3463fbb 100644 --- a/lib/Model/CatalogItem.php +++ b/lib/Model/CatalogItem.php @@ -439,7 +439,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -451,6 +451,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -464,7 +465,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; @@ -480,7 +481,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/CatalogSyncRequest.php b/lib/Model/CatalogSyncRequest.php index 6b930a29..bc18a6ea 100644 --- a/lib/Model/CatalogSyncRequest.php +++ b/lib/Model/CatalogSyncRequest.php @@ -276,7 +276,7 @@ public function setVersion($version) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -288,6 +288,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -301,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; @@ -317,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/CatalogsStrikethroughNotificationPolicy.php b/lib/Model/CatalogsStrikethroughNotificationPolicy.php index 6faf59a1..15da0bcb 100644 --- a/lib/Model/CatalogsStrikethroughNotificationPolicy.php +++ b/lib/Model/CatalogsStrikethroughNotificationPolicy.php @@ -246,7 +246,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -258,6 +258,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -271,7 +272,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; @@ -287,7 +288,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/Change.php b/lib/Model/Change.php index 80bb2eca..bd4d2b27 100644 --- a/lib/Model/Change.php +++ b/lib/Model/Change.php @@ -457,7 +457,7 @@ public function setManagementKeyId($managementKeyId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -469,6 +469,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -482,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; @@ -498,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/ChangeProfilePassword.php b/lib/Model/ChangeProfilePassword.php index fb5132ed..d8a44131 100644 --- a/lib/Model/ChangeProfilePassword.php +++ b/lib/Model/ChangeProfilePassword.php @@ -270,7 +270,7 @@ public function setNewPassword($newPassword) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/CodeGeneratorSettings.php b/lib/Model/CodeGeneratorSettings.php index ead84ee1..cf63cba7 100644 --- a/lib/Model/CodeGeneratorSettings.php +++ b/lib/Model/CodeGeneratorSettings.php @@ -285,7 +285,7 @@ public function setCouponPattern($couponPattern) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -297,6 +297,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -310,7 +311,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; @@ -326,7 +327,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/Collection.php b/lib/Model/Collection.php index 776d8e87..638d7984 100644 --- a/lib/Model/Collection.php +++ b/lib/Model/Collection.php @@ -599,7 +599,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -611,6 +611,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -624,7 +625,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; @@ -640,7 +641,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/CollectionItem.php b/lib/Model/CollectionItem.php index 34077725..0e3ecde3 100644 --- a/lib/Model/CollectionItem.php +++ b/lib/Model/CollectionItem.php @@ -238,7 +238,7 @@ public function setItem($item) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/CollectionWithoutPayload.php b/lib/Model/CollectionWithoutPayload.php index bc0cc2f7..ddf9c38a 100644 --- a/lib/Model/CollectionWithoutPayload.php +++ b/lib/Model/CollectionWithoutPayload.php @@ -569,7 +569,7 @@ public function setCampaignId($campaignId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -581,6 +581,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -594,7 +595,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; @@ -610,7 +611,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/Coupon.php b/lib/Model/Coupon.php index 3b5d1db9..6c8c2048 100644 --- a/lib/Model/Coupon.php +++ b/lib/Model/Coupon.php @@ -918,7 +918,7 @@ public function setIsReservationMandatory($isReservationMandatory) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -930,6 +930,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -943,7 +944,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; @@ -959,7 +960,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/CouponConstraints.php b/lib/Model/CouponConstraints.php index 1e48f470..a6eafa37 100644 --- a/lib/Model/CouponConstraints.php +++ b/lib/Model/CouponConstraints.php @@ -402,7 +402,7 @@ public function setExpiryDate($expiryDate) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -414,6 +414,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -427,7 +428,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; @@ -443,7 +444,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/CouponCreatedEffectProps.php b/lib/Model/CouponCreatedEffectProps.php index 134ad113..66b820b9 100644 --- a/lib/Model/CouponCreatedEffectProps.php +++ b/lib/Model/CouponCreatedEffectProps.php @@ -271,7 +271,7 @@ public function setProfileId($profileId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/CouponCreationJob.php b/lib/Model/CouponCreationJob.php index 06eb1afd..ee1e91fd 100644 --- a/lib/Model/CouponCreationJob.php +++ b/lib/Model/CouponCreationJob.php @@ -977,7 +977,7 @@ public function setChunkSize($chunkSize) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -989,6 +989,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1002,7 +1003,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; @@ -1018,7 +1019,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/CouponLimitConfigs.php b/lib/Model/CouponLimitConfigs.php index 72cbdb1c..ecaae32a 100644 --- a/lib/Model/CouponLimitConfigs.php +++ b/lib/Model/CouponLimitConfigs.php @@ -234,7 +234,7 @@ public function setLimits($limits) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/CouponRejectionReason.php b/lib/Model/CouponRejectionReason.php index f2300fad..51c9063c 100644 --- a/lib/Model/CouponRejectionReason.php +++ b/lib/Model/CouponRejectionReason.php @@ -356,7 +356,7 @@ public function setReason($reason) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -368,6 +368,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -381,7 +382,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; @@ -397,7 +398,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/CouponReservations.php b/lib/Model/CouponReservations.php index 678cd1ba..215d14ee 100644 --- a/lib/Model/CouponReservations.php +++ b/lib/Model/CouponReservations.php @@ -237,7 +237,7 @@ public function setIntegrationIDs($integrationIDs) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CouponSearch.php b/lib/Model/CouponSearch.php index 432a6efe..62434e65 100644 --- a/lib/Model/CouponSearch.php +++ b/lib/Model/CouponSearch.php @@ -237,7 +237,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/CouponValue.php b/lib/Model/CouponValue.php index ecef849e..152344a1 100644 --- a/lib/Model/CouponValue.php +++ b/lib/Model/CouponValue.php @@ -243,7 +243,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -255,6 +255,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -268,7 +269,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; @@ -284,7 +285,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/CouponsNotificationPolicy.php b/lib/Model/CouponsNotificationPolicy.php index 112503d5..cacd293f 100644 --- a/lib/Model/CouponsNotificationPolicy.php +++ b/lib/Model/CouponsNotificationPolicy.php @@ -307,7 +307,7 @@ public function setScopes($scopes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -319,6 +319,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -332,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; @@ -348,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/CreateApplicationAPIKey.php b/lib/Model/CreateApplicationAPIKey.php index c3385091..41f21a20 100644 --- a/lib/Model/CreateApplicationAPIKey.php +++ b/lib/Model/CreateApplicationAPIKey.php @@ -346,7 +346,7 @@ public function setPlatform($platform) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -358,6 +358,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -371,7 +372,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; @@ -387,7 +388,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/CreateManagementKey.php b/lib/Model/CreateManagementKey.php index d55ad367..219d030b 100644 --- a/lib/Model/CreateManagementKey.php +++ b/lib/Model/CreateManagementKey.php @@ -333,7 +333,7 @@ public function setAllowedApplicationIds($allowedApplicationIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -345,6 +345,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -358,7 +359,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; @@ -374,7 +375,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/CreateTemplateCampaign.php b/lib/Model/CreateTemplateCampaign.php index 1747b7cd..efdc8fea 100644 --- a/lib/Model/CreateTemplateCampaign.php +++ b/lib/Model/CreateTemplateCampaign.php @@ -418,7 +418,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. * * @return $this */ @@ -459,7 +459,7 @@ public function setTags($tags) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -471,6 +471,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -484,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; @@ -500,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/CreateTemplateCampaignResponse.php b/lib/Model/CreateTemplateCampaignResponse.php index 1fae27c6..a49609c5 100644 --- a/lib/Model/CreateTemplateCampaignResponse.php +++ b/lib/Model/CreateTemplateCampaignResponse.php @@ -300,7 +300,7 @@ public function setCollections($collections) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -312,6 +312,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -325,7 +326,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; @@ -341,7 +342,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/CustomEffect.php b/lib/Model/CustomEffect.php index 1e2a4d70..22745e7c 100644 --- a/lib/Model/CustomEffect.php +++ b/lib/Model/CustomEffect.php @@ -673,7 +673,7 @@ public function setCreatedBy($createdBy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -685,6 +685,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -698,7 +699,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; @@ -714,7 +715,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/CustomEffectProps.php b/lib/Model/CustomEffectProps.php index 180ee43e..d25009e9 100644 --- a/lib/Model/CustomEffectProps.php +++ b/lib/Model/CustomEffectProps.php @@ -424,7 +424,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -436,6 +436,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -449,7 +450,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; @@ -465,7 +466,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/CustomerActivityReport.php b/lib/Model/CustomerActivityReport.php index 38c67e6a..1f461e75 100644 --- a/lib/Model/CustomerActivityReport.php +++ b/lib/Model/CustomerActivityReport.php @@ -639,7 +639,7 @@ public function setCampaignName($campaignName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -651,6 +651,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -664,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; @@ -680,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/CustomerAnalytics.php b/lib/Model/CustomerAnalytics.php index 06ddd4ff..0bd500a5 100644 --- a/lib/Model/CustomerAnalytics.php +++ b/lib/Model/CustomerAnalytics.php @@ -436,7 +436,7 @@ public function setTotalDiscounts($totalDiscounts) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -448,6 +448,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -461,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; @@ -477,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/CustomerInventory.php b/lib/Model/CustomerInventory.php index 01dad3d0..2cbc5547 100644 --- a/lib/Model/CustomerInventory.php +++ b/lib/Model/CustomerInventory.php @@ -354,7 +354,7 @@ public function setGiveaways($giveaways) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -366,6 +366,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -379,7 +380,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; @@ -395,7 +396,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/CustomerProfile.php b/lib/Model/CustomerProfile.php index a6540963..29b23a78 100644 --- a/lib/Model/CustomerProfile.php +++ b/lib/Model/CustomerProfile.php @@ -567,7 +567,7 @@ public function setSandbox($sandbox) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -579,6 +579,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -592,7 +593,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; @@ -608,7 +609,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/CustomerProfileAudienceRequest.php b/lib/Model/CustomerProfileAudienceRequest.php index 523c3be1..a1b8d423 100644 --- a/lib/Model/CustomerProfileAudienceRequest.php +++ b/lib/Model/CustomerProfileAudienceRequest.php @@ -234,7 +234,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/CustomerProfileAudienceRequestItem.php b/lib/Model/CustomerProfileAudienceRequestItem.php index 93951394..12f9ea37 100644 --- a/lib/Model/CustomerProfileAudienceRequestItem.php +++ b/lib/Model/CustomerProfileAudienceRequestItem.php @@ -343,7 +343,7 @@ public function setAudienceId($audienceId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -355,6 +355,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -368,7 +369,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; @@ -384,7 +385,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/CustomerProfileIntegrationRequestV2.php b/lib/Model/CustomerProfileIntegrationRequestV2.php index c31fffd1..5bc5bd4f 100644 --- a/lib/Model/CustomerProfileIntegrationRequestV2.php +++ b/lib/Model/CustomerProfileIntegrationRequestV2.php @@ -357,7 +357,7 @@ public function setResponseContent($responseContent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -369,6 +369,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -382,7 +383,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; @@ -398,7 +399,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/CustomerProfileSearchQuery.php b/lib/Model/CustomerProfileSearchQuery.php index 7b8d9337..223ff1b7 100644 --- a/lib/Model/CustomerProfileSearchQuery.php +++ b/lib/Model/CustomerProfileSearchQuery.php @@ -294,7 +294,7 @@ public function setProfileIDs($profileIDs) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/CustomerProfileUpdateV2Response.php b/lib/Model/CustomerProfileUpdateV2Response.php index a520986f..b0634b88 100644 --- a/lib/Model/CustomerProfileUpdateV2Response.php +++ b/lib/Model/CustomerProfileUpdateV2Response.php @@ -238,7 +238,7 @@ public function setCustomerProfile($customerProfile) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/CustomerSession.php b/lib/Model/CustomerSession.php index fe65cb01..f2afe4ed 100644 --- a/lib/Model/CustomerSession.php +++ b/lib/Model/CustomerSession.php @@ -724,7 +724,7 @@ public function setUpdated($updated) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -736,6 +736,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -749,7 +750,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; @@ -765,7 +766,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/CustomerSessionV2.php b/lib/Model/CustomerSessionV2.php index 2fbc78aa..3d91969f 100644 --- a/lib/Model/CustomerSessionV2.php +++ b/lib/Model/CustomerSessionV2.php @@ -866,7 +866,7 @@ public function setUpdated($updated) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -878,6 +878,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -891,7 +892,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; @@ -907,7 +908,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/DeductLoyaltyPoints.php b/lib/Model/DeductLoyaltyPoints.php index 31119836..649c148f 100644 --- a/lib/Model/DeductLoyaltyPoints.php +++ b/lib/Model/DeductLoyaltyPoints.php @@ -344,7 +344,7 @@ public function setApplicationId($applicationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -356,6 +356,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -369,7 +370,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; @@ -385,7 +386,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/DeductLoyaltyPointsEffectProps.php b/lib/Model/DeductLoyaltyPointsEffectProps.php index 9e901b7c..05131304 100644 --- a/lib/Model/DeductLoyaltyPointsEffectProps.php +++ b/lib/Model/DeductLoyaltyPointsEffectProps.php @@ -441,7 +441,7 @@ public function setCardIdentifier($cardIdentifier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -453,6 +453,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -466,7 +467,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; @@ -482,7 +483,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/Effect.php b/lib/Model/Effect.php index 15f78b8f..c4849065 100644 --- a/lib/Model/Effect.php +++ b/lib/Model/Effect.php @@ -463,7 +463,7 @@ public function setProps($props) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -475,6 +475,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -488,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; @@ -504,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/EffectEntity.php b/lib/Model/EffectEntity.php index 54b16b79..c8c5e905 100644 --- a/lib/Model/EffectEntity.php +++ b/lib/Model/EffectEntity.php @@ -430,7 +430,7 @@ public function setTriggeredForCatalogItem($triggeredForCatalogItem) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -442,6 +442,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -455,7 +456,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; @@ -471,7 +472,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/EmailEntity.php b/lib/Model/EmailEntity.php index 37cfaf20..7df98667 100644 --- a/lib/Model/EmailEntity.php +++ b/lib/Model/EmailEntity.php @@ -237,7 +237,7 @@ public function setEmail($email) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/Endpoint.php b/lib/Model/Endpoint.php index 02e7b9d9..b7fc9906 100644 --- a/lib/Model/Endpoint.php +++ b/lib/Model/Endpoint.php @@ -237,7 +237,7 @@ public function setPath($path) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/Entity.php b/lib/Model/Entity.php index 149a1037..1ffdd234 100644 --- a/lib/Model/Entity.php +++ b/lib/Model/Entity.php @@ -270,7 +270,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/EntityWithTalangVisibleID.php b/lib/Model/EntityWithTalangVisibleID.php index 86c9e8ce..3307421a 100644 --- a/lib/Model/EntityWithTalangVisibleID.php +++ b/lib/Model/EntityWithTalangVisibleID.php @@ -270,7 +270,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/Environment.php b/lib/Model/Environment.php index f88b2e4a..e368c1c2 100644 --- a/lib/Model/Environment.php +++ b/lib/Model/Environment.php @@ -616,7 +616,7 @@ public function setCollections($collections) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -628,6 +628,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -641,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; @@ -657,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/ErrorEffectProps.php b/lib/Model/ErrorEffectProps.php index 0640deb6..6211c9cd 100644 --- a/lib/Model/ErrorEffectProps.php +++ b/lib/Model/ErrorEffectProps.php @@ -238,7 +238,7 @@ public function setMessage($message) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/ErrorResponse.php b/lib/Model/ErrorResponse.php index dc312d0f..e4ddffe6 100644 --- a/lib/Model/ErrorResponse.php +++ b/lib/Model/ErrorResponse.php @@ -267,7 +267,7 @@ public function setErrors($errors) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,6 +279,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -292,7 +293,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 +309,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/ErrorResponseWithStatus.php b/lib/Model/ErrorResponseWithStatus.php index 06a07cb9..adf0ddfc 100644 --- a/lib/Model/ErrorResponseWithStatus.php +++ b/lib/Model/ErrorResponseWithStatus.php @@ -294,7 +294,7 @@ public function setStatusCode($statusCode) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/ErrorSource.php b/lib/Model/ErrorSource.php index 04cfcd20..39182804 100644 --- a/lib/Model/ErrorSource.php +++ b/lib/Model/ErrorSource.php @@ -325,7 +325,7 @@ public function setResource($resource) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -337,6 +337,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -350,7 +351,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; @@ -366,7 +367,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/EvaluableCampaignIds.php b/lib/Model/EvaluableCampaignIds.php index 1eeae6d9..36d82c17 100644 --- a/lib/Model/EvaluableCampaignIds.php +++ b/lib/Model/EvaluableCampaignIds.php @@ -234,7 +234,7 @@ public function setEvaluableCampaignIds($evaluableCampaignIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/Event.php b/lib/Model/Event.php index 0f8603be..2c159995 100644 --- a/lib/Model/Event.php +++ b/lib/Model/Event.php @@ -535,7 +535,7 @@ public function setMeta($meta) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -547,6 +547,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -560,7 +561,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; @@ -576,7 +577,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/EventType.php b/lib/Model/EventType.php index 95651560..967d6cc4 100644 --- a/lib/Model/EventType.php +++ b/lib/Model/EventType.php @@ -385,7 +385,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -397,6 +397,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -410,7 +411,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; @@ -426,7 +427,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/EventV2.php b/lib/Model/EventV2.php index 5da78398..74248633 100644 --- a/lib/Model/EventV2.php +++ b/lib/Model/EventV2.php @@ -337,7 +337,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -349,6 +349,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -362,7 +363,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; @@ -378,7 +379,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/ExpiringPointsNotificationPolicy.php b/lib/Model/ExpiringPointsNotificationPolicy.php index 60578197..19ca7823 100644 --- a/lib/Model/ExpiringPointsNotificationPolicy.php +++ b/lib/Model/ExpiringPointsNotificationPolicy.php @@ -279,7 +279,7 @@ public function setTriggers($triggers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -291,6 +291,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -304,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; @@ -320,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/ExpiringPointsNotificationTrigger.php b/lib/Model/ExpiringPointsNotificationTrigger.php index 434d9177..c35c8255 100644 --- a/lib/Model/ExpiringPointsNotificationTrigger.php +++ b/lib/Model/ExpiringPointsNotificationTrigger.php @@ -311,7 +311,7 @@ public function setPeriod($period) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -323,6 +323,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -336,7 +337,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; @@ -352,7 +353,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/Export.php b/lib/Model/Export.php index 2dec49e1..fc202f43 100644 --- a/lib/Model/Export.php +++ b/lib/Model/Export.php @@ -445,7 +445,7 @@ public function setFilter($filter) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -457,6 +457,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -470,7 +471,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; @@ -486,7 +487,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/FeatureFlag.php b/lib/Model/FeatureFlag.php index 3091ca5c..82835a0e 100644 --- a/lib/Model/FeatureFlag.php +++ b/lib/Model/FeatureFlag.php @@ -330,7 +330,7 @@ public function setModified($modified) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -342,6 +342,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -355,7 +356,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; @@ -371,7 +372,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/FeaturesFeed.php b/lib/Model/FeaturesFeed.php index 59d0d49f..e4c888a4 100644 --- a/lib/Model/FeaturesFeed.php +++ b/lib/Model/FeaturesFeed.php @@ -265,7 +265,7 @@ public function setPubDate($pubDate) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -277,6 +277,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -290,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; @@ -306,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/FeedNotification.php b/lib/Model/FeedNotification.php index 79f5dcfb..d9af7004 100644 --- a/lib/Model/FeedNotification.php +++ b/lib/Model/FeedNotification.php @@ -441,7 +441,7 @@ public function setBody($body) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -453,6 +453,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -466,7 +467,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; @@ -482,7 +483,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/FuncArgDef.php b/lib/Model/FuncArgDef.php index f384afbe..9c3debac 100644 --- a/lib/Model/FuncArgDef.php +++ b/lib/Model/FuncArgDef.php @@ -317,7 +317,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -329,6 +329,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -342,7 +343,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; @@ -358,7 +359,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/FunctionDef.php b/lib/Model/FunctionDef.php index 348f49b0..189129a6 100644 --- a/lib/Model/FunctionDef.php +++ b/lib/Model/FunctionDef.php @@ -372,7 +372,7 @@ public function setArgs($args) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -384,6 +384,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -397,7 +398,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; @@ -413,7 +414,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/Giveaway.php b/lib/Model/Giveaway.php index f7849434..ea92dd29 100644 --- a/lib/Model/Giveaway.php +++ b/lib/Model/Giveaway.php @@ -547,7 +547,7 @@ public function setProfileId($profileId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -559,6 +559,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -572,7 +573,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; @@ -588,7 +589,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/GiveawaysPool.php b/lib/Model/GiveawaysPool.php index f6faf812..6add86f0 100644 --- a/lib/Model/GiveawaysPool.php +++ b/lib/Model/GiveawaysPool.php @@ -523,7 +523,7 @@ public function setModifiedBy($modifiedBy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -535,6 +535,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -548,7 +549,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; @@ -564,7 +565,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/Import.php b/lib/Model/Import.php index b119e850..8d9c3871 100644 --- a/lib/Model/Import.php +++ b/lib/Model/Import.php @@ -412,7 +412,7 @@ public function setAmount($amount) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -424,6 +424,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -437,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; @@ -453,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/ImportEntity.php b/lib/Model/ImportEntity.php index 6cb4e56c..5e93d0fc 100644 --- a/lib/Model/ImportEntity.php +++ b/lib/Model/ImportEntity.php @@ -234,7 +234,7 @@ public function setImportId($importId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/InlineResponse200.php b/lib/Model/InlineResponse200.php index 244fc359..214117f4 100644 --- a/lib/Model/InlineResponse200.php +++ b/lib/Model/InlineResponse200.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2001.php b/lib/Model/InlineResponse2001.php index fdcf87bb..77818ad3 100644 --- a/lib/Model/InlineResponse2001.php +++ b/lib/Model/InlineResponse2001.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20010.php b/lib/Model/InlineResponse20010.php index 223ec963..3a8f1303 100644 --- a/lib/Model/InlineResponse20010.php +++ b/lib/Model/InlineResponse20010.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20011.php b/lib/Model/InlineResponse20011.php index 44a35528..1792ec02 100644 --- a/lib/Model/InlineResponse20011.php +++ b/lib/Model/InlineResponse20011.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20012.php b/lib/Model/InlineResponse20012.php index ee1d889b..241155cc 100644 --- a/lib/Model/InlineResponse20012.php +++ b/lib/Model/InlineResponse20012.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20013.php b/lib/Model/InlineResponse20013.php index bd426210..9e61e827 100644 --- a/lib/Model/InlineResponse20013.php +++ b/lib/Model/InlineResponse20013.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20014.php b/lib/Model/InlineResponse20014.php index 172048c1..060e96fa 100644 --- a/lib/Model/InlineResponse20014.php +++ b/lib/Model/InlineResponse20014.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20015.php b/lib/Model/InlineResponse20015.php index a69290a8..75aaebfb 100644 --- a/lib/Model/InlineResponse20015.php +++ b/lib/Model/InlineResponse20015.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20016.php b/lib/Model/InlineResponse20016.php index ab8a0c98..1656305a 100644 --- a/lib/Model/InlineResponse20016.php +++ b/lib/Model/InlineResponse20016.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20017.php b/lib/Model/InlineResponse20017.php index 9110c219..12be54f5 100644 --- a/lib/Model/InlineResponse20017.php +++ b/lib/Model/InlineResponse20017.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20018.php b/lib/Model/InlineResponse20018.php index 52cf0057..a73a3c35 100644 --- a/lib/Model/InlineResponse20018.php +++ b/lib/Model/InlineResponse20018.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20019.php b/lib/Model/InlineResponse20019.php index 8ac1a0bf..ea22c0c4 100644 --- a/lib/Model/InlineResponse20019.php +++ b/lib/Model/InlineResponse20019.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2002.php b/lib/Model/InlineResponse2002.php index f4bd1da2..f171264f 100644 --- a/lib/Model/InlineResponse2002.php +++ b/lib/Model/InlineResponse2002.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20020.php b/lib/Model/InlineResponse20020.php index c02e5438..37071d57 100644 --- a/lib/Model/InlineResponse20020.php +++ b/lib/Model/InlineResponse20020.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20021.php b/lib/Model/InlineResponse20021.php index 19036961..6006de69 100644 --- a/lib/Model/InlineResponse20021.php +++ b/lib/Model/InlineResponse20021.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20022.php b/lib/Model/InlineResponse20022.php index 0d8a49a1..1a2582c7 100644 --- a/lib/Model/InlineResponse20022.php +++ b/lib/Model/InlineResponse20022.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20023.php b/lib/Model/InlineResponse20023.php index 7a836d35..9860bd6b 100644 --- a/lib/Model/InlineResponse20023.php +++ b/lib/Model/InlineResponse20023.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20024.php b/lib/Model/InlineResponse20024.php index 1df724cb..b1477a4b 100644 --- a/lib/Model/InlineResponse20024.php +++ b/lib/Model/InlineResponse20024.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20025.php b/lib/Model/InlineResponse20025.php index fe242bc1..9ed9e679 100644 --- a/lib/Model/InlineResponse20025.php +++ b/lib/Model/InlineResponse20025.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20026.php b/lib/Model/InlineResponse20026.php index 2d6db01d..0c861e8a 100644 --- a/lib/Model/InlineResponse20026.php +++ b/lib/Model/InlineResponse20026.php @@ -267,7 +267,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,6 +279,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -292,7 +293,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 +309,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/InlineResponse20027.php b/lib/Model/InlineResponse20027.php index d7f1c3f9..8d7b57cc 100644 --- a/lib/Model/InlineResponse20027.php +++ b/lib/Model/InlineResponse20027.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20028.php b/lib/Model/InlineResponse20028.php index 97cf449f..e3c9313b 100644 --- a/lib/Model/InlineResponse20028.php +++ b/lib/Model/InlineResponse20028.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20029.php b/lib/Model/InlineResponse20029.php index b9d0b4d6..b3c40eb7 100644 --- a/lib/Model/InlineResponse20029.php +++ b/lib/Model/InlineResponse20029.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse2003.php b/lib/Model/InlineResponse2003.php index 1d80944f..d98a9623 100644 --- a/lib/Model/InlineResponse2003.php +++ b/lib/Model/InlineResponse2003.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20030.php b/lib/Model/InlineResponse20030.php index cba0b10d..eb2c91de 100644 --- a/lib/Model/InlineResponse20030.php +++ b/lib/Model/InlineResponse20030.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20031.php b/lib/Model/InlineResponse20031.php index ba670714..44f0bbd3 100644 --- a/lib/Model/InlineResponse20031.php +++ b/lib/Model/InlineResponse20031.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20032.php b/lib/Model/InlineResponse20032.php index c8ddf73f..7c7f87fd 100644 --- a/lib/Model/InlineResponse20032.php +++ b/lib/Model/InlineResponse20032.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20033.php b/lib/Model/InlineResponse20033.php index 8c183099..f7c127cf 100644 --- a/lib/Model/InlineResponse20033.php +++ b/lib/Model/InlineResponse20033.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20034.php b/lib/Model/InlineResponse20034.php index ed6b4bb7..5dbf4301 100644 --- a/lib/Model/InlineResponse20034.php +++ b/lib/Model/InlineResponse20034.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20035.php b/lib/Model/InlineResponse20035.php index 4b46e3f6..bf15c4e7 100644 --- a/lib/Model/InlineResponse20035.php +++ b/lib/Model/InlineResponse20035.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20036.php b/lib/Model/InlineResponse20036.php index 2602d26f..d989c847 100644 --- a/lib/Model/InlineResponse20036.php +++ b/lib/Model/InlineResponse20036.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20037.php b/lib/Model/InlineResponse20037.php index b666162a..6becbc65 100644 --- a/lib/Model/InlineResponse20037.php +++ b/lib/Model/InlineResponse20037.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20038.php b/lib/Model/InlineResponse20038.php index efe20833..86d110e6 100644 --- a/lib/Model/InlineResponse20038.php +++ b/lib/Model/InlineResponse20038.php @@ -297,7 +297,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -309,6 +309,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -322,7 +323,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 +339,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/InlineResponse20039.php b/lib/Model/InlineResponse20039.php index 6fe090f8..272667fe 100644 --- a/lib/Model/InlineResponse20039.php +++ b/lib/Model/InlineResponse20039.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2004.php b/lib/Model/InlineResponse2004.php index 67fc15c6..d12f102f 100644 --- a/lib/Model/InlineResponse2004.php +++ b/lib/Model/InlineResponse2004.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse20040.php b/lib/Model/InlineResponse20040.php index f8988f9c..f218a743 100644 --- a/lib/Model/InlineResponse20040.php +++ b/lib/Model/InlineResponse20040.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2005.php b/lib/Model/InlineResponse2005.php index c9bef198..95226dff 100644 --- a/lib/Model/InlineResponse2005.php +++ b/lib/Model/InlineResponse2005.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2006.php b/lib/Model/InlineResponse2006.php index 6de9f4e7..deff14c9 100644 --- a/lib/Model/InlineResponse2006.php +++ b/lib/Model/InlineResponse2006.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2007.php b/lib/Model/InlineResponse2007.php index 0ea3e32f..e7a72218 100644 --- a/lib/Model/InlineResponse2007.php +++ b/lib/Model/InlineResponse2007.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2008.php b/lib/Model/InlineResponse2008.php index 0ade85d4..31b3167c 100644 --- a/lib/Model/InlineResponse2008.php +++ b/lib/Model/InlineResponse2008.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse2009.php b/lib/Model/InlineResponse2009.php index cb265475..042261bf 100644 --- a/lib/Model/InlineResponse2009.php +++ b/lib/Model/InlineResponse2009.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/InlineResponse201.php b/lib/Model/InlineResponse201.php index b9f5ed7b..4c4d53b9 100644 --- a/lib/Model/InlineResponse201.php +++ b/lib/Model/InlineResponse201.php @@ -270,7 +270,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/IntegrationCoupon.php b/lib/Model/IntegrationCoupon.php index e18ca807..f33156cb 100644 --- a/lib/Model/IntegrationCoupon.php +++ b/lib/Model/IntegrationCoupon.php @@ -951,7 +951,7 @@ public function setProfileRedemptionCount($profileRedemptionCount) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -963,6 +963,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -976,7 +977,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; @@ -992,7 +993,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/IntegrationCustomerSessionResponse.php b/lib/Model/IntegrationCustomerSessionResponse.php index 65bff10a..20038288 100644 --- a/lib/Model/IntegrationCustomerSessionResponse.php +++ b/lib/Model/IntegrationCustomerSessionResponse.php @@ -264,7 +264,7 @@ public function setEffects($effects) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -276,6 +276,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -289,7 +290,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; @@ -305,7 +306,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/IntegrationEntity.php b/lib/Model/IntegrationEntity.php index 67870fb5..40d08689 100644 --- a/lib/Model/IntegrationEntity.php +++ b/lib/Model/IntegrationEntity.php @@ -278,7 +278,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -290,6 +290,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -303,7 +304,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; @@ -319,7 +320,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/IntegrationEvent.php b/lib/Model/IntegrationEvent.php index 7dd88459..25270c6e 100644 --- a/lib/Model/IntegrationEvent.php +++ b/lib/Model/IntegrationEvent.php @@ -310,7 +310,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -322,6 +322,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -335,7 +336,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; @@ -351,7 +352,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/IntegrationEventV2Request.php b/lib/Model/IntegrationEventV2Request.php index c7316119..2fbb309e 100644 --- a/lib/Model/IntegrationEventV2Request.php +++ b/lib/Model/IntegrationEventV2Request.php @@ -399,7 +399,7 @@ public function setResponseContent($responseContent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -411,6 +411,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -424,7 +425,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; @@ -440,7 +441,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/IntegrationProfileEntity.php b/lib/Model/IntegrationProfileEntity.php index e7c9d544..0a9e351f 100644 --- a/lib/Model/IntegrationProfileEntity.php +++ b/lib/Model/IntegrationProfileEntity.php @@ -234,7 +234,7 @@ public function setProfileId($profileId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/IntegrationRequest.php b/lib/Model/IntegrationRequest.php index 2a36a917..dc545e8c 100644 --- a/lib/Model/IntegrationRequest.php +++ b/lib/Model/IntegrationRequest.php @@ -308,7 +308,7 @@ public function setResponseContent($responseContent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -320,6 +320,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -333,7 +334,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 +350,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/IntegrationState.php b/lib/Model/IntegrationState.php index 9a323b6f..0c3fb519 100644 --- a/lib/Model/IntegrationState.php +++ b/lib/Model/IntegrationState.php @@ -364,7 +364,7 @@ public function setCoupon($coupon) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -376,6 +376,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -389,7 +390,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; @@ -405,7 +406,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/IntegrationStateV2.php b/lib/Model/IntegrationStateV2.php index 741a63ab..f6e4264b 100644 --- a/lib/Model/IntegrationStateV2.php +++ b/lib/Model/IntegrationStateV2.php @@ -634,7 +634,7 @@ public function setPreviousReturns($previousReturns) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -646,6 +646,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -659,7 +660,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 +676,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/InventoryCoupon.php b/lib/Model/InventoryCoupon.php index 5dbd7d1e..f9fd3171 100644 --- a/lib/Model/InventoryCoupon.php +++ b/lib/Model/InventoryCoupon.php @@ -984,7 +984,7 @@ public function setState($state) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -996,6 +996,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -1009,7 +1010,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; @@ -1025,7 +1026,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/InventoryReferral.php b/lib/Model/InventoryReferral.php index daa02f29..8b75fc68 100644 --- a/lib/Model/InventoryReferral.php +++ b/lib/Model/InventoryReferral.php @@ -682,7 +682,7 @@ public function setReferredCustomers($referredCustomers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -694,6 +694,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -707,7 +708,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; @@ -723,7 +724,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/ItemAttribute.php b/lib/Model/ItemAttribute.php index 5a74965f..0c6e0cda 100644 --- a/lib/Model/ItemAttribute.php +++ b/lib/Model/ItemAttribute.php @@ -304,7 +304,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/LedgerEntry.php b/lib/Model/LedgerEntry.php index 368fadbd..a23862cd 100644 --- a/lib/Model/LedgerEntry.php +++ b/lib/Model/LedgerEntry.php @@ -532,7 +532,7 @@ public function setReferenceId($referenceId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -544,6 +544,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -557,7 +558,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; @@ -573,7 +574,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/LedgerInfo.php b/lib/Model/LedgerInfo.php index 63071308..6d8fcc32 100644 --- a/lib/Model/LedgerInfo.php +++ b/lib/Model/LedgerInfo.php @@ -460,7 +460,7 @@ public function setPointsToNextTier($pointsToNextTier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -472,6 +472,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -485,7 +486,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 +502,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/LedgerTransactionLogEntryIntegrationAPI.php b/lib/Model/LedgerTransactionLogEntryIntegrationAPI.php index 6149f3b5..cad922e3 100644 --- a/lib/Model/LedgerTransactionLogEntryIntegrationAPI.php +++ b/lib/Model/LedgerTransactionLogEntryIntegrationAPI.php @@ -664,7 +664,7 @@ public function setRuleName($ruleName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -676,6 +676,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -689,7 +690,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 +706,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/LibraryAttribute.php b/lib/Model/LibraryAttribute.php index d5f5bf20..3fbd1eec 100644 --- a/lib/Model/LibraryAttribute.php +++ b/lib/Model/LibraryAttribute.php @@ -514,7 +514,7 @@ public function setSuggestions($suggestions) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -526,6 +526,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -539,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; @@ -555,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/LimitConfig.php b/lib/Model/LimitConfig.php index 4dfd27c7..58521f57 100644 --- a/lib/Model/LimitConfig.php +++ b/lib/Model/LimitConfig.php @@ -406,7 +406,7 @@ public function setEntities($entities) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -418,6 +418,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -431,7 +432,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; @@ -447,7 +448,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/LimitCounter.php b/lib/Model/LimitCounter.php index f6805868..aab4d607 100644 --- a/lib/Model/LimitCounter.php +++ b/lib/Model/LimitCounter.php @@ -684,7 +684,7 @@ public function setCounter($counter) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -696,6 +696,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -709,7 +710,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; @@ -725,7 +726,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/LoginParams.php b/lib/Model/LoginParams.php index 2232a61c..88ceabc2 100644 --- a/lib/Model/LoginParams.php +++ b/lib/Model/LoginParams.php @@ -271,7 +271,7 @@ public function setPassword($password) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/Loyalty.php b/lib/Model/Loyalty.php index f4b22a04..1323c0fa 100644 --- a/lib/Model/Loyalty.php +++ b/lib/Model/Loyalty.php @@ -268,7 +268,7 @@ public function setPrograms($programs) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -280,6 +280,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -293,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; @@ -309,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/LoyaltyBalance.php b/lib/Model/LoyaltyBalance.php index a3e0316e..28f7fb6c 100644 --- a/lib/Model/LoyaltyBalance.php +++ b/lib/Model/LoyaltyBalance.php @@ -325,7 +325,7 @@ public function setExpiredPoints($expiredPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -337,6 +337,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -350,7 +351,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; @@ -366,7 +367,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/LoyaltyBalances.php b/lib/Model/LoyaltyBalances.php index fb2a29cd..ecd8d18d 100644 --- a/lib/Model/LoyaltyBalances.php +++ b/lib/Model/LoyaltyBalances.php @@ -265,7 +265,7 @@ public function setSubledgerBalances($subledgerBalances) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -277,6 +277,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -290,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; @@ -306,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/LoyaltyCard.php b/lib/Model/LoyaltyCard.php index 5b28cc45..d872fc50 100644 --- a/lib/Model/LoyaltyCard.php +++ b/lib/Model/LoyaltyCard.php @@ -616,7 +616,7 @@ public function setNewCardIdentifier($newCardIdentifier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -628,6 +628,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -641,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; @@ -657,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/LoyaltyCardProfileRegistration.php b/lib/Model/LoyaltyCardProfileRegistration.php index df19a564..e0a087d3 100644 --- a/lib/Model/LoyaltyCardProfileRegistration.php +++ b/lib/Model/LoyaltyCardProfileRegistration.php @@ -278,7 +278,7 @@ public function setTimestamp($timestamp) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -290,6 +290,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -303,7 +304,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; @@ -319,7 +320,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/LoyaltyCardRegistration.php b/lib/Model/LoyaltyCardRegistration.php index 5795d643..e224b9cb 100644 --- a/lib/Model/LoyaltyCardRegistration.php +++ b/lib/Model/LoyaltyCardRegistration.php @@ -237,7 +237,7 @@ public function setIntegrationId($integrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/LoyaltyDashboardData.php b/lib/Model/LoyaltyDashboardData.php index 3020cac6..1eec49e6 100644 --- a/lib/Model/LoyaltyDashboardData.php +++ b/lib/Model/LoyaltyDashboardData.php @@ -502,7 +502,7 @@ public function setEarnedPoints($earnedPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -514,6 +514,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -527,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; @@ -543,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/LoyaltyDashboardPointsBreakdown.php b/lib/Model/LoyaltyDashboardPointsBreakdown.php index 1179f959..d6573bb4 100644 --- a/lib/Model/LoyaltyDashboardPointsBreakdown.php +++ b/lib/Model/LoyaltyDashboardPointsBreakdown.php @@ -270,7 +270,7 @@ public function setCreatedViaRuleEngine($createdViaRuleEngine) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/LoyaltyLedger.php b/lib/Model/LoyaltyLedger.php index 79cc157e..cacdc8c9 100644 --- a/lib/Model/LoyaltyLedger.php +++ b/lib/Model/LoyaltyLedger.php @@ -268,7 +268,7 @@ public function setSubLedgers($subLedgers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -280,6 +280,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -293,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; @@ -309,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/LoyaltyLedgerEntry.php b/lib/Model/LoyaltyLedgerEntry.php index e6b6b896..bb7cda17 100644 --- a/lib/Model/LoyaltyLedgerEntry.php +++ b/lib/Model/LoyaltyLedgerEntry.php @@ -643,7 +643,7 @@ public function setArchived($archived) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -655,6 +655,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -668,7 +669,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; @@ -684,7 +685,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/LoyaltyLedgerTransactions.php b/lib/Model/LoyaltyLedgerTransactions.php index 1b0abe46..a4d2288f 100644 --- a/lib/Model/LoyaltyLedgerTransactions.php +++ b/lib/Model/LoyaltyLedgerTransactions.php @@ -265,7 +265,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -277,6 +277,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -290,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; @@ -306,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/LoyaltyMembership.php b/lib/Model/LoyaltyMembership.php index 6b097d95..217fd60d 100644 --- a/lib/Model/LoyaltyMembership.php +++ b/lib/Model/LoyaltyMembership.php @@ -267,7 +267,7 @@ public function setLoyaltyProgramId($loyaltyProgramId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,6 +279,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -292,7 +293,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 +309,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/LoyaltyProgram.php b/lib/Model/LoyaltyProgram.php index abc80392..07cdfae7 100644 --- a/lib/Model/LoyaltyProgram.php +++ b/lib/Model/LoyaltyProgram.php @@ -712,7 +712,7 @@ public function setCardBased($cardBased) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -724,6 +724,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -737,7 +738,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; @@ -753,7 +754,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/LoyaltyProgramBalance.php b/lib/Model/LoyaltyProgramBalance.php index 49405f4f..84bc3b15 100644 --- a/lib/Model/LoyaltyProgramBalance.php +++ b/lib/Model/LoyaltyProgramBalance.php @@ -400,7 +400,7 @@ public function setTentativePendingBalance($tentativePendingBalance) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -412,6 +412,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -425,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; @@ -441,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/LoyaltyProgramEntity.php b/lib/Model/LoyaltyProgramEntity.php index 40d44d02..5adb0b41 100644 --- a/lib/Model/LoyaltyProgramEntity.php +++ b/lib/Model/LoyaltyProgramEntity.php @@ -237,7 +237,7 @@ public function setProgramID($programID) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/LoyaltyProgramLedgers.php b/lib/Model/LoyaltyProgramLedgers.php index 8a372443..7a2aa768 100644 --- a/lib/Model/LoyaltyProgramLedgers.php +++ b/lib/Model/LoyaltyProgramLedgers.php @@ -367,7 +367,7 @@ public function setSubLedgers($subLedgers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -379,6 +379,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -392,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; @@ -408,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/LoyaltyProgramTransaction.php b/lib/Model/LoyaltyProgramTransaction.php index 2058b257..bfc97d44 100644 --- a/lib/Model/LoyaltyProgramTransaction.php +++ b/lib/Model/LoyaltyProgramTransaction.php @@ -829,7 +829,7 @@ public function setRuleName($ruleName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -841,6 +841,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -854,7 +855,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; @@ -870,7 +871,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/LoyaltyStatistics.php b/lib/Model/LoyaltyStatistics.php index c58c0c3f..b9cc6c84 100644 --- a/lib/Model/LoyaltyStatistics.php +++ b/lib/Model/LoyaltyStatistics.php @@ -502,7 +502,7 @@ public function setEarnedPoints($earnedPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -514,6 +514,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -527,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; @@ -543,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/LoyaltySubLedger.php b/lib/Model/LoyaltySubLedger.php index 889329e4..afb4daa5 100644 --- a/lib/Model/LoyaltySubLedger.php +++ b/lib/Model/LoyaltySubLedger.php @@ -550,7 +550,7 @@ public function setCurrentTier($currentTier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -562,6 +562,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -575,7 +576,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; @@ -591,7 +592,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/LoyaltyTier.php b/lib/Model/LoyaltyTier.php index fd2ee90c..600bc363 100644 --- a/lib/Model/LoyaltyTier.php +++ b/lib/Model/LoyaltyTier.php @@ -386,7 +386,7 @@ public function setMinPoints($minPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -398,6 +398,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -411,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; @@ -427,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/ManagementKey.php b/lib/Model/ManagementKey.php index 723c7aed..3ee04386 100644 --- a/lib/Model/ManagementKey.php +++ b/lib/Model/ManagementKey.php @@ -466,7 +466,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -478,6 +478,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -491,7 +492,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; @@ -507,7 +508,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/ManagerConfig.php b/lib/Model/ManagerConfig.php index 77fbd4ba..39a4cfc3 100644 --- a/lib/Model/ManagerConfig.php +++ b/lib/Model/ManagerConfig.php @@ -237,7 +237,7 @@ public function setSchemaVersion($schemaVersion) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/Meta.php b/lib/Model/Meta.php index 80708f19..56acd398 100644 --- a/lib/Model/Meta.php +++ b/lib/Model/Meta.php @@ -354,7 +354,7 @@ public function setWarnings($warnings) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -366,6 +366,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -379,7 +380,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; @@ -395,7 +396,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/ModelReturn.php b/lib/Model/ModelReturn.php index dc51578f..0c56d4e2 100644 --- a/lib/Model/ModelReturn.php +++ b/lib/Model/ModelReturn.php @@ -575,7 +575,7 @@ public function setCreatedBy($createdBy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -587,6 +587,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -600,7 +601,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; @@ -616,7 +617,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/MultiApplicationEntity.php b/lib/Model/MultiApplicationEntity.php index 7c9fe1dd..f6407754 100644 --- a/lib/Model/MultiApplicationEntity.php +++ b/lib/Model/MultiApplicationEntity.php @@ -237,7 +237,7 @@ public function setApplicationIds($applicationIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/MultipleAttribute.php b/lib/Model/MultipleAttribute.php index c23e0b9d..0fbc44f3 100644 --- a/lib/Model/MultipleAttribute.php +++ b/lib/Model/MultipleAttribute.php @@ -234,7 +234,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/MultipleAudiences.php b/lib/Model/MultipleAudiences.php index f155d480..a73d2378 100644 --- a/lib/Model/MultipleAudiences.php +++ b/lib/Model/MultipleAudiences.php @@ -270,7 +270,7 @@ public function setAudiences($audiences) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/MultipleAudiencesItem.php b/lib/Model/MultipleAudiencesItem.php index 0c5a9064..c35ae6eb 100644 --- a/lib/Model/MultipleAudiencesItem.php +++ b/lib/Model/MultipleAudiencesItem.php @@ -428,7 +428,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -440,6 +440,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -453,7 +454,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; @@ -469,7 +470,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/MultipleCustomerProfileIntegrationRequest.php b/lib/Model/MultipleCustomerProfileIntegrationRequest.php index 4c94c3b5..0c4151af 100644 --- a/lib/Model/MultipleCustomerProfileIntegrationRequest.php +++ b/lib/Model/MultipleCustomerProfileIntegrationRequest.php @@ -234,7 +234,7 @@ public function setCustomerProfiles($customerProfiles) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/MultipleCustomerProfileIntegrationRequestItem.php b/lib/Model/MultipleCustomerProfileIntegrationRequestItem.php index 9c8aafe0..efc22fe5 100644 --- a/lib/Model/MultipleCustomerProfileIntegrationRequestItem.php +++ b/lib/Model/MultipleCustomerProfileIntegrationRequestItem.php @@ -276,7 +276,7 @@ public function setIntegrationId($integrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -288,6 +288,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -301,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; @@ -317,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/MultipleCustomerProfileIntegrationResponseV2.php b/lib/Model/MultipleCustomerProfileIntegrationResponseV2.php index e983df6a..97d4aa39 100644 --- a/lib/Model/MultipleCustomerProfileIntegrationResponseV2.php +++ b/lib/Model/MultipleCustomerProfileIntegrationResponseV2.php @@ -234,7 +234,7 @@ public function setIntegrationStates($integrationStates) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/MultipleNewAttribute.php b/lib/Model/MultipleNewAttribute.php index e6d4c73e..cbe75bca 100644 --- a/lib/Model/MultipleNewAttribute.php +++ b/lib/Model/MultipleNewAttribute.php @@ -234,7 +234,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/MultipleNewAudiences.php b/lib/Model/MultipleNewAudiences.php index 1f3df033..0dff5caa 100644 --- a/lib/Model/MultipleNewAudiences.php +++ b/lib/Model/MultipleNewAudiences.php @@ -237,7 +237,7 @@ public function setAudiences($audiences) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/MutableEntity.php b/lib/Model/MutableEntity.php index dd8e984d..27c92265 100644 --- a/lib/Model/MutableEntity.php +++ b/lib/Model/MutableEntity.php @@ -237,7 +237,7 @@ public function setModified($modified) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/NewAccount.php b/lib/Model/NewAccount.php index 3b42eaa1..a7d6af64 100644 --- a/lib/Model/NewAccount.php +++ b/lib/Model/NewAccount.php @@ -246,7 +246,7 @@ public function setCompanyName($companyName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -258,6 +258,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -271,7 +272,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; @@ -287,7 +288,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/NewAccountSignUp.php b/lib/Model/NewAccountSignUp.php index 22447da3..aa6219ce 100644 --- a/lib/Model/NewAccountSignUp.php +++ b/lib/Model/NewAccountSignUp.php @@ -313,7 +313,7 @@ public function setCompanyName($companyName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -325,6 +325,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -338,7 +339,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; @@ -354,7 +355,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/NewAdditionalCost.php b/lib/Model/NewAdditionalCost.php index e74c7c27..1b78dbc9 100644 --- a/lib/Model/NewAdditionalCost.php +++ b/lib/Model/NewAdditionalCost.php @@ -416,7 +416,7 @@ public function setType($type) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -428,6 +428,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -441,7 +442,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 +458,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/NewApplication.php b/lib/Model/NewApplication.php index b4e73c41..8f796c8c 100644 --- a/lib/Model/NewApplication.php +++ b/lib/Model/NewApplication.php @@ -930,7 +930,7 @@ public function setKey($key) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -942,6 +942,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -955,7 +956,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; @@ -971,7 +972,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/NewApplicationAPIKey.php b/lib/Model/NewApplicationAPIKey.php index b8cad400..87f42a51 100644 --- a/lib/Model/NewApplicationAPIKey.php +++ b/lib/Model/NewApplicationAPIKey.php @@ -545,7 +545,7 @@ public function setKey($key) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -557,6 +557,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -570,7 +571,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; @@ -586,7 +587,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/NewAttribute.php b/lib/Model/NewAttribute.php index d97d3e0c..b2aa4808 100644 --- a/lib/Model/NewAttribute.php +++ b/lib/Model/NewAttribute.php @@ -752,7 +752,7 @@ public function setAllowedSubscriptions($allowedSubscriptions) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -764,6 +764,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -777,7 +778,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; @@ -793,7 +794,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/NewAudience.php b/lib/Model/NewAudience.php index 19745ea3..08369de2 100644 --- a/lib/Model/NewAudience.php +++ b/lib/Model/NewAudience.php @@ -442,7 +442,7 @@ public function setLastUpdate($lastUpdate) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -454,6 +454,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -467,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; @@ -483,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/NewBaseNotification.php b/lib/Model/NewBaseNotification.php index 2a65e37b..0d2635e7 100644 --- a/lib/Model/NewBaseNotification.php +++ b/lib/Model/NewBaseNotification.php @@ -271,7 +271,7 @@ public function setWebhook($webhook) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/NewCampaign.php b/lib/Model/NewCampaign.php index 83858a14..f1ad4e03 100644 --- a/lib/Model/NewCampaign.php +++ b/lib/Model/NewCampaign.php @@ -665,7 +665,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. * * @return $this */ @@ -682,7 +682,7 @@ public function setCampaignGroups($campaignGroups) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -694,6 +694,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -707,7 +708,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; @@ -723,7 +724,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/NewCampaignCollection.php b/lib/Model/NewCampaignCollection.php index ce1b7324..c2915975 100644 --- a/lib/Model/NewCampaignCollection.php +++ b/lib/Model/NewCampaignCollection.php @@ -284,7 +284,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -296,6 +296,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -309,7 +310,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 +326,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/NewCampaignGroup.php b/lib/Model/NewCampaignGroup.php index 0d8d8df9..158fb6f8 100644 --- a/lib/Model/NewCampaignGroup.php +++ b/lib/Model/NewCampaignGroup.php @@ -336,7 +336,7 @@ public function setCampaignIds($campaignIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -348,6 +348,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -361,7 +362,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 +378,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/NewCampaignSet.php b/lib/Model/NewCampaignSet.php index da2c4bf7..69a7b2b3 100644 --- a/lib/Model/NewCampaignSet.php +++ b/lib/Model/NewCampaignSet.php @@ -313,7 +313,7 @@ public function setSet($set) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -325,6 +325,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -338,7 +339,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; @@ -354,7 +355,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/NewCampaignSetV2.php b/lib/Model/NewCampaignSetV2.php index 53ec56a2..651263ab 100644 --- a/lib/Model/NewCampaignSetV2.php +++ b/lib/Model/NewCampaignSetV2.php @@ -313,7 +313,7 @@ public function setSet($set) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -325,6 +325,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -338,7 +339,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; @@ -354,7 +355,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/NewCampaignTemplate.php b/lib/Model/NewCampaignTemplate.php index cbe70c57..135d6877 100644 --- a/lib/Model/NewCampaignTemplate.php +++ b/lib/Model/NewCampaignTemplate.php @@ -709,7 +709,7 @@ public function setDefaultCampaignGroupId($defaultCampaignGroupId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -721,6 +721,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -734,7 +735,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 +751,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/NewCatalog.php b/lib/Model/NewCatalog.php index 14462ed2..ca05a112 100644 --- a/lib/Model/NewCatalog.php +++ b/lib/Model/NewCatalog.php @@ -301,7 +301,7 @@ public function setSubscribedApplicationsIds($subscribedApplicationsIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -313,6 +313,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -326,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; @@ -342,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/NewCollection.php b/lib/Model/NewCollection.php index 56c99180..b31f2ef1 100644 --- a/lib/Model/NewCollection.php +++ b/lib/Model/NewCollection.php @@ -314,7 +314,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -326,6 +326,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -339,7 +340,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; @@ -355,7 +356,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/NewCouponCreationJob.php b/lib/Model/NewCouponCreationJob.php index 73564a7a..1856a439 100644 --- a/lib/Model/NewCouponCreationJob.php +++ b/lib/Model/NewCouponCreationJob.php @@ -518,7 +518,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -530,6 +530,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -543,7 +544,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 +560,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/NewCoupons.php b/lib/Model/NewCoupons.php index fa25d8cf..45475cfc 100644 --- a/lib/Model/NewCoupons.php +++ b/lib/Model/NewCoupons.php @@ -672,7 +672,7 @@ public function setIsReservationMandatory($isReservationMandatory) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -684,6 +684,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -697,7 +698,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; @@ -713,7 +714,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/NewCouponsForMultipleRecipients.php b/lib/Model/NewCouponsForMultipleRecipients.php index a67332eb..56b28008 100644 --- a/lib/Model/NewCouponsForMultipleRecipients.php +++ b/lib/Model/NewCouponsForMultipleRecipients.php @@ -544,7 +544,7 @@ public function setCouponPattern($couponPattern) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -556,6 +556,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -569,7 +570,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; @@ -585,7 +586,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/NewCustomEffect.php b/lib/Model/NewCustomEffect.php index 50924134..0e185b4f 100644 --- a/lib/Model/NewCustomEffect.php +++ b/lib/Model/NewCustomEffect.php @@ -478,7 +478,7 @@ public function setParams($params) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -490,6 +490,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -503,7 +504,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; @@ -519,7 +520,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/NewCustomerProfile.php b/lib/Model/NewCustomerProfile.php index a596daf6..635b739f 100644 --- a/lib/Model/NewCustomerProfile.php +++ b/lib/Model/NewCustomerProfile.php @@ -234,7 +234,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/NewCustomerSession.php b/lib/Model/NewCustomerSession.php index 61436e27..4c07bd7b 100644 --- a/lib/Model/NewCustomerSession.php +++ b/lib/Model/NewCustomerSession.php @@ -497,7 +497,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -509,6 +509,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -522,7 +523,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; @@ -538,7 +539,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/NewCustomerSessionV2.php b/lib/Model/NewCustomerSessionV2.php index 45f33b6d..5700a6f0 100644 --- a/lib/Model/NewCustomerSessionV2.php +++ b/lib/Model/NewCustomerSessionV2.php @@ -549,7 +549,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -561,6 +561,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -574,7 +575,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; @@ -590,7 +591,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/NewEvent.php b/lib/Model/NewEvent.php index 2e053e46..89f4ecce 100644 --- a/lib/Model/NewEvent.php +++ b/lib/Model/NewEvent.php @@ -352,7 +352,7 @@ public function setSessionId($sessionId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -364,6 +364,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -377,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; @@ -393,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/NewEventType.php b/lib/Model/NewEventType.php index c59908e3..f6ff0042 100644 --- a/lib/Model/NewEventType.php +++ b/lib/Model/NewEventType.php @@ -319,7 +319,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -331,6 +331,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -344,7 +345,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; @@ -360,7 +361,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/NewGiveawaysPool.php b/lib/Model/NewGiveawaysPool.php index a2a0109a..c60df8a2 100644 --- a/lib/Model/NewGiveawaysPool.php +++ b/lib/Model/NewGiveawaysPool.php @@ -330,7 +330,7 @@ public function setSandbox($sandbox) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -342,6 +342,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -355,7 +356,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; @@ -371,7 +372,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/NewInternalAudience.php b/lib/Model/NewInternalAudience.php index 345dbb2a..67796e71 100644 --- a/lib/Model/NewInternalAudience.php +++ b/lib/Model/NewInternalAudience.php @@ -306,7 +306,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -318,6 +318,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -331,7 +332,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 +348,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/NewInvitation.php b/lib/Model/NewInvitation.php index 92c560db..940d5d09 100644 --- a/lib/Model/NewInvitation.php +++ b/lib/Model/NewInvitation.php @@ -331,7 +331,7 @@ public function setRoles($roles) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -343,6 +343,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -356,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; @@ -372,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/NewInviteEmail.php b/lib/Model/NewInviteEmail.php index 9db31121..acdb2913 100644 --- a/lib/Model/NewInviteEmail.php +++ b/lib/Model/NewInviteEmail.php @@ -288,7 +288,7 @@ public function setToken($token) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -300,6 +300,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -313,7 +314,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; @@ -329,7 +330,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/NewLoyaltyProgram.php b/lib/Model/NewLoyaltyProgram.php index 05afe24f..52bd39c5 100644 --- a/lib/Model/NewLoyaltyProgram.php +++ b/lib/Model/NewLoyaltyProgram.php @@ -607,7 +607,7 @@ public function setCardBased($cardBased) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -619,6 +619,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -632,7 +633,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; @@ -648,7 +649,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/NewLoyaltyTier.php b/lib/Model/NewLoyaltyTier.php index 23828bca..3f846140 100644 --- a/lib/Model/NewLoyaltyTier.php +++ b/lib/Model/NewLoyaltyTier.php @@ -287,7 +287,7 @@ public function setMinPoints($minPoints) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -299,6 +299,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -312,7 +313,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; @@ -328,7 +329,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/NewManagementKey.php b/lib/Model/NewManagementKey.php index 54e72aea..89d3dd0e 100644 --- a/lib/Model/NewManagementKey.php +++ b/lib/Model/NewManagementKey.php @@ -499,7 +499,7 @@ public function setKey($key) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -511,6 +511,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -524,7 +525,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; @@ -540,7 +541,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/NewMultipleAudiencesItem.php b/lib/Model/NewMultipleAudiencesItem.php index 499b27c4..cbc559c5 100644 --- a/lib/Model/NewMultipleAudiencesItem.php +++ b/lib/Model/NewMultipleAudiencesItem.php @@ -292,7 +292,7 @@ public function setIntegrationId($integrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -304,6 +304,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -317,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; @@ -333,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/NewNotificationWebhook.php b/lib/Model/NewNotificationWebhook.php index 5c9f62a7..0b2df195 100644 --- a/lib/Model/NewNotificationWebhook.php +++ b/lib/Model/NewNotificationWebhook.php @@ -270,7 +270,7 @@ public function setHeaders($headers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/NewOutgoingIntegrationWebhook.php b/lib/Model/NewOutgoingIntegrationWebhook.php index cc4df9ae..27f94d74 100644 --- a/lib/Model/NewOutgoingIntegrationWebhook.php +++ b/lib/Model/NewOutgoingIntegrationWebhook.php @@ -270,7 +270,7 @@ public function setApplicationIds($applicationIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/NewPassword.php b/lib/Model/NewPassword.php index 8ccc8540..2fe32b53 100644 --- a/lib/Model/NewPassword.php +++ b/lib/Model/NewPassword.php @@ -279,7 +279,7 @@ public function setResetToken($resetToken) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -291,6 +291,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -304,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; @@ -320,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/NewPasswordEmail.php b/lib/Model/NewPasswordEmail.php index 4100733c..0b5ac5b4 100644 --- a/lib/Model/NewPasswordEmail.php +++ b/lib/Model/NewPasswordEmail.php @@ -246,7 +246,7 @@ public function setEmail($email) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -258,6 +258,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -271,7 +272,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; @@ -287,7 +288,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/NewPicklist.php b/lib/Model/NewPicklist.php index 91dff0d3..3c86b247 100644 --- a/lib/Model/NewPicklist.php +++ b/lib/Model/NewPicklist.php @@ -306,7 +306,7 @@ public function setValues($values) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -318,6 +318,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -331,7 +332,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 +348,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/NewReferral.php b/lib/Model/NewReferral.php index b73571bc..2d57bbb4 100644 --- a/lib/Model/NewReferral.php +++ b/lib/Model/NewReferral.php @@ -445,7 +445,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -457,6 +457,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -470,7 +471,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; @@ -486,7 +487,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/NewReferralsForMultipleAdvocates.php b/lib/Model/NewReferralsForMultipleAdvocates.php index 5f5270fe..419d4a03 100644 --- a/lib/Model/NewReferralsForMultipleAdvocates.php +++ b/lib/Model/NewReferralsForMultipleAdvocates.php @@ -485,7 +485,7 @@ public function setReferralPattern($referralPattern) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -497,6 +497,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -510,7 +511,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; @@ -526,7 +527,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/NewReturn.php b/lib/Model/NewReturn.php index 21da00f8..4b5c9772 100644 --- a/lib/Model/NewReturn.php +++ b/lib/Model/NewReturn.php @@ -237,7 +237,7 @@ public function setReturnedCartItems($returnedCartItems) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/NewRole.php b/lib/Model/NewRole.php index d49ca20b..af4d77bf 100644 --- a/lib/Model/NewRole.php +++ b/lib/Model/NewRole.php @@ -334,7 +334,7 @@ public function setMembers($members) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -346,6 +346,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -359,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; @@ -375,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/NewRuleset.php b/lib/Model/NewRuleset.php index 8efdf44b..c6de6b81 100644 --- a/lib/Model/NewRuleset.php +++ b/lib/Model/NewRuleset.php @@ -360,7 +360,7 @@ public function setActivate($activate) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -372,6 +372,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -385,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; @@ -401,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/NewSamlConnection.php b/lib/Model/NewSamlConnection.php index 9768d92c..3fc6b721 100644 --- a/lib/Model/NewSamlConnection.php +++ b/lib/Model/NewSamlConnection.php @@ -529,7 +529,7 @@ public function setAudienceURI($audienceURI) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -541,6 +541,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -554,7 +555,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; @@ -570,7 +571,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/NewTemplateDef.php b/lib/Model/NewTemplateDef.php index e78ae5f3..5ed12a85 100644 --- a/lib/Model/NewTemplateDef.php +++ b/lib/Model/NewTemplateDef.php @@ -444,7 +444,7 @@ public function setExpose($expose) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -456,6 +456,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -469,7 +470,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 +486,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/NewUser.php b/lib/Model/NewUser.php index b644bd86..cc58597e 100644 --- a/lib/Model/NewUser.php +++ b/lib/Model/NewUser.php @@ -343,7 +343,7 @@ public function setInviteToken($inviteToken) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -355,6 +355,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -368,7 +369,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; @@ -384,7 +385,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/NewWebhook.php b/lib/Model/NewWebhook.php index 2edc2efa..c7dec6ad 100644 --- a/lib/Model/NewWebhook.php +++ b/lib/Model/NewWebhook.php @@ -513,7 +513,7 @@ public function setEnabled($enabled) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -525,6 +525,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -538,7 +539,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 +555,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/Notification.php b/lib/Model/Notification.php index 88694050..8ddb8605 100644 --- a/lib/Model/Notification.php +++ b/lib/Model/Notification.php @@ -303,7 +303,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,6 +315,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -328,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; @@ -344,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/NotificationWebhook.php b/lib/Model/NotificationWebhook.php index 47f20b2d..3d04f68b 100644 --- a/lib/Model/NotificationWebhook.php +++ b/lib/Model/NotificationWebhook.php @@ -403,7 +403,7 @@ public function setHeaders($headers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -415,6 +415,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -428,7 +429,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; @@ -444,7 +445,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/OutgoingIntegrationBrazePolicy.php b/lib/Model/OutgoingIntegrationBrazePolicy.php index 635c7c1a..b0244a91 100644 --- a/lib/Model/OutgoingIntegrationBrazePolicy.php +++ b/lib/Model/OutgoingIntegrationBrazePolicy.php @@ -270,7 +270,7 @@ public function setApiKey($apiKey) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/OutgoingIntegrationConfiguration.php b/lib/Model/OutgoingIntegrationConfiguration.php index aafa9b2d..b2b960c8 100644 --- a/lib/Model/OutgoingIntegrationConfiguration.php +++ b/lib/Model/OutgoingIntegrationConfiguration.php @@ -336,7 +336,7 @@ public function setPolicy($policy) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -348,6 +348,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -361,7 +362,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 +378,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/OutgoingIntegrationType.php b/lib/Model/OutgoingIntegrationType.php index c3cc8118..93bbfd7b 100644 --- a/lib/Model/OutgoingIntegrationType.php +++ b/lib/Model/OutgoingIntegrationType.php @@ -420,7 +420,7 @@ public function setDocumentationLink($documentationLink) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -432,6 +432,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -445,7 +446,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; @@ -461,7 +462,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/OutgoingIntegrationTypes.php b/lib/Model/OutgoingIntegrationTypes.php index 48b7d47e..0391fb0a 100644 --- a/lib/Model/OutgoingIntegrationTypes.php +++ b/lib/Model/OutgoingIntegrationTypes.php @@ -234,7 +234,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/OutgoingIntegrationWebhookTemplate.php b/lib/Model/OutgoingIntegrationWebhookTemplate.php index 87190f9e..7d679f06 100644 --- a/lib/Model/OutgoingIntegrationWebhookTemplate.php +++ b/lib/Model/OutgoingIntegrationWebhookTemplate.php @@ -470,7 +470,7 @@ public function setMethod($method) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -482,6 +482,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -495,7 +496,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 +512,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/OutgoingIntegrationWebhookTemplates.php b/lib/Model/OutgoingIntegrationWebhookTemplates.php index e6d8c4e4..2a3b4f16 100644 --- a/lib/Model/OutgoingIntegrationWebhookTemplates.php +++ b/lib/Model/OutgoingIntegrationWebhookTemplates.php @@ -234,7 +234,7 @@ public function setData($data) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/PatchItemCatalogAction.php b/lib/Model/PatchItemCatalogAction.php index 8412874a..c833801b 100644 --- a/lib/Model/PatchItemCatalogAction.php +++ b/lib/Model/PatchItemCatalogAction.php @@ -328,7 +328,7 @@ public function setCreateIfNotExists($createIfNotExists) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -340,6 +340,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -353,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; @@ -369,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/PatchManyItemsCatalogAction.php b/lib/Model/PatchManyItemsCatalogAction.php index e18a3997..d302faaf 100644 --- a/lib/Model/PatchManyItemsCatalogAction.php +++ b/lib/Model/PatchManyItemsCatalogAction.php @@ -295,7 +295,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -307,6 +307,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -320,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; @@ -336,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/Picklist.php b/lib/Model/Picklist.php index 8b5a9140..2ca722ad 100644 --- a/lib/Model/Picklist.php +++ b/lib/Model/Picklist.php @@ -496,7 +496,7 @@ public function setImported($imported) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -508,6 +508,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -521,7 +522,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; @@ -537,7 +538,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/PriorityPosition.php b/lib/Model/PriorityPosition.php index 5779a195..911fd980 100644 --- a/lib/Model/PriorityPosition.php +++ b/lib/Model/PriorityPosition.php @@ -305,7 +305,7 @@ public function setPosition($position) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -317,6 +317,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -330,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; @@ -346,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/ProfileAudiencesChanges.php b/lib/Model/ProfileAudiencesChanges.php index cb8460a2..a5f0f434 100644 --- a/lib/Model/ProfileAudiencesChanges.php +++ b/lib/Model/ProfileAudiencesChanges.php @@ -270,7 +270,7 @@ public function setDeletes($deletes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/RedeemReferralEffectProps.php b/lib/Model/RedeemReferralEffectProps.php index 67f4fe1f..65fd0dc5 100644 --- a/lib/Model/RedeemReferralEffectProps.php +++ b/lib/Model/RedeemReferralEffectProps.php @@ -271,7 +271,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/Referral.php b/lib/Model/Referral.php index 9d1f37d6..6b5a2379 100644 --- a/lib/Model/Referral.php +++ b/lib/Model/Referral.php @@ -649,7 +649,7 @@ public function setBatchId($batchId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -661,6 +661,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -674,7 +675,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; @@ -690,7 +691,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/ReferralConstraints.php b/lib/Model/ReferralConstraints.php index d08db92e..b60ed5f9 100644 --- a/lib/Model/ReferralConstraints.php +++ b/lib/Model/ReferralConstraints.php @@ -310,7 +310,7 @@ public function setUsageLimit($usageLimit) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -322,6 +322,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -335,7 +336,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; @@ -351,7 +352,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/ReferralCreatedEffectProps.php b/lib/Model/ReferralCreatedEffectProps.php index 2b4111e6..eba11b03 100644 --- a/lib/Model/ReferralCreatedEffectProps.php +++ b/lib/Model/ReferralCreatedEffectProps.php @@ -238,7 +238,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/ReferralRejectionReason.php b/lib/Model/ReferralRejectionReason.php index 3b7bed28..b597acf3 100644 --- a/lib/Model/ReferralRejectionReason.php +++ b/lib/Model/ReferralRejectionReason.php @@ -356,7 +356,7 @@ public function setReason($reason) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -368,6 +368,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -381,7 +382,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; @@ -397,7 +398,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/RejectCouponEffectProps.php b/lib/Model/RejectCouponEffectProps.php index 04edadf8..c3f47988 100644 --- a/lib/Model/RejectCouponEffectProps.php +++ b/lib/Model/RejectCouponEffectProps.php @@ -361,7 +361,7 @@ public function setDetails($details) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -373,6 +373,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -386,7 +387,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 +403,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/RejectReferralEffectProps.php b/lib/Model/RejectReferralEffectProps.php index c4036e97..4c16b116 100644 --- a/lib/Model/RejectReferralEffectProps.php +++ b/lib/Model/RejectReferralEffectProps.php @@ -361,7 +361,7 @@ public function setDetails($details) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -373,6 +373,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -386,7 +387,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 +403,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/RemoveItemCatalogAction.php b/lib/Model/RemoveItemCatalogAction.php index 08431571..e88748c6 100644 --- a/lib/Model/RemoveItemCatalogAction.php +++ b/lib/Model/RemoveItemCatalogAction.php @@ -238,7 +238,7 @@ public function setSku($sku) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/RemoveManyItemsCatalogAction.php b/lib/Model/RemoveManyItemsCatalogAction.php index 172b38bf..eaec567e 100644 --- a/lib/Model/RemoveManyItemsCatalogAction.php +++ b/lib/Model/RemoveManyItemsCatalogAction.php @@ -235,7 +235,7 @@ public function setFilters($filters) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -247,6 +247,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -260,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; @@ -276,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/ReopenSessionResponse.php b/lib/Model/ReopenSessionResponse.php index 6f2351f4..109047ca 100644 --- a/lib/Model/ReopenSessionResponse.php +++ b/lib/Model/ReopenSessionResponse.php @@ -238,7 +238,7 @@ public function setEffects($effects) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/ReserveCouponEffectProps.php b/lib/Model/ReserveCouponEffectProps.php index 90613c48..b24b0580 100644 --- a/lib/Model/ReserveCouponEffectProps.php +++ b/lib/Model/ReserveCouponEffectProps.php @@ -304,7 +304,7 @@ public function setIsNewReservation($isNewReservation) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/ReturnIntegrationRequest.php b/lib/Model/ReturnIntegrationRequest.php index ff156a77..c37e0df5 100644 --- a/lib/Model/ReturnIntegrationRequest.php +++ b/lib/Model/ReturnIntegrationRequest.php @@ -304,7 +304,7 @@ public function setResponseContent($responseContent) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/ReturnedCartItem.php b/lib/Model/ReturnedCartItem.php index 02499ec9..036ec69b 100644 --- a/lib/Model/ReturnedCartItem.php +++ b/lib/Model/ReturnedCartItem.php @@ -267,7 +267,7 @@ public function setQuantity($quantity) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -279,6 +279,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -292,7 +293,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 +309,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/Role.php b/lib/Model/Role.php index f3acf79d..8261a218 100644 --- a/lib/Model/Role.php +++ b/lib/Model/Role.php @@ -380,7 +380,7 @@ public function getCampaignGroupID() /** * Sets campaignGroupID * - * @param int|null $campaignGroupID The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/managing-campaign-groups) this role was created for. + * @param int|null $campaignGroupID The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this role was created for. * * @return $this */ @@ -493,7 +493,7 @@ public function setAcl($acl) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -505,6 +505,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -518,7 +519,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; @@ -534,7 +535,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/RoleAssign.php b/lib/Model/RoleAssign.php index def3e06e..df240e16 100644 --- a/lib/Model/RoleAssign.php +++ b/lib/Model/RoleAssign.php @@ -271,7 +271,7 @@ public function setRoles($roles) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/RoleMembership.php b/lib/Model/RoleMembership.php index f6fd0a45..92ca7f12 100644 --- a/lib/Model/RoleMembership.php +++ b/lib/Model/RoleMembership.php @@ -270,7 +270,7 @@ public function setUserID($userID) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/RoleV2.php b/lib/Model/RoleV2.php index 565cb1e7..5f02cdb1 100644 --- a/lib/Model/RoleV2.php +++ b/lib/Model/RoleV2.php @@ -354,7 +354,7 @@ public function setMembers($members) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -366,6 +366,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -379,7 +380,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; @@ -395,7 +396,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/RoleV2ApplicationDetails.php b/lib/Model/RoleV2ApplicationDetails.php index e6c5a1db..bd282bc3 100644 --- a/lib/Model/RoleV2ApplicationDetails.php +++ b/lib/Model/RoleV2ApplicationDetails.php @@ -294,7 +294,7 @@ public function setDraftCampaign($draftCampaign) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/RoleV2PermissionSet.php b/lib/Model/RoleV2PermissionSet.php index 0a3449ae..b123c736 100644 --- a/lib/Model/RoleV2PermissionSet.php +++ b/lib/Model/RoleV2PermissionSet.php @@ -270,7 +270,7 @@ public function setOperationIds($operationIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/RoleV2Permissions.php b/lib/Model/RoleV2Permissions.php index 97be8016..efc27f45 100644 --- a/lib/Model/RoleV2Permissions.php +++ b/lib/Model/RoleV2Permissions.php @@ -264,7 +264,7 @@ public function setRoles($roles) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -276,6 +276,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -289,7 +290,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; @@ -305,7 +306,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/RoleV2PermissionsRoles.php b/lib/Model/RoleV2PermissionsRoles.php index 94b0e3ad..c11b0bb2 100644 --- a/lib/Model/RoleV2PermissionsRoles.php +++ b/lib/Model/RoleV2PermissionsRoles.php @@ -294,7 +294,7 @@ public function setCampaignAccessGroups($campaignAccessGroups) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/RollbackAddedLoyaltyPointsEffectProps.php b/lib/Model/RollbackAddedLoyaltyPointsEffectProps.php index 42a1a9f3..29209be0 100644 --- a/lib/Model/RollbackAddedLoyaltyPointsEffectProps.php +++ b/lib/Model/RollbackAddedLoyaltyPointsEffectProps.php @@ -476,7 +476,7 @@ public function setCardIdentifier($cardIdentifier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -488,6 +488,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -501,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; @@ -517,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/RollbackCouponEffectProps.php b/lib/Model/RollbackCouponEffectProps.php index d993854a..78102b82 100644 --- a/lib/Model/RollbackCouponEffectProps.php +++ b/lib/Model/RollbackCouponEffectProps.php @@ -238,7 +238,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/RollbackDeductedLoyaltyPointsEffectProps.php b/lib/Model/RollbackDeductedLoyaltyPointsEffectProps.php index ff7cd643..e2e0bf59 100644 --- a/lib/Model/RollbackDeductedLoyaltyPointsEffectProps.php +++ b/lib/Model/RollbackDeductedLoyaltyPointsEffectProps.php @@ -476,7 +476,7 @@ public function setCardIdentifier($cardIdentifier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -488,6 +488,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -501,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; @@ -517,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/RollbackDiscountEffectProps.php b/lib/Model/RollbackDiscountEffectProps.php index fa78948d..3187f839 100644 --- a/lib/Model/RollbackDiscountEffectProps.php +++ b/lib/Model/RollbackDiscountEffectProps.php @@ -421,7 +421,7 @@ public function setScope($scope) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -433,6 +433,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -446,7 +447,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; @@ -462,7 +463,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/RollbackReferralEffectProps.php b/lib/Model/RollbackReferralEffectProps.php index affd5ad5..89bb5120 100644 --- a/lib/Model/RollbackReferralEffectProps.php +++ b/lib/Model/RollbackReferralEffectProps.php @@ -238,7 +238,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/Rule.php b/lib/Model/Rule.php index cba4338e..ec4ab613 100644 --- a/lib/Model/Rule.php +++ b/lib/Model/Rule.php @@ -423,7 +423,7 @@ public function setEffects($effects) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -435,6 +435,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -448,7 +449,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; @@ -464,7 +465,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/RuleFailureReason.php b/lib/Model/RuleFailureReason.php index 3846382b..782f35bb 100644 --- a/lib/Model/RuleFailureReason.php +++ b/lib/Model/RuleFailureReason.php @@ -580,7 +580,7 @@ public function setDetails($details) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -592,6 +592,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -605,7 +606,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; @@ -621,7 +622,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/Ruleset.php b/lib/Model/Ruleset.php index c5915f35..4613b8b4 100644 --- a/lib/Model/Ruleset.php +++ b/lib/Model/Ruleset.php @@ -550,7 +550,7 @@ public function setActivatedAt($activatedAt) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -562,6 +562,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -575,7 +576,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; @@ -591,7 +592,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/SamlConnection.php b/lib/Model/SamlConnection.php index 43c48a67..68a9f000 100644 --- a/lib/Model/SamlConnection.php +++ b/lib/Model/SamlConnection.php @@ -589,7 +589,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -601,6 +601,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -614,7 +615,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; @@ -630,7 +631,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/SamlConnectionMetadata.php b/lib/Model/SamlConnectionMetadata.php index 95042784..6bc3773c 100644 --- a/lib/Model/SamlConnectionMetadata.php +++ b/lib/Model/SamlConnectionMetadata.php @@ -354,7 +354,7 @@ public function setMetadataDocument($metadataDocument) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -366,6 +366,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -379,7 +380,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; @@ -395,7 +396,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/SamlLoginEndpoint.php b/lib/Model/SamlLoginEndpoint.php index bd3ddb1f..2be56887 100644 --- a/lib/Model/SamlLoginEndpoint.php +++ b/lib/Model/SamlLoginEndpoint.php @@ -288,7 +288,7 @@ public function setLoginURL($loginURL) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -300,6 +300,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -313,7 +314,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; @@ -329,7 +330,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/Session.php b/lib/Model/Session.php index b73498f1..78d56391 100644 --- a/lib/Model/Session.php +++ b/lib/Model/Session.php @@ -303,7 +303,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -315,6 +315,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -328,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; @@ -344,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/SetDiscountEffectProps.php b/lib/Model/SetDiscountEffectProps.php index 072dbe1a..b402446b 100644 --- a/lib/Model/SetDiscountEffectProps.php +++ b/lib/Model/SetDiscountEffectProps.php @@ -331,7 +331,7 @@ public function setDesiredValue($desiredValue) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -343,6 +343,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -356,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; @@ -372,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/SetDiscountPerAdditionalCostEffectProps.php b/lib/Model/SetDiscountPerAdditionalCostEffectProps.php index 667385dd..3338dbdb 100644 --- a/lib/Model/SetDiscountPerAdditionalCostEffectProps.php +++ b/lib/Model/SetDiscountPerAdditionalCostEffectProps.php @@ -367,7 +367,7 @@ public function setDesiredValue($desiredValue) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -379,6 +379,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -392,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; @@ -408,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/SetDiscountPerAdditionalCostPerItemEffectProps.php b/lib/Model/SetDiscountPerAdditionalCostPerItemEffectProps.php index c2e38a8a..3337172a 100644 --- a/lib/Model/SetDiscountPerAdditionalCostPerItemEffectProps.php +++ b/lib/Model/SetDiscountPerAdditionalCostPerItemEffectProps.php @@ -430,7 +430,7 @@ public function setDesiredValue($desiredValue) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -442,6 +442,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -455,7 +456,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; @@ -471,7 +472,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/SetDiscountPerItemEffectProps.php b/lib/Model/SetDiscountPerItemEffectProps.php index 0c67de7a..675eeaa4 100644 --- a/lib/Model/SetDiscountPerItemEffectProps.php +++ b/lib/Model/SetDiscountPerItemEffectProps.php @@ -514,7 +514,7 @@ public function setBundleName($bundleName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -526,6 +526,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -539,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; @@ -555,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/ShowBundleMetadataEffectProps.php b/lib/Model/ShowBundleMetadataEffectProps.php index e85c77d5..dcb0885e 100644 --- a/lib/Model/ShowBundleMetadataEffectProps.php +++ b/lib/Model/ShowBundleMetadataEffectProps.php @@ -304,7 +304,7 @@ public function setItemsIndices($itemsIndices) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/ShowNotificationEffectProps.php b/lib/Model/ShowNotificationEffectProps.php index a34230fe..46bea7c8 100644 --- a/lib/Model/ShowNotificationEffectProps.php +++ b/lib/Model/ShowNotificationEffectProps.php @@ -304,7 +304,7 @@ public function setBody($body) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/SlotDef.php b/lib/Model/SlotDef.php index c4bb0e4f..cd9e8745 100644 --- a/lib/Model/SlotDef.php +++ b/lib/Model/SlotDef.php @@ -396,7 +396,7 @@ public function setWritable($writable) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -408,6 +408,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -421,7 +422,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; @@ -437,7 +438,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/StrikethroughChangedItem.php b/lib/Model/StrikethroughChangedItem.php index c6c43704..ce3e7535 100644 --- a/lib/Model/StrikethroughChangedItem.php +++ b/lib/Model/StrikethroughChangedItem.php @@ -442,7 +442,7 @@ public function setEffects($effects) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -454,6 +454,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -467,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; @@ -483,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/StrikethroughCustomEffectPerItemProps.php b/lib/Model/StrikethroughCustomEffectPerItemProps.php index 52fa01ad..40dd1ab7 100644 --- a/lib/Model/StrikethroughCustomEffectPerItemProps.php +++ b/lib/Model/StrikethroughCustomEffectPerItemProps.php @@ -304,7 +304,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -316,6 +316,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -329,7 +330,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 +346,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/StrikethroughEffect.php b/lib/Model/StrikethroughEffect.php index 64ea20a6..1808c5ed 100644 --- a/lib/Model/StrikethroughEffect.php +++ b/lib/Model/StrikethroughEffect.php @@ -403,7 +403,7 @@ public function setProps($props) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -415,6 +415,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -428,7 +429,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; @@ -444,7 +445,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/StrikethroughLabelingNotification.php b/lib/Model/StrikethroughLabelingNotification.php index 757f96ab..f997d896 100644 --- a/lib/Model/StrikethroughLabelingNotification.php +++ b/lib/Model/StrikethroughLabelingNotification.php @@ -370,7 +370,7 @@ public function setChangedItems($changedItems) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -382,6 +382,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -395,7 +396,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; @@ -411,7 +412,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/StrikethroughSetDiscountPerItemEffectProps.php b/lib/Model/StrikethroughSetDiscountPerItemEffectProps.php index 08210b1e..8d6837a8 100644 --- a/lib/Model/StrikethroughSetDiscountPerItemEffectProps.php +++ b/lib/Model/StrikethroughSetDiscountPerItemEffectProps.php @@ -271,7 +271,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/StrikethroughTrigger.php b/lib/Model/StrikethroughTrigger.php index 393ca36d..e2ab9a9e 100644 --- a/lib/Model/StrikethroughTrigger.php +++ b/lib/Model/StrikethroughTrigger.php @@ -370,7 +370,7 @@ public function setPayload($payload) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -382,6 +382,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -395,7 +396,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; @@ -411,7 +412,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/TalangAttribute.php b/lib/Model/TalangAttribute.php index 4474b25a..2e0e1cdd 100644 --- a/lib/Model/TalangAttribute.php +++ b/lib/Model/TalangAttribute.php @@ -584,7 +584,7 @@ public function setExampleValue($exampleValue) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -596,6 +596,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -609,7 +610,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; @@ -625,7 +626,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/TalangAttributeVisibility.php b/lib/Model/TalangAttributeVisibility.php index 60223627..df6eff69 100644 --- a/lib/Model/TalangAttributeVisibility.php +++ b/lib/Model/TalangAttributeVisibility.php @@ -264,7 +264,7 @@ public function setVisible($visible) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -276,6 +276,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -289,7 +290,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; @@ -305,7 +306,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/TemplateArgDef.php b/lib/Model/TemplateArgDef.php index 52bc8613..6d319e0e 100644 --- a/lib/Model/TemplateArgDef.php +++ b/lib/Model/TemplateArgDef.php @@ -453,7 +453,7 @@ public function setRestrictedByPicklist($restrictedByPicklist) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -465,6 +465,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -478,7 +479,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; @@ -494,7 +495,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/TemplateDef.php b/lib/Model/TemplateDef.php index 7a016d53..70f13b22 100644 --- a/lib/Model/TemplateDef.php +++ b/lib/Model/TemplateDef.php @@ -592,7 +592,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -604,6 +604,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -617,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; @@ -633,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/TemplateLimitConfig.php b/lib/Model/TemplateLimitConfig.php index 0dd783ba..ca3d3faf 100644 --- a/lib/Model/TemplateLimitConfig.php +++ b/lib/Model/TemplateLimitConfig.php @@ -407,7 +407,7 @@ public function setEntities($entities) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -419,6 +419,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -432,7 +433,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; @@ -448,7 +449,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/Tier.php b/lib/Model/Tier.php index bdc679fa..e8c5dc88 100644 --- a/lib/Model/Tier.php +++ b/lib/Model/Tier.php @@ -270,7 +270,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -282,6 +282,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -295,7 +296,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; @@ -311,7 +312,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/TransferLoyaltyCard.php b/lib/Model/TransferLoyaltyCard.php index 321a4f5a..d50c5a88 100644 --- a/lib/Model/TransferLoyaltyCard.php +++ b/lib/Model/TransferLoyaltyCard.php @@ -245,7 +245,7 @@ public function setNewCardIdentifier($newCardIdentifier) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -257,6 +257,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -270,7 +271,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; @@ -286,7 +287,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/TriggerWebhookEffectProps.php b/lib/Model/TriggerWebhookEffectProps.php index 338019a0..ccab1582 100644 --- a/lib/Model/TriggerWebhookEffectProps.php +++ b/lib/Model/TriggerWebhookEffectProps.php @@ -271,7 +271,7 @@ public function setWebhookName($webhookName) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/UpdateAccount.php b/lib/Model/UpdateAccount.php index e7350b62..7990105d 100644 --- a/lib/Model/UpdateAccount.php +++ b/lib/Model/UpdateAccount.php @@ -401,7 +401,7 @@ public function setPlanExpires($planExpires) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -413,6 +413,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -426,7 +427,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 +443,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/UpdateApplication.php b/lib/Model/UpdateApplication.php index 17bf3cef..c64d0f0b 100644 --- a/lib/Model/UpdateApplication.php +++ b/lib/Model/UpdateApplication.php @@ -890,7 +890,7 @@ public function setDefaultDiscountAdditionalCostPerItemScope($defaultDiscountAdd * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -902,6 +902,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -915,7 +916,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; @@ -931,7 +932,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/UpdateAttributeEffectProps.php b/lib/Model/UpdateAttributeEffectProps.php index 9a600d62..5a5a3c85 100644 --- a/lib/Model/UpdateAttributeEffectProps.php +++ b/lib/Model/UpdateAttributeEffectProps.php @@ -271,7 +271,7 @@ public function setValue($value) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/UpdateAudience.php b/lib/Model/UpdateAudience.php index a78959fc..891f47ac 100644 --- a/lib/Model/UpdateAudience.php +++ b/lib/Model/UpdateAudience.php @@ -246,7 +246,7 @@ public function setName($name) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -258,6 +258,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -271,7 +272,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; @@ -287,7 +288,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/UpdateCampaign.php b/lib/Model/UpdateCampaign.php index e0d36c4d..5a936765 100644 --- a/lib/Model/UpdateCampaign.php +++ b/lib/Model/UpdateCampaign.php @@ -679,7 +679,7 @@ public function setCampaignGroups($campaignGroups) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -691,6 +691,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -704,7 +705,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; @@ -720,7 +721,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/UpdateCampaignCollection.php b/lib/Model/UpdateCampaignCollection.php index 8d8d8a2f..5f9d53fb 100644 --- a/lib/Model/UpdateCampaignCollection.php +++ b/lib/Model/UpdateCampaignCollection.php @@ -234,7 +234,7 @@ public function setDescription($description) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -246,6 +246,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -259,7 +260,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; @@ -275,7 +276,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/UpdateCampaignGroup.php b/lib/Model/UpdateCampaignGroup.php index cde57075..7e4852ff 100644 --- a/lib/Model/UpdateCampaignGroup.php +++ b/lib/Model/UpdateCampaignGroup.php @@ -337,7 +337,7 @@ public function setCampaignIds($campaignIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -349,6 +349,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -362,7 +363,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; @@ -378,7 +379,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/UpdateCampaignTemplate.php b/lib/Model/UpdateCampaignTemplate.php index 2156467e..9d73b3b1 100644 --- a/lib/Model/UpdateCampaignTemplate.php +++ b/lib/Model/UpdateCampaignTemplate.php @@ -772,7 +772,7 @@ public function setDefaultCampaignGroupId($defaultCampaignGroupId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -784,6 +784,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -797,7 +798,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; @@ -813,7 +814,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/UpdateCatalog.php b/lib/Model/UpdateCatalog.php index 20f0b235..73b6b2b5 100644 --- a/lib/Model/UpdateCatalog.php +++ b/lib/Model/UpdateCatalog.php @@ -294,7 +294,7 @@ public function setSubscribedApplicationsIds($subscribedApplicationsIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -306,6 +306,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -319,7 +320,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; @@ -335,7 +336,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/UpdateCollection.php b/lib/Model/UpdateCollection.php index e7e41b45..f6626c8c 100644 --- a/lib/Model/UpdateCollection.php +++ b/lib/Model/UpdateCollection.php @@ -264,7 +264,7 @@ public function setSubscribedApplicationsIds($subscribedApplicationsIds) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -276,6 +276,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -289,7 +290,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; @@ -305,7 +306,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/UpdateCoupon.php b/lib/Model/UpdateCoupon.php index 90b27afa..ce835a8a 100644 --- a/lib/Model/UpdateCoupon.php +++ b/lib/Model/UpdateCoupon.php @@ -531,7 +531,7 @@ public function setIsReservationMandatory($isReservationMandatory) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -543,6 +543,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -556,7 +557,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; @@ -572,7 +573,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/UpdateCouponBatch.php b/lib/Model/UpdateCouponBatch.php index dc7c54ac..07e398ff 100644 --- a/lib/Model/UpdateCouponBatch.php +++ b/lib/Model/UpdateCouponBatch.php @@ -463,7 +463,7 @@ public function setBatchID($batchID) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -475,6 +475,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -488,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; @@ -504,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/UpdateCustomEffect.php b/lib/Model/UpdateCustomEffect.php index ef1232f6..955cae78 100644 --- a/lib/Model/UpdateCustomEffect.php +++ b/lib/Model/UpdateCustomEffect.php @@ -478,7 +478,7 @@ public function setParams($params) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -490,6 +490,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -503,7 +504,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; @@ -519,7 +520,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/UpdateLoyaltyCard.php b/lib/Model/UpdateLoyaltyCard.php index 570b6bb8..3d3bdb91 100644 --- a/lib/Model/UpdateLoyaltyCard.php +++ b/lib/Model/UpdateLoyaltyCard.php @@ -237,7 +237,7 @@ public function setStatus($status) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/UpdateLoyaltyProgram.php b/lib/Model/UpdateLoyaltyProgram.php index 833af09d..530cc416 100644 --- a/lib/Model/UpdateLoyaltyProgram.php +++ b/lib/Model/UpdateLoyaltyProgram.php @@ -484,7 +484,7 @@ public function setTiers($tiers) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -496,6 +496,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -509,7 +510,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; @@ -525,7 +526,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/UpdatePicklist.php b/lib/Model/UpdatePicklist.php index fd4afe40..f4219402 100644 --- a/lib/Model/UpdatePicklist.php +++ b/lib/Model/UpdatePicklist.php @@ -307,7 +307,7 @@ public function setValues($values) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -319,6 +319,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -332,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; @@ -348,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/UpdateReferral.php b/lib/Model/UpdateReferral.php index 9b3140a7..c54346da 100644 --- a/lib/Model/UpdateReferral.php +++ b/lib/Model/UpdateReferral.php @@ -378,7 +378,7 @@ public function setAttributes($attributes) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -390,6 +390,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -403,7 +404,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; @@ -419,7 +420,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/UpdateReferralBatch.php b/lib/Model/UpdateReferralBatch.php index 9bab8c2e..12a86108 100644 --- a/lib/Model/UpdateReferralBatch.php +++ b/lib/Model/UpdateReferralBatch.php @@ -373,7 +373,7 @@ public function setUsageLimit($usageLimit) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -385,6 +385,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -398,7 +399,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; @@ -414,7 +415,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/UpdateRole.php b/lib/Model/UpdateRole.php index 58eb3d2d..07e762fc 100644 --- a/lib/Model/UpdateRole.php +++ b/lib/Model/UpdateRole.php @@ -324,7 +324,7 @@ public function setMembers($members) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -336,6 +336,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -349,7 +350,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; @@ -365,7 +366,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/UpdateUser.php b/lib/Model/UpdateUser.php index f041c66c..b1968f2b 100644 --- a/lib/Model/UpdateUser.php +++ b/lib/Model/UpdateUser.php @@ -386,7 +386,7 @@ public function setApplicationNotificationSubscriptions($applicationNotification * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -398,6 +398,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -411,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; @@ -427,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/UpdateUserLatestFeedTimestamp.php b/lib/Model/UpdateUserLatestFeedTimestamp.php index 887427a2..bfd83e14 100644 --- a/lib/Model/UpdateUserLatestFeedTimestamp.php +++ b/lib/Model/UpdateUserLatestFeedTimestamp.php @@ -238,7 +238,7 @@ public function setNewLatestFeedTimestamp($newLatestFeedTimestamp) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -250,6 +250,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -263,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; @@ -279,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/User.php b/lib/Model/User.php index 9b460178..b455c6fd 100644 --- a/lib/Model/User.php +++ b/lib/Model/User.php @@ -656,7 +656,7 @@ public function setAuthMethod($authMethod) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -668,6 +668,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -681,7 +682,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; @@ -697,7 +698,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/UserEntity.php b/lib/Model/UserEntity.php index 9f42e957..06f70fe0 100644 --- a/lib/Model/UserEntity.php +++ b/lib/Model/UserEntity.php @@ -237,7 +237,7 @@ public function setUserId($userId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -249,6 +249,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -262,7 +263,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; @@ -278,7 +279,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/UserFeedNotifications.php b/lib/Model/UserFeedNotifications.php index 6d8dab16..977d5663 100644 --- a/lib/Model/UserFeedNotifications.php +++ b/lib/Model/UserFeedNotifications.php @@ -271,7 +271,7 @@ public function setNotifications($notifications) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -283,6 +283,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -296,7 +297,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; @@ -312,7 +313,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/Webhook.php b/lib/Model/Webhook.php index 3da3b25a..0e6ecd8f 100644 --- a/lib/Model/Webhook.php +++ b/lib/Model/Webhook.php @@ -612,7 +612,7 @@ public function setEnabled($enabled) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -624,6 +624,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -637,7 +638,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; @@ -653,7 +654,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/WebhookActivationLogEntry.php b/lib/Model/WebhookActivationLogEntry.php index 86ee8f1c..c3e32469 100644 --- a/lib/Model/WebhookActivationLogEntry.php +++ b/lib/Model/WebhookActivationLogEntry.php @@ -370,7 +370,7 @@ public function setCreated($created) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -382,6 +382,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -395,7 +396,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; @@ -411,7 +412,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/WebhookLogEntry.php b/lib/Model/WebhookLogEntry.php index a66a9ea4..8d09c4fc 100644 --- a/lib/Model/WebhookLogEntry.php +++ b/lib/Model/WebhookLogEntry.php @@ -523,7 +523,7 @@ public function setResponseTime($responseTime) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -535,6 +535,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -548,7 +549,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; @@ -564,7 +565,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/WillAwardGiveawayEffectProps.php b/lib/Model/WillAwardGiveawayEffectProps.php index 436c1878..875ced9e 100644 --- a/lib/Model/WillAwardGiveawayEffectProps.php +++ b/lib/Model/WillAwardGiveawayEffectProps.php @@ -312,7 +312,7 @@ public function setRecipientIntegrationId($recipientIntegrationId) * * @return boolean */ - public function offsetExists($offset) + public function offsetExists($offset): bool { return isset($this->container[$offset]); } @@ -324,6 +324,7 @@ public function offsetExists($offset) * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return isset($this->container[$offset]) ? $this->container[$offset] : null; @@ -337,7 +338,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; @@ -353,7 +354,7 @@ public function offsetSet($offset, $value) * * @return void */ - public function offsetUnset($offset) + public function offsetUnset($offset): void { unset($this->container[$offset]); } From 9592db19acf7c5a9c9cc5318cd422ef6e81659fe Mon Sep 17 00:00:00 2001 From: ruby Date: Wed, 26 Jul 2023 11:03:45 +0200 Subject: [PATCH 2/2] Remove unwanted changes --- lib/Model/Campaign.php | 2 +- lib/Model/CreateTemplateCampaign.php | 2 +- lib/Model/NewCampaign.php | 2 +- lib/Model/Role.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Model/Campaign.php b/lib/Model/Campaign.php index 48e567aa..fb50744a 100644 --- a/lib/Model/Campaign.php +++ b/lib/Model/Campaign.php @@ -921,7 +921,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. * * @return $this */ diff --git a/lib/Model/CreateTemplateCampaign.php b/lib/Model/CreateTemplateCampaign.php index efdc8fea..5726cc6b 100644 --- a/lib/Model/CreateTemplateCampaign.php +++ b/lib/Model/CreateTemplateCampaign.php @@ -418,7 +418,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. * * @return $this */ diff --git a/lib/Model/NewCampaign.php b/lib/Model/NewCampaign.php index f1ad4e03..091a3926 100644 --- a/lib/Model/NewCampaign.php +++ b/lib/Model/NewCampaign.php @@ -665,7 +665,7 @@ public function getCampaignGroups() /** * Sets campaignGroups * - * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this campaign belongs to. + * @param int[]|null $campaignGroups The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. * * @return $this */ diff --git a/lib/Model/Role.php b/lib/Model/Role.php index 8261a218..cac46dc0 100644 --- a/lib/Model/Role.php +++ b/lib/Model/Role.php @@ -380,7 +380,7 @@ public function getCampaignGroupID() /** * Sets campaignGroupID * - * @param int|null $campaignGroupID The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups/) this role was created for. + * @param int|null $campaignGroupID The ID of the [Campaign Group](https://docs.talon.one/docs/product/account/managing-campaign-groups) this role was created for. * * @return $this */