From 651ba8bb447a594b507fc6c6ffb55ed6e3176663 Mon Sep 17 00:00:00 2001 From: Nguyen Van Nguyen Date: Tue, 23 Apr 2024 14:41:24 +0700 Subject: [PATCH] Refactor code Signed-off-by: Nguyen Van Nguyen --- src/Account/AccountApi.php | 144 ++--- src/Account/AccountApiInterface.php | 140 ++--- src/Account/Message/AuthBody.php | 6 +- src/Account/Message/AuthEnvelope.php | 4 +- src/Account/Message/AuthRequest.php | 62 +- src/Account/Message/AuthResponse.php | 46 +- src/Account/Message/AutoCompleteGalBody.php | 6 +- .../Message/AutoCompleteGalEnvelope.php | 4 +- .../Message/AutoCompleteGalRequest.php | 14 +- .../Message/AutoCompleteGalResponse.php | 12 +- src/Account/Message/ChangePasswordBody.php | 6 +- .../Message/ChangePasswordEnvelope.php | 4 +- src/Account/Message/ChangePasswordRequest.php | 8 +- src/Account/Message/CheckRightsBody.php | 6 +- src/Account/Message/CheckRightsEnvelope.php | 4 +- src/Account/Message/ClientInfoBody.php | 6 +- src/Account/Message/ClientInfoEnvelope.php | 4 +- .../Message/CreateDistributionListBody.php | 6 +- .../CreateDistributionListEnvelope.php | 4 +- .../Message/CreateDistributionListRequest.php | 4 +- .../CreateDistributionListResponse.php | 2 +- src/Account/Message/CreateIdentityBody.php | 6 +- .../Message/CreateIdentityEnvelope.php | 4 +- .../Message/CreateIdentityResponse.php | 2 +- src/Account/Message/CreateSignatureBody.php | 6 +- .../Message/CreateSignatureEnvelope.php | 4 +- .../Message/CreateSignatureResponse.php | 2 +- src/Account/Message/DeleteIdentityBody.php | 6 +- .../Message/DeleteIdentityEnvelope.php | 4 +- src/Account/Message/DeleteSignatureBody.php | 6 +- .../Message/DeleteSignatureEnvelope.php | 4 +- src/Account/Message/DiscoverRightsBody.php | 6 +- .../Message/DiscoverRightsEnvelope.php | 4 +- .../Message/DistributionListActionBody.php | 6 +- .../DistributionListActionEnvelope.php | 4 +- src/Account/Message/EndSessionBody.php | 6 +- src/Account/Message/EndSessionEnvelope.php | 4 +- src/Account/Message/EndSessionRequest.php | 16 +- .../GetAccountDistributionListsBody.php | 6 +- .../GetAccountDistributionListsEnvelope.php | 4 +- .../GetAccountDistributionListsRequest.php | 10 +- src/Account/Message/GetAccountInfoBody.php | 6 +- .../Message/GetAccountInfoEnvelope.php | 4 +- .../Message/GetAccountInfoResponse.php | 26 +- src/Account/Message/GetAllLocalesBody.php | 6 +- src/Account/Message/GetAllLocalesEnvelope.php | 4 +- .../Message/GetAvailableCsvFormatsBody.php | 6 +- .../GetAvailableCsvFormatsEnvelope.php | 4 +- .../Message/GetAvailableLocalesBody.php | 6 +- .../Message/GetAvailableLocalesEnvelope.php | 4 +- src/Account/Message/GetAvailableSkinsBody.php | 6 +- .../Message/GetAvailableSkinsEnvelope.php | 4 +- .../Message/GetDistributionListBody.php | 6 +- .../Message/GetDistributionListEnvelope.php | 4 +- .../GetDistributionListMembersBody.php | 6 +- .../GetDistributionListMembersEnvelope.php | 4 +- .../GetDistributionListMembersRequest.php | 8 +- .../GetDistributionListMembersResponse.php | 8 +- .../Message/GetDistributionListRequest.php | 8 +- .../Message/GetDistributionListResponse.php | 2 +- src/Account/Message/GetIdentitiesBody.php | 6 +- src/Account/Message/GetIdentitiesEnvelope.php | 4 +- src/Account/Message/GetInfoBody.php | 6 +- src/Account/Message/GetInfoEnvelope.php | 4 +- src/Account/Message/GetInfoRequest.php | 10 +- src/Account/Message/GetInfoResponse.php | 88 +-- src/Account/Message/GetOAuthConsumersBody.php | 6 +- .../Message/GetOAuthConsumersEnvelope.php | 4 +- src/Account/Message/GetPrefsBody.php | 6 +- src/Account/Message/GetPrefsEnvelope.php | 4 +- src/Account/Message/GetRightsBody.php | 6 +- src/Account/Message/GetRightsEnvelope.php | 4 +- src/Account/Message/GetShareInfoBody.php | 6 +- src/Account/Message/GetShareInfoEnvelope.php | 4 +- src/Account/Message/GetShareInfoRequest.php | 12 +- src/Account/Message/GetSignaturesBody.php | 6 +- src/Account/Message/GetSignaturesEnvelope.php | 4 +- src/Account/Message/GetVersionInfoBody.php | 6 +- .../Message/GetVersionInfoEnvelope.php | 4 +- .../Message/GetVersionInfoResponse.php | 2 +- src/Account/Message/GetWhiteBlackListBody.php | 6 +- .../Message/GetWhiteBlackListEnvelope.php | 4 +- src/Account/Message/GrantRightsBody.php | 6 +- src/Account/Message/GrantRightsEnvelope.php | 4 +- src/Account/Message/ModifyIdentityBody.php | 6 +- .../Message/ModifyIdentityEnvelope.php | 4 +- src/Account/Message/ModifyPrefsBody.php | 6 +- src/Account/Message/ModifyPrefsEnvelope.php | 4 +- src/Account/Message/ModifyPropertiesBody.php | 6 +- .../Message/ModifyPropertiesEnvelope.php | 4 +- src/Account/Message/ModifySignatureBody.php | 6 +- .../Message/ModifySignatureEnvelope.php | 4 +- .../Message/ModifyWhiteBlackListBody.php | 6 +- .../Message/ModifyWhiteBlackListEnvelope.php | 4 +- src/Account/Message/ModifyZimletPrefsBody.php | 6 +- .../Message/ModifyZimletPrefsEnvelope.php | 4 +- src/Account/Message/ResetPasswordBody.php | 6 +- src/Account/Message/ResetPasswordEnvelope.php | 4 +- .../Message/RevokeOAuthConsumerBody.php | 6 +- .../Message/RevokeOAuthConsumerEnvelope.php | 4 +- src/Account/Message/RevokeRightsBody.php | 6 +- src/Account/Message/RevokeRightsEnvelope.php | 4 +- .../Message/SearchCalendarResourcesBody.php | 6 +- .../SearchCalendarResourcesEnvelope.php | 4 +- .../SearchCalendarResourcesRequest.php | 36 +- .../SearchCalendarResourcesResponse.php | 16 +- src/Account/Message/SearchGalBody.php | 6 +- src/Account/Message/SearchGalEnvelope.php | 4 +- src/Account/Message/SearchGalRequest.php | 56 +- src/Account/Message/SearchGalResponse.php | 20 +- .../Message/SubscribeDistributionListBody.php | 6 +- .../SubscribeDistributionListEnvelope.php | 4 +- .../SubscribeDistributionListRequest.php | 2 +- .../SubscribeDistributionListResponse.php | 2 +- src/Account/Message/SyncGalBody.php | 6 +- src/Account/Message/SyncGalEnvelope.php | 4 +- src/Account/Message/SyncGalRequest.php | 20 +- src/Account/Message/SyncGalResponse.php | 24 +- src/Account/Struct/AccountACEInfo.php | 26 +- src/Account/Struct/AccountCustomMetadata.php | 4 +- src/Account/Struct/AccountDataSource.php | 92 +-- .../Struct/AccountZimletConfigInfo.php | 28 +- src/Account/Struct/AccountZimletContext.php | 6 +- src/Account/Struct/AccountZimletDesc.php | 32 +- .../Struct/AccountZimletHostConfigInfo.php | 4 +- src/Account/Struct/AccountZimletInclude.php | 4 +- .../Struct/AccountZimletIncludeCSS.php | 4 +- src/Account/Struct/AccountZimletInfo.php | 6 +- src/Account/Struct/AccountZimletProperty.php | 6 +- src/Account/Struct/AccountZimletTarget.php | 4 +- src/Account/Struct/Attr.php | 6 +- src/Account/Struct/AuthToken.php | 6 +- src/Account/Struct/CheckRightsRightInfo.php | 2 +- src/Account/Struct/CheckRightsTargetInfo.php | 2 +- src/Account/Struct/CheckRightsTargetSpec.php | 2 +- src/Account/Struct/ChildAccount.php | 4 +- src/Account/Struct/ContactGroupMember.php | 2 +- src/Account/Struct/ContactInfo.php | 96 ++-- src/Account/Struct/Cos.php | 6 +- src/Account/Struct/DLInfo.php | 20 +- src/Account/Struct/DiscoverRightsTarget.php | 14 +- src/Account/Struct/DistributionListAction.php | 8 +- .../Struct/DistributionListGranteeInfo.php | 2 +- .../DistributionListGranteeSelector.php | 4 +- src/Account/Struct/DistributionListInfo.php | 12 +- .../Struct/DistributionListSubscribeReq.php | 6 +- src/Account/Struct/EntrySearchFilterInfo.php | 4 +- .../Struct/EntrySearchFilterMultiCond.php | 8 +- .../Struct/EntrySearchFilterSingleCond.php | 6 +- src/Account/Struct/HABGroupMember.php | 2 +- src/Account/Struct/HABMember.php | 4 +- src/Account/Struct/Identity.php | 6 +- src/Account/Struct/LocaleInfo.php | 4 +- src/Account/Struct/ModifyZimletPrefsSpec.php | 2 +- src/Account/Struct/OAuthConsumer.php | 16 +- src/Account/Struct/Pref.php | 6 +- src/Account/Struct/Prop.php | 4 +- src/Account/Struct/Session.php | 4 +- src/Account/Struct/Signature.php | 12 +- src/Account/Struct/SignatureContent.php | 4 +- src/Account/Struct/ZimletPrefsSpec.php | 2 +- src/Account/Struct/ZimletServerExtension.php | 12 +- src/Account/Struct/ZmgDeviceSpec.php | 12 +- src/Admin/AdminApi.php | 378 ++++++------ src/Admin/AdminApiInterface.php | 376 ++++++------ src/Admin/Message/AddAccountAliasBody.php | 6 +- src/Admin/Message/AddAccountAliasEnvelope.php | 4 +- src/Admin/Message/AddAccountLoggerBody.php | 6 +- .../Message/AddAccountLoggerEnvelope.php | 4 +- src/Admin/Message/AddAccountLoggerRequest.php | 4 +- .../Message/AddDistributionListAliasBody.php | 6 +- .../AddDistributionListAliasEnvelope.php | 4 +- .../Message/AddDistributionListMemberBody.php | 6 +- .../AddDistributionListMemberEnvelope.php | 4 +- .../Message/AddGalSyncDataSourceBody.php | 6 +- .../Message/AddGalSyncDataSourceEnvelope.php | 4 +- .../Message/AddGalSyncDataSourceRequest.php | 6 +- .../Message/AddGalSyncDataSourceResponse.php | 2 +- src/Admin/Message/AdminCreateWaitSetBody.php | 6 +- .../Message/AdminCreateWaitSetEnvelope.php | 4 +- .../Message/AdminCreateWaitSetRequest.php | 4 +- src/Admin/Message/AdminDestroyWaitSetBody.php | 6 +- .../Message/AdminDestroyWaitSetEnvelope.php | 4 +- src/Admin/Message/AdminWaitSetBody.php | 6 +- src/Admin/Message/AdminWaitSetEnvelope.php | 4 +- src/Admin/Message/AdminWaitSetRequest.php | 16 +- src/Admin/Message/AdminWaitSetResponse.php | 8 +- src/Admin/Message/AuthBody.php | 6 +- src/Admin/Message/AuthEnvelope.php | 4 +- src/Admin/Message/AuthRequest.php | 30 +- src/Admin/Message/AuthResponse.php | 16 +- src/Admin/Message/AutoCompleteGalBody.php | 6 +- src/Admin/Message/AutoCompleteGalEnvelope.php | 4 +- src/Admin/Message/AutoCompleteGalRequest.php | 10 +- src/Admin/Message/AutoCompleteGalResponse.php | 8 +- src/Admin/Message/AutoProvAccountBody.php | 6 +- src/Admin/Message/AutoProvAccountEnvelope.php | 4 +- src/Admin/Message/AutoProvAccountRequest.php | 4 +- src/Admin/Message/AutoProvAccountResponse.php | 2 +- src/Admin/Message/AutoProvTaskControlBody.php | 6 +- .../Message/AutoProvTaskControlEnvelope.php | 4 +- .../Message/AutoProvTaskControlRequest.php | 2 +- .../Message/AutoProvTaskControlResponse.php | 2 +- src/Admin/Message/ChangePrimaryEmailBody.php | 6 +- .../Message/ChangePrimaryEmailEnvelope.php | 4 +- .../Message/ChangePrimaryEmailResponse.php | 2 +- src/Admin/Message/CheckAuthConfigBody.php | 6 +- src/Admin/Message/CheckAuthConfigEnvelope.php | 4 +- src/Admin/Message/CheckAuthConfigResponse.php | 4 +- .../Message/CheckBlobConsistencyBody.php | 6 +- .../Message/CheckBlobConsistencyEnvelope.php | 4 +- .../Message/CheckBlobConsistencyRequest.php | 6 +- src/Admin/Message/CheckDirectoryBody.php | 6 +- src/Admin/Message/CheckDirectoryEnvelope.php | 4 +- src/Admin/Message/CheckDomainMXRecordBody.php | 6 +- .../Message/CheckDomainMXRecordEnvelope.php | 4 +- .../Message/CheckDomainMXRecordRequest.php | 2 +- .../Message/CheckDomainMXRecordResponse.php | 4 +- src/Admin/Message/CheckExchangeAuthBody.php | 6 +- .../Message/CheckExchangeAuthEnvelope.php | 4 +- .../Message/CheckExchangeAuthRequest.php | 2 +- .../Message/CheckExchangeAuthResponse.php | 4 +- src/Admin/Message/CheckGalConfigBody.php | 6 +- src/Admin/Message/CheckGalConfigEnvelope.php | 4 +- src/Admin/Message/CheckGalConfigRequest.php | 4 +- src/Admin/Message/CheckGalConfigResponse.php | 4 +- src/Admin/Message/CheckHealthBody.php | 6 +- src/Admin/Message/CheckHealthEnvelope.php | 4 +- src/Admin/Message/CheckHealthResponse.php | 2 +- .../Message/CheckHostnameResolveBody.php | 6 +- .../Message/CheckHostnameResolveEnvelope.php | 4 +- .../Message/CheckHostnameResolveRequest.php | 4 +- .../Message/CheckHostnameResolveResponse.php | 4 +- .../Message/CheckPasswordStrengthBody.php | 6 +- .../Message/CheckPasswordStrengthEnvelope.php | 4 +- src/Admin/Message/CheckRightBody.php | 6 +- src/Admin/Message/CheckRightEnvelope.php | 4 +- src/Admin/Message/CheckRightResponse.php | 2 +- src/Admin/Message/ClearCookieBody.php | 6 +- src/Admin/Message/ClearCookieEnvelope.php | 4 +- src/Admin/Message/CompactIndexBody.php | 6 +- src/Admin/Message/CompactIndexEnvelope.php | 4 +- src/Admin/Message/CompactIndexRequest.php | 2 +- src/Admin/Message/CompactIndexResponse.php | 2 +- .../ComputeAggregateQuotaUsageBody.php | 6 +- .../ComputeAggregateQuotaUsageEnvelope.php | 4 +- src/Admin/Message/ConfigureZimletBody.php | 6 +- src/Admin/Message/ConfigureZimletEnvelope.php | 4 +- src/Admin/Message/ContactBackupBody.php | 6 +- src/Admin/Message/ContactBackupEnvelope.php | 4 +- src/Admin/Message/ContactBackupRequest.php | 2 +- src/Admin/Message/CopyCosBody.php | 6 +- src/Admin/Message/CopyCosEnvelope.php | 4 +- src/Admin/Message/CopyCosRequest.php | 4 +- src/Admin/Message/CopyCosResponse.php | 2 +- src/Admin/Message/CountAccountBody.php | 6 +- src/Admin/Message/CountAccountEnvelope.php | 4 +- src/Admin/Message/CountAccountRequest.php | 2 +- src/Admin/Message/CountObjectsBody.php | 6 +- src/Admin/Message/CountObjectsEnvelope.php | 4 +- src/Admin/Message/CountObjectsRequest.php | 8 +- src/Admin/Message/CreateAccountBody.php | 6 +- src/Admin/Message/CreateAccountEnvelope.php | 4 +- src/Admin/Message/CreateAccountRequest.php | 4 +- src/Admin/Message/CreateAccountResponse.php | 2 +- .../Message/CreateAlwaysOnClusterBody.php | 6 +- .../Message/CreateAlwaysOnClusterEnvelope.php | 4 +- .../Message/CreateAlwaysOnClusterResponse.php | 2 +- .../Message/CreateCalendarResourceBody.php | 6 +- .../CreateCalendarResourceEnvelope.php | 4 +- .../Message/CreateCalendarResourceRequest.php | 4 +- .../CreateCalendarResourceResponse.php | 2 +- src/Admin/Message/CreateCosBody.php | 6 +- src/Admin/Message/CreateCosEnvelope.php | 4 +- src/Admin/Message/CreateCosResponse.php | 2 +- src/Admin/Message/CreateDataSourceBody.php | 6 +- .../Message/CreateDataSourceEnvelope.php | 4 +- .../Message/CreateDataSourceResponse.php | 2 +- .../Message/CreateDistributionListBody.php | 6 +- .../CreateDistributionListEnvelope.php | 4 +- .../Message/CreateDistributionListRequest.php | 4 +- .../CreateDistributionListResponse.php | 2 +- src/Admin/Message/CreateDomainBody.php | 6 +- src/Admin/Message/CreateDomainEnvelope.php | 4 +- src/Admin/Message/CreateDomainResponse.php | 2 +- .../Message/CreateGalSyncAccountBody.php | 6 +- .../Message/CreateGalSyncAccountEnvelope.php | 4 +- .../Message/CreateGalSyncAccountRequest.php | 10 +- .../Message/CreateGalSyncAccountResponse.php | 2 +- src/Admin/Message/CreateLDAPEntryBody.php | 6 +- src/Admin/Message/CreateLDAPEntryEnvelope.php | 4 +- src/Admin/Message/CreateLDAPEntryResponse.php | 2 +- src/Admin/Message/CreateServerBody.php | 6 +- src/Admin/Message/CreateServerEnvelope.php | 4 +- src/Admin/Message/CreateServerResponse.php | 2 +- .../CreateSystemRetentionPolicyBody.php | 8 +- .../CreateSystemRetentionPolicyEnvelope.php | 4 +- .../CreateSystemRetentionPolicyRequest.php | 6 +- .../CreateSystemRetentionPolicyResponse.php | 2 +- src/Admin/Message/CreateUCServiceBody.php | 6 +- src/Admin/Message/CreateUCServiceEnvelope.php | 4 +- src/Admin/Message/CreateUCServiceResponse.php | 2 +- src/Admin/Message/CreateVolumeBody.php | 6 +- src/Admin/Message/CreateVolumeEnvelope.php | 4 +- src/Admin/Message/CreateVolumeResponse.php | 2 +- src/Admin/Message/CreateXMPPComponentBody.php | 6 +- .../Message/CreateXMPPComponentEnvelope.php | 4 +- .../Message/CreateXMPPComponentResponse.php | 2 +- src/Admin/Message/CreateZimletBody.php | 6 +- src/Admin/Message/CreateZimletEnvelope.php | 4 +- src/Admin/Message/CreateZimletResponse.php | 2 +- src/Admin/Message/DedupeBlobsBody.php | 6 +- src/Admin/Message/DedupeBlobsEnvelope.php | 4 +- src/Admin/Message/DedupeBlobsRequest.php | 2 +- src/Admin/Message/DedupeBlobsResponse.php | 10 +- src/Admin/Message/DelegateAuthBody.php | 6 +- src/Admin/Message/DelegateAuthEnvelope.php | 4 +- src/Admin/Message/DelegateAuthRequest.php | 4 +- src/Admin/Message/DeleteAccountBody.php | 6 +- src/Admin/Message/DeleteAccountEnvelope.php | 4 +- .../Message/DeleteAlwaysOnClusterBody.php | 6 +- .../Message/DeleteAlwaysOnClusterEnvelope.php | 4 +- .../Message/DeleteCalendarResourceBody.php | 6 +- .../DeleteCalendarResourceEnvelope.php | 4 +- src/Admin/Message/DeleteCosBody.php | 6 +- src/Admin/Message/DeleteCosEnvelope.php | 4 +- src/Admin/Message/DeleteDataSourceBody.php | 6 +- .../Message/DeleteDataSourceEnvelope.php | 4 +- .../Message/DeleteDistributionListBody.php | 6 +- .../DeleteDistributionListEnvelope.php | 4 +- .../Message/DeleteDistributionListRequest.php | 4 +- src/Admin/Message/DeleteDomainBody.php | 6 +- src/Admin/Message/DeleteDomainEnvelope.php | 4 +- .../Message/DeleteGalSyncAccountBody.php | 6 +- .../Message/DeleteGalSyncAccountEnvelope.php | 4 +- src/Admin/Message/DeleteLDAPEntryBody.php | 6 +- src/Admin/Message/DeleteLDAPEntryEnvelope.php | 4 +- src/Admin/Message/DeleteMailboxBody.php | 6 +- src/Admin/Message/DeleteMailboxEnvelope.php | 4 +- src/Admin/Message/DeleteMailboxRequest.php | 2 +- src/Admin/Message/DeleteMailboxResponse.php | 2 +- src/Admin/Message/DeleteServerBody.php | 6 +- src/Admin/Message/DeleteServerEnvelope.php | 4 +- .../DeleteSystemRetentionPolicyBody.php | 6 +- .../DeleteSystemRetentionPolicyEnvelope.php | 4 +- .../DeleteSystemRetentionPolicyRequest.php | 2 +- src/Admin/Message/DeleteUCServiceBody.php | 6 +- src/Admin/Message/DeleteUCServiceEnvelope.php | 4 +- src/Admin/Message/DeleteVolumeBody.php | 6 +- src/Admin/Message/DeleteVolumeEnvelope.php | 4 +- src/Admin/Message/DeleteXMPPComponentBody.php | 6 +- .../Message/DeleteXMPPComponentEnvelope.php | 4 +- .../Message/DeleteXMPPComponentRequest.php | 2 +- src/Admin/Message/DeleteZimletBody.php | 6 +- src/Admin/Message/DeleteZimletEnvelope.php | 4 +- src/Admin/Message/DeployZimletBody.php | 6 +- src/Admin/Message/DeployZimletEnvelope.php | 4 +- src/Admin/Message/DeployZimletRequest.php | 10 +- src/Admin/Message/DumpSessionsBody.php | 6 +- src/Admin/Message/DumpSessionsEnvelope.php | 4 +- src/Admin/Message/DumpSessionsRequest.php | 6 +- src/Admin/Message/DumpSessionsResponse.php | 12 +- .../Message/ExportAndDeleteItemsBody.php | 6 +- .../Message/ExportAndDeleteItemsEnvelope.php | 4 +- .../Message/ExportAndDeleteItemsRequest.php | 6 +- src/Admin/Message/FixCalendarEndTimeBody.php | 6 +- .../Message/FixCalendarEndTimeEnvelope.php | 4 +- .../Message/FixCalendarEndTimeRequest.php | 4 +- src/Admin/Message/FixCalendarPriorityBody.php | 6 +- .../Message/FixCalendarPriorityEnvelope.php | 4 +- .../Message/FixCalendarPriorityRequest.php | 4 +- src/Admin/Message/FixCalendarTZBody.php | 6 +- src/Admin/Message/FixCalendarTZEnvelope.php | 4 +- src/Admin/Message/FixCalendarTZRequest.php | 6 +- src/Admin/Message/FlushCacheBody.php | 6 +- src/Admin/Message/FlushCacheEnvelope.php | 4 +- src/Admin/Message/FlushCacheRequest.php | 2 +- src/Admin/Message/GetAccountBody.php | 6 +- src/Admin/Message/GetAccountEnvelope.php | 4 +- src/Admin/Message/GetAccountInfoBody.php | 6 +- src/Admin/Message/GetAccountInfoEnvelope.php | 4 +- src/Admin/Message/GetAccountInfoResponse.php | 10 +- src/Admin/Message/GetAccountLoggersBody.php | 6 +- .../Message/GetAccountLoggersEnvelope.php | 4 +- .../Message/GetAccountLoggersRequest.php | 4 +- .../Message/GetAccountMembershipBody.php | 6 +- .../Message/GetAccountMembershipEnvelope.php | 4 +- src/Admin/Message/GetAccountRequest.php | 8 +- src/Admin/Message/GetAccountResponse.php | 2 +- .../Message/GetAdminConsoleUICompBody.php | 6 +- .../Message/GetAdminConsoleUICompEnvelope.php | 4 +- .../Message/GetAdminConsoleUICompRequest.php | 2 +- .../Message/GetAdminExtensionZimletsBody.php | 6 +- .../GetAdminExtensionZimletsEnvelope.php | 4 +- .../Message/GetAdminSavedSearchesBody.php | 6 +- .../Message/GetAdminSavedSearchesEnvelope.php | 4 +- .../GetAggregateQuotaUsageOnServerBody.php | 8 +- ...GetAggregateQuotaUsageOnServerEnvelope.php | 4 +- .../Message/GetAllAccountLoggersBody.php | 6 +- .../Message/GetAllAccountLoggersEnvelope.php | 4 +- src/Admin/Message/GetAllAccountsBody.php | 6 +- src/Admin/Message/GetAllAccountsEnvelope.php | 4 +- src/Admin/Message/GetAllAccountsRequest.php | 2 +- src/Admin/Message/GetAllActiveServersBody.php | 6 +- .../Message/GetAllActiveServersEnvelope.php | 4 +- src/Admin/Message/GetAllAdminAccountsBody.php | 6 +- .../Message/GetAllAdminAccountsEnvelope.php | 4 +- .../Message/GetAllAdminAccountsRequest.php | 4 +- .../Message/GetAllAlwaysOnClustersBody.php | 6 +- .../GetAllAlwaysOnClustersEnvelope.php | 4 +- .../Message/GetAllCalendarResourcesBody.php | 6 +- .../GetAllCalendarResourcesEnvelope.php | 4 +- src/Admin/Message/GetAllConfigBody.php | 6 +- src/Admin/Message/GetAllConfigEnvelope.php | 4 +- src/Admin/Message/GetAllCosBody.php | 6 +- src/Admin/Message/GetAllCosEnvelope.php | 4 +- .../Message/GetAllDistributionListsBody.php | 6 +- .../GetAllDistributionListsEnvelope.php | 4 +- .../GetAllDistributionListsRequest.php | 2 +- src/Admin/Message/GetAllDomainsBody.php | 6 +- src/Admin/Message/GetAllDomainsEnvelope.php | 4 +- src/Admin/Message/GetAllDomainsRequest.php | 4 +- .../Message/GetAllEffectiveRightsBody.php | 6 +- .../Message/GetAllEffectiveRightsEnvelope.php | 4 +- .../Message/GetAllEffectiveRightsRequest.php | 6 +- .../Message/GetAllEffectiveRightsResponse.php | 2 +- .../Message/GetAllFreeBusyProvidersBody.php | 6 +- .../GetAllFreeBusyProvidersEnvelope.php | 4 +- src/Admin/Message/GetAllLocalesBody.php | 6 +- src/Admin/Message/GetAllLocalesEnvelope.php | 4 +- src/Admin/Message/GetAllMailboxesBody.php | 6 +- src/Admin/Message/GetAllMailboxesEnvelope.php | 4 +- src/Admin/Message/GetAllMailboxesRequest.php | 6 +- src/Admin/Message/GetAllMailboxesResponse.php | 2 +- src/Admin/Message/GetAllRightsBody.php | 6 +- src/Admin/Message/GetAllRightsEnvelope.php | 4 +- src/Admin/Message/GetAllRightsRequest.php | 6 +- src/Admin/Message/GetAllServersBody.php | 6 +- src/Admin/Message/GetAllServersEnvelope.php | 4 +- src/Admin/Message/GetAllServersRequest.php | 8 +- src/Admin/Message/GetAllSkinsBody.php | 6 +- src/Admin/Message/GetAllSkinsEnvelope.php | 4 +- src/Admin/Message/GetAllUCServicesBody.php | 6 +- .../Message/GetAllUCServicesEnvelope.php | 4 +- src/Admin/Message/GetAllVolumesBody.php | 6 +- src/Admin/Message/GetAllVolumesEnvelope.php | 4 +- .../Message/GetAllXMPPComponentsBody.php | 6 +- .../Message/GetAllXMPPComponentsEnvelope.php | 4 +- src/Admin/Message/GetAllZimletsBody.php | 6 +- src/Admin/Message/GetAllZimletsEnvelope.php | 4 +- src/Admin/Message/GetAllZimletsRequest.php | 2 +- src/Admin/Message/GetAlwaysOnClusterBody.php | 6 +- .../Message/GetAlwaysOnClusterEnvelope.php | 4 +- .../Message/GetAlwaysOnClusterRequest.php | 4 +- .../Message/GetAlwaysOnClusterResponse.php | 2 +- src/Admin/Message/GetAttributeInfoBody.php | 6 +- .../Message/GetAttributeInfoEnvelope.php | 4 +- src/Admin/Message/GetAttributeInfoRequest.php | 6 +- src/Admin/Message/GetCalendarResourceBody.php | 6 +- .../Message/GetCalendarResourceEnvelope.php | 4 +- .../Message/GetCalendarResourceRequest.php | 6 +- .../Message/GetCalendarResourceResponse.php | 2 +- src/Admin/Message/GetConfigBody.php | 6 +- src/Admin/Message/GetConfigEnvelope.php | 4 +- src/Admin/Message/GetConfigRequest.php | 2 +- src/Admin/Message/GetCosBody.php | 6 +- src/Admin/Message/GetCosEnvelope.php | 4 +- src/Admin/Message/GetCosRequest.php | 4 +- src/Admin/Message/GetCosResponse.php | 2 +- .../Message/GetCreateObjectAttrsBody.php | 6 +- .../Message/GetCreateObjectAttrsEnvelope.php | 4 +- .../Message/GetCreateObjectAttrsRequest.php | 2 +- .../Message/GetCreateObjectAttrsResponse.php | 2 +- src/Admin/Message/GetCurrentVolumesBody.php | 6 +- .../Message/GetCurrentVolumesEnvelope.php | 4 +- src/Admin/Message/GetDataSourcesBody.php | 6 +- src/Admin/Message/GetDataSourcesEnvelope.php | 4 +- .../GetDelegatedAdminConstraintsBody.php | 8 +- .../GetDelegatedAdminConstraintsEnvelope.php | 4 +- .../GetDelegatedAdminConstraintsRequest.php | 6 +- src/Admin/Message/GetDistributionListBody.php | 6 +- .../Message/GetDistributionListEnvelope.php | 4 +- .../GetDistributionListMembershipBody.php | 8 +- .../GetDistributionListMembershipEnvelope.php | 4 +- .../GetDistributionListMembershipRequest.php | 10 +- .../Message/GetDistributionListRequest.php | 18 +- .../Message/GetDistributionListResponse.php | 6 +- src/Admin/Message/GetDomainBody.php | 6 +- src/Admin/Message/GetDomainEnvelope.php | 4 +- src/Admin/Message/GetDomainInfoBody.php | 6 +- src/Admin/Message/GetDomainInfoEnvelope.php | 4 +- src/Admin/Message/GetDomainInfoRequest.php | 6 +- src/Admin/Message/GetDomainInfoResponse.php | 2 +- src/Admin/Message/GetDomainRequest.php | 10 +- src/Admin/Message/GetDomainResponse.php | 2 +- src/Admin/Message/GetEffectiveRightsBody.php | 6 +- .../Message/GetEffectiveRightsEnvelope.php | 4 +- .../Message/GetEffectiveRightsRequest.php | 10 +- .../Message/GetEffectiveRightsResponse.php | 2 +- src/Admin/Message/GetFilterRulesBody.php | 6 +- src/Admin/Message/GetFilterRulesEnvelope.php | 4 +- src/Admin/Message/GetFilterRulesRequest.php | 10 +- src/Admin/Message/GetFilterRulesResponse.php | 10 +- .../Message/GetFreeBusyQueueInfoBody.php | 6 +- .../Message/GetFreeBusyQueueInfoEnvelope.php | 4 +- .../Message/GetFreeBusyQueueInfoRequest.php | 2 +- src/Admin/Message/GetGrantsBody.php | 6 +- src/Admin/Message/GetGrantsEnvelope.php | 4 +- src/Admin/Message/GetGrantsRequest.php | 4 +- src/Admin/Message/GetIndexStatsBody.php | 6 +- src/Admin/Message/GetIndexStatsEnvelope.php | 4 +- src/Admin/Message/GetIndexStatsResponse.php | 2 +- src/Admin/Message/GetLDAPEntriesBody.php | 6 +- src/Admin/Message/GetLDAPEntriesEnvelope.php | 4 +- src/Admin/Message/GetLDAPEntriesRequest.php | 20 +- src/Admin/Message/GetLicenseInfoBody.php | 6 +- src/Admin/Message/GetLicenseInfoEnvelope.php | 4 +- src/Admin/Message/GetLicenseInfoResponse.php | 2 +- src/Admin/Message/GetLoggerStatsBody.php | 6 +- src/Admin/Message/GetLoggerStatsEnvelope.php | 4 +- src/Admin/Message/GetLoggerStatsRequest.php | 2 +- src/Admin/Message/GetLoggerStatsResponse.php | 4 +- src/Admin/Message/GetMailQueueBody.php | 6 +- src/Admin/Message/GetMailQueueEnvelope.php | 4 +- src/Admin/Message/GetMailQueueInfoBody.php | 6 +- .../Message/GetMailQueueInfoEnvelope.php | 4 +- .../Message/GetMailQueueInfoResponse.php | 2 +- src/Admin/Message/GetMailQueueResponse.php | 2 +- src/Admin/Message/GetMailboxBody.php | 6 +- src/Admin/Message/GetMailboxEnvelope.php | 4 +- src/Admin/Message/GetMailboxRequest.php | 2 +- src/Admin/Message/GetMailboxResponse.php | 2 +- src/Admin/Message/GetMailboxStatsBody.php | 6 +- src/Admin/Message/GetMailboxStatsEnvelope.php | 4 +- src/Admin/Message/GetMailboxStatsResponse.php | 2 +- .../Message/GetMemcachedClientConfigBody.php | 6 +- .../GetMemcachedClientConfigEnvelope.php | 4 +- .../GetMemcachedClientConfigResponse.php | 20 +- .../Message/GetOutgoingFilterRulesBody.php | 6 +- .../GetOutgoingFilterRulesEnvelope.php | 4 +- src/Admin/Message/GetQuotaUsageBody.php | 6 +- src/Admin/Message/GetQuotaUsageEnvelope.php | 4 +- src/Admin/Message/GetQuotaUsageRequest.php | 28 +- src/Admin/Message/GetQuotaUsageResponse.php | 2 +- src/Admin/Message/GetRightBody.php | 6 +- src/Admin/Message/GetRightEnvelope.php | 4 +- src/Admin/Message/GetRightRequest.php | 4 +- src/Admin/Message/GetRightResponse.php | 2 +- src/Admin/Message/GetRightsDocBody.php | 6 +- src/Admin/Message/GetRightsDocEnvelope.php | 4 +- src/Admin/Message/GetServerBody.php | 6 +- src/Admin/Message/GetServerEnvelope.php | 4 +- src/Admin/Message/GetServerNIfsBody.php | 6 +- src/Admin/Message/GetServerNIfsEnvelope.php | 4 +- src/Admin/Message/GetServerNIfsRequest.php | 2 +- src/Admin/Message/GetServerRequest.php | 10 +- src/Admin/Message/GetServerResponse.php | 2 +- src/Admin/Message/GetServerStatsBody.php | 6 +- src/Admin/Message/GetServerStatsEnvelope.php | 4 +- src/Admin/Message/GetServiceStatusBody.php | 6 +- .../Message/GetServiceStatusEnvelope.php | 4 +- .../Message/GetServiceStatusResponse.php | 2 +- src/Admin/Message/GetSessionsBody.php | 6 +- src/Admin/Message/GetSessionsEnvelope.php | 4 +- src/Admin/Message/GetSessionsRequest.php | 16 +- src/Admin/Message/GetSessionsResponse.php | 2 +- src/Admin/Message/GetShareInfoBody.php | 6 +- src/Admin/Message/GetShareInfoEnvelope.php | 4 +- src/Admin/Message/GetShareInfoRequest.php | 2 +- .../Message/GetSystemRetentionPolicyBody.php | 6 +- .../GetSystemRetentionPolicyEnvelope.php | 4 +- .../GetSystemRetentionPolicyRequest.php | 2 +- .../GetSystemRetentionPolicyResponse.php | 2 +- src/Admin/Message/GetUCServiceBody.php | 6 +- src/Admin/Message/GetUCServiceEnvelope.php | 4 +- src/Admin/Message/GetUCServiceRequest.php | 4 +- src/Admin/Message/GetUCServiceResponse.php | 2 +- src/Admin/Message/GetVersionInfoBody.php | 6 +- src/Admin/Message/GetVersionInfoEnvelope.php | 4 +- src/Admin/Message/GetVersionInfoResponse.php | 2 +- src/Admin/Message/GetVolumeBody.php | 6 +- src/Admin/Message/GetVolumeEnvelope.php | 4 +- src/Admin/Message/GetVolumeResponse.php | 2 +- src/Admin/Message/GetXMPPComponentBody.php | 6 +- .../Message/GetXMPPComponentEnvelope.php | 4 +- src/Admin/Message/GetXMPPComponentRequest.php | 4 +- .../Message/GetXMPPComponentResponse.php | 2 +- src/Admin/Message/GetZimletBody.php | 6 +- src/Admin/Message/GetZimletEnvelope.php | 4 +- src/Admin/Message/GetZimletRequest.php | 4 +- src/Admin/Message/GetZimletResponse.php | 2 +- src/Admin/Message/GetZimletStatusBody.php | 6 +- src/Admin/Message/GetZimletStatusEnvelope.php | 4 +- src/Admin/Message/GetZimletStatusResponse.php | 2 +- src/Admin/Message/GrantRightBody.php | 6 +- src/Admin/Message/GrantRightEnvelope.php | 4 +- src/Admin/Message/LockoutMailboxBody.php | 6 +- src/Admin/Message/LockoutMailboxEnvelope.php | 4 +- src/Admin/Message/LockoutMailboxRequest.php | 2 +- src/Admin/Message/MailQueueActionBody.php | 6 +- src/Admin/Message/MailQueueActionEnvelope.php | 4 +- src/Admin/Message/MailQueueFlushBody.php | 6 +- src/Admin/Message/MailQueueFlushEnvelope.php | 4 +- src/Admin/Message/MigrateAccountBody.php | 6 +- src/Admin/Message/MigrateAccountEnvelope.php | 4 +- src/Admin/Message/ModifyAccountBody.php | 6 +- src/Admin/Message/ModifyAccountEnvelope.php | 4 +- src/Admin/Message/ModifyAccountResponse.php | 2 +- .../Message/ModifyAdminSavedSearchesBody.php | 6 +- .../ModifyAdminSavedSearchesEnvelope.php | 4 +- .../Message/ModifyAlwaysOnClusterBody.php | 6 +- .../Message/ModifyAlwaysOnClusterEnvelope.php | 4 +- .../Message/ModifyAlwaysOnClusterResponse.php | 2 +- .../Message/ModifyCalendarResourceBody.php | 6 +- .../ModifyCalendarResourceEnvelope.php | 4 +- .../ModifyCalendarResourceResponse.php | 2 +- src/Admin/Message/ModifyConfigBody.php | 6 +- src/Admin/Message/ModifyConfigEnvelope.php | 4 +- src/Admin/Message/ModifyCosBody.php | 6 +- src/Admin/Message/ModifyCosEnvelope.php | 4 +- src/Admin/Message/ModifyCosResponse.php | 2 +- src/Admin/Message/ModifyDataSourceBody.php | 6 +- .../Message/ModifyDataSourceEnvelope.php | 4 +- .../ModifyDelegatedAdminConstraintsBody.php | 8 +- ...odifyDelegatedAdminConstraintsEnvelope.php | 4 +- ...ModifyDelegatedAdminConstraintsRequest.php | 6 +- .../Message/ModifyDistributionListBody.php | 6 +- .../ModifyDistributionListEnvelope.php | 4 +- .../ModifyDistributionListResponse.php | 2 +- src/Admin/Message/ModifyDomainBody.php | 6 +- src/Admin/Message/ModifyDomainEnvelope.php | 4 +- src/Admin/Message/ModifyDomainResponse.php | 2 +- src/Admin/Message/ModifyFilterRulesBody.php | 6 +- .../Message/ModifyFilterRulesEnvelope.php | 4 +- .../Message/ModifyFilterRulesRequest.php | 10 +- src/Admin/Message/ModifyLDAPEntryBody.php | 6 +- src/Admin/Message/ModifyLDAPEntryEnvelope.php | 4 +- src/Admin/Message/ModifyLDAPEntryResponse.php | 2 +- .../Message/ModifyOutgoingFilterRulesBody.php | 6 +- .../ModifyOutgoingFilterRulesEnvelope.php | 4 +- src/Admin/Message/ModifyServerBody.php | 6 +- src/Admin/Message/ModifyServerEnvelope.php | 4 +- src/Admin/Message/ModifyServerResponse.php | 2 +- .../ModifySystemRetentionPolicyBody.php | 6 +- .../ModifySystemRetentionPolicyEnvelope.php | 4 +- .../ModifySystemRetentionPolicyRequest.php | 2 +- .../ModifySystemRetentionPolicyResponse.php | 2 +- src/Admin/Message/ModifyUCServiceBody.php | 6 +- src/Admin/Message/ModifyUCServiceEnvelope.php | 4 +- src/Admin/Message/ModifyUCServiceResponse.php | 2 +- src/Admin/Message/ModifyVolumeBody.php | 6 +- src/Admin/Message/ModifyVolumeEnvelope.php | 4 +- src/Admin/Message/ModifyZimletBody.php | 6 +- src/Admin/Message/ModifyZimletEnvelope.php | 4 +- src/Admin/Message/NoOpBody.php | 6 +- src/Admin/Message/NoOpEnvelope.php | 4 +- src/Admin/Message/PingBody.php | 6 +- src/Admin/Message/PingEnvelope.php | 4 +- .../Message/PurgeAccountCalendarCacheBody.php | 6 +- .../PurgeAccountCalendarCacheEnvelope.php | 4 +- src/Admin/Message/PurgeFreeBusyQueueBody.php | 6 +- .../Message/PurgeFreeBusyQueueEnvelope.php | 4 +- .../Message/PurgeFreeBusyQueueRequest.php | 2 +- src/Admin/Message/PurgeMessagesBody.php | 6 +- src/Admin/Message/PurgeMessagesEnvelope.php | 4 +- src/Admin/Message/PurgeMessagesRequest.php | 2 +- src/Admin/Message/PushFreeBusyBody.php | 6 +- src/Admin/Message/PushFreeBusyEnvelope.php | 4 +- src/Admin/Message/PushFreeBusyRequest.php | 2 +- src/Admin/Message/QueryWaitSetBody.php | 6 +- src/Admin/Message/QueryWaitSetEnvelope.php | 4 +- src/Admin/Message/QueryWaitSetRequest.php | 4 +- src/Admin/Message/ReIndexBody.php | 6 +- src/Admin/Message/ReIndexEnvelope.php | 4 +- src/Admin/Message/ReIndexRequest.php | 2 +- src/Admin/Message/ReIndexResponse.php | 2 +- .../Message/RecalculateMailboxCountsBody.php | 6 +- .../RecalculateMailboxCountsEnvelope.php | 4 +- .../RecalculateMailboxCountsRequest.php | 2 +- .../RecalculateMailboxCountsResponse.php | 2 +- .../RefreshRegisteredAuthTokensBody.php | 6 +- .../RefreshRegisteredAuthTokensEnvelope.php | 4 +- src/Admin/Message/ReloadLocalConfigBody.php | 6 +- .../Message/ReloadLocalConfigEnvelope.php | 4 +- .../ReloadMemcachedClientConfigBody.php | 6 +- .../ReloadMemcachedClientConfigEnvelope.php | 4 +- src/Admin/Message/RemoveAccountAliasBody.php | 6 +- .../Message/RemoveAccountAliasEnvelope.php | 4 +- src/Admin/Message/RemoveAccountLoggerBody.php | 6 +- .../Message/RemoveAccountLoggerEnvelope.php | 4 +- .../Message/RemoveAccountLoggerRequest.php | 4 +- .../RemoveDistributionListAliasBody.php | 6 +- .../RemoveDistributionListAliasEnvelope.php | 4 +- .../RemoveDistributionListMemberBody.php | 6 +- .../RemoveDistributionListMemberEnvelope.php | 4 +- src/Admin/Message/RenameAccountBody.php | 6 +- src/Admin/Message/RenameAccountEnvelope.php | 4 +- src/Admin/Message/RenameAccountResponse.php | 2 +- .../Message/RenameCalendarResourceBody.php | 6 +- .../RenameCalendarResourceEnvelope.php | 4 +- .../RenameCalendarResourceResponse.php | 2 +- src/Admin/Message/RenameCosBody.php | 6 +- src/Admin/Message/RenameCosEnvelope.php | 4 +- src/Admin/Message/RenameCosResponse.php | 2 +- .../Message/RenameDistributionListBody.php | 6 +- .../RenameDistributionListEnvelope.php | 4 +- .../RenameDistributionListResponse.php | 2 +- src/Admin/Message/RenameLDAPEntryBody.php | 6 +- src/Admin/Message/RenameLDAPEntryEnvelope.php | 4 +- src/Admin/Message/RenameLDAPEntryResponse.php | 2 +- src/Admin/Message/RenameUCServiceBody.php | 6 +- src/Admin/Message/RenameUCServiceEnvelope.php | 4 +- src/Admin/Message/RenameUCServiceResponse.php | 2 +- .../Message/ResetAccountPasswordBody.php | 6 +- .../Message/ResetAccountPasswordEnvelope.php | 4 +- src/Admin/Message/ResetAllLoggersBody.php | 6 +- src/Admin/Message/ResetAllLoggersEnvelope.php | 4 +- src/Admin/Message/RevokeRightBody.php | 6 +- src/Admin/Message/RevokeRightEnvelope.php | 4 +- src/Admin/Message/RunUnitTestsBody.php | 6 +- src/Admin/Message/RunUnitTestsEnvelope.php | 4 +- src/Admin/Message/RunUnitTestsResponse.php | 2 +- src/Admin/Message/SearchAccountsBody.php | 6 +- src/Admin/Message/SearchAccountsEnvelope.php | 4 +- src/Admin/Message/SearchAccountsRequest.php | 32 +- src/Admin/Message/SearchAccountsResponse.php | 2 +- .../Message/SearchAutoProvDirectoryBody.php | 6 +- .../SearchAutoProvDirectoryEnvelope.php | 4 +- .../SearchAutoProvDirectoryRequest.php | 28 +- .../SearchAutoProvDirectoryResponse.php | 2 +- .../Message/SearchCalendarResourcesBody.php | 6 +- .../SearchCalendarResourcesEnvelope.php | 4 +- .../SearchCalendarResourcesRequest.php | 30 +- .../SearchCalendarResourcesResponse.php | 2 +- src/Admin/Message/SearchDirectoryBody.php | 6 +- src/Admin/Message/SearchDirectoryEnvelope.php | 4 +- src/Admin/Message/SearchDirectoryRequest.php | 48 +- src/Admin/Message/SearchDirectoryResponse.php | 2 +- src/Admin/Message/SearchGalBody.php | 6 +- src/Admin/Message/SearchGalEnvelope.php | 4 +- src/Admin/Message/SearchGalRequest.php | 14 +- src/Admin/Message/SearchGalResponse.php | 16 +- src/Admin/Message/SetCurrentVolumeBody.php | 6 +- .../Message/SetCurrentVolumeEnvelope.php | 4 +- .../Message/SetCurrentVolumeResponse.php | 2 +- .../Message/SetLocalServerOnlineBody.php | 6 +- .../Message/SetLocalServerOnlineEnvelope.php | 4 +- src/Admin/Message/SetPasswordBody.php | 6 +- src/Admin/Message/SetPasswordEnvelope.php | 4 +- src/Admin/Message/SetPasswordRequest.php | 4 +- src/Admin/Message/SetPasswordResponse.php | 4 +- src/Admin/Message/SetServerOfflineBody.php | 6 +- .../Message/SetServerOfflineEnvelope.php | 4 +- src/Admin/Message/SetServerOfflineRequest.php | 4 +- src/Admin/Message/SyncGalAccountBody.php | 6 +- src/Admin/Message/SyncGalAccountEnvelope.php | 4 +- src/Admin/Message/UndeployZimletBody.php | 6 +- src/Admin/Message/UndeployZimletEnvelope.php | 4 +- src/Admin/Message/UndeployZimletRequest.php | 4 +- src/Admin/Message/VerifyIndexBody.php | 6 +- src/Admin/Message/VerifyIndexEnvelope.php | 4 +- src/Admin/Message/VerifyIndexRequest.php | 2 +- src/Admin/Message/VerifyIndexResponse.php | 2 +- src/Admin/Message/VerifyStoreManagerBody.php | 6 +- .../Message/VerifyStoreManagerEnvelope.php | 4 +- .../Message/VerifyStoreManagerRequest.php | 12 +- .../Message/VerifyStoreManagerResponse.php | 24 +- src/Admin/Struct/AccountInfo.php | 4 +- src/Admin/Struct/AdminCustomMetadata.php | 4 +- src/Admin/Struct/AdminZimletConfigInfo.php | 28 +- src/Admin/Struct/AdminZimletContext.php | 6 +- src/Admin/Struct/AdminZimletDesc.php | 32 +- .../Struct/AdminZimletHostConfigInfo.php | 4 +- src/Admin/Struct/AdminZimletInclude.php | 4 +- src/Admin/Struct/AdminZimletIncludeCSS.php | 4 +- src/Admin/Struct/AdminZimletInfo.php | 6 +- src/Admin/Struct/AdminZimletProperty.php | 6 +- src/Admin/Struct/AdminZimletTarget.php | 4 +- src/Admin/Struct/AliasInfo.php | 2 +- src/Admin/Struct/AlwaysOnClusterSelector.php | 4 +- src/Admin/Struct/AttachmentIdAttrib.php | 4 +- src/Admin/Struct/BaseExternalVolume.php | 4 +- src/Admin/Struct/BlobRevisionInfo.php | 2 +- src/Admin/Struct/BlobSizeInfo.php | 2 +- src/Admin/Struct/CacheEntrySelector.php | 4 +- src/Admin/Struct/CacheSelector.php | 6 +- src/Admin/Struct/CalTZInfo.php | 12 +- src/Admin/Struct/CalendarResourceSelector.php | 4 +- src/Admin/Struct/CheckDirSelector.php | 4 +- src/Admin/Struct/CheckedRight.php | 4 +- src/Admin/Struct/CmdRightsInfo.php | 4 +- src/Admin/Struct/ComboRightInfo.php | 4 +- src/Admin/Struct/ConstraintInfo.php | 6 +- src/Admin/Struct/ContactBackupServer.php | 2 +- src/Admin/Struct/ContactGroupMember.php | 2 +- src/Admin/Struct/ContactInfo.php | 88 +-- src/Admin/Struct/CosCountInfo.php | 6 +- src/Admin/Struct/CosInfo.php | 4 +- src/Admin/Struct/CosInfoAttr.php | 6 +- src/Admin/Struct/CosSelector.php | 4 +- src/Admin/Struct/DLInfo.php | 4 +- src/Admin/Struct/DataSourceInfo.php | 2 +- src/Admin/Struct/DataSourceSpecifier.php | 2 +- src/Admin/Struct/DirPathInfo.php | 8 +- src/Admin/Struct/DistributionListInfo.php | 4 +- .../Struct/DistributionListMembershipInfo.php | 4 +- src/Admin/Struct/DistributionListSelector.php | 4 +- src/Admin/Struct/DomainAdminRight.php | 2 +- src/Admin/Struct/DomainSelector.php | 4 +- src/Admin/Struct/EffectiveAttrInfo.php | 2 +- src/Admin/Struct/EffectiveAttrsInfo.php | 4 +- src/Admin/Struct/EffectiveRightsTarget.php | 4 +- .../Struct/EffectiveRightsTargetInfo.php | 2 +- .../Struct/EffectiveRightsTargetSelector.php | 4 +- src/Admin/Struct/EntrySearchFilterInfo.php | 4 +- .../Struct/EntrySearchFilterMultiCond.php | 8 +- .../Struct/EntrySearchFilterSingleCond.php | 6 +- src/Admin/Struct/ExchangeAuthSpec.php | 6 +- src/Admin/Struct/FreeBusyProviderInfo.php | 2 +- src/Admin/Struct/GranteeInfo.php | 2 +- src/Admin/Struct/GranteeSelector.php | 16 +- src/Admin/Struct/GranteeWithType.php | 4 +- src/Admin/Struct/HostStats.php | 2 +- src/Admin/Struct/IdStatus.php | 6 +- .../Struct/IncorrectBlobRevisionInfo.php | 2 +- src/Admin/Struct/IncorrectBlobSizeInfo.php | 2 +- src/Admin/Struct/InfoForSessionType.php | 4 +- src/Admin/Struct/InheritedFlaggedValue.php | 4 +- src/Admin/Struct/IntegerValueAttrib.php | 4 +- src/Admin/Struct/LimitedQuery.php | 6 +- src/Admin/Struct/LocaleInfo.php | 4 +- src/Admin/Struct/LoggerInfo.php | 2 +- src/Admin/Struct/MailQueueAction.php | 2 +- src/Admin/Struct/MailQueueDetails.php | 4 +- src/Admin/Struct/MailQueueQuery.php | 6 +- src/Admin/Struct/MailboxInfo.php | 2 +- src/Admin/Struct/MailboxWithMailboxId.php | 4 +- src/Admin/Struct/MissingBlobInfo.php | 2 +- src/Admin/Struct/NameAndValue.php | 4 +- src/Admin/Struct/PackageRightsInfo.php | 4 +- src/Admin/Struct/PackageSelector.php | 4 +- src/Admin/Struct/PolicyHolder.php | 2 +- src/Admin/Struct/PrincipalSelector.php | 4 +- src/Admin/Struct/QueueQuery.php | 6 +- src/Admin/Struct/ReindexMailboxInfo.php | 6 +- src/Admin/Struct/RightInfo.php | 12 +- src/Admin/Struct/RightModifierInfo.php | 20 +- src/Admin/Struct/RightWithName.php | 4 +- src/Admin/Struct/RightsAttrs.php | 4 +- src/Admin/Struct/ServerSelector.php | 4 +- src/Admin/Struct/ServiceStatus.php | 2 +- src/Admin/Struct/SessionForWaitSet.php | 18 +- src/Admin/Struct/SessionInfo.php | 8 +- src/Admin/Struct/Stat.php | 8 +- src/Admin/Struct/StatsInfo.php | 2 +- src/Admin/Struct/StatsSpec.php | 6 +- .../StoreManagerRuntimeSwitchResult.php | 4 +- .../Struct/SyncGalAccountDataSourceSpec.php | 14 +- src/Admin/Struct/TargetWithType.php | 4 +- src/Admin/Struct/TzFixupRule.php | 6 +- src/Admin/Struct/TzFixupRuleMatch.php | 10 +- src/Admin/Struct/TzFixupRuleMatchDate.php | 2 +- src/Admin/Struct/TzReplaceInfo.php | 2 +- src/Admin/Struct/UcServiceSelector.php | 4 +- src/Admin/Struct/UnexpectedBlobInfo.php | 2 +- src/Admin/Struct/UsedBlobInfo.php | 2 +- src/Admin/Struct/VersionInfo.php | 36 +- src/Admin/Struct/VolumeExternalInfo.php | 22 +- src/Admin/Struct/VolumeExternalOpenIOInfo.php | 22 +- src/Admin/Struct/VolumeInfo.php | 60 +- src/Admin/Struct/WaitSetInfo.php | 14 +- src/Admin/Struct/WaitSetSessionInfo.php | 12 +- src/Admin/Struct/XMPPComponentInfo.php | 8 +- src/Admin/Struct/XMPPComponentSelector.php | 4 +- src/Admin/Struct/ZimletAcl.php | 4 +- src/Admin/Struct/ZimletAclStatusPri.php | 6 +- src/Admin/Struct/ZimletDeploymentStatus.php | 4 +- src/Admin/Struct/ZimletInfo.php | 4 +- src/Admin/Struct/ZimletServerExtension.php | 12 +- src/Admin/Struct/ZimletStatus.php | 8 +- .../Serializer/AttributeDriverFactory.php | 27 +- src/Common/Serializer/ObjectConstructor.php | 13 +- src/Common/Serializer/SerializerFactory.php | 12 +- src/Common/Soap/AbstractApi.php | 21 +- src/Common/Soap/Client.php | 21 +- src/Common/Soap/ClientFactory.php | 17 +- src/Common/Soap/ClientInterface.php | 5 +- src/Common/Soap/Exception.php | 4 +- src/Common/Struct/AccountNameSelector.php | 6 +- src/Common/Struct/AccountSelector.php | 4 +- src/Common/Struct/AuthTokenControl.php | 4 +- src/Common/Struct/BatchRequest.php | 2 +- src/Common/Struct/ContactAttr.php | 18 +- src/Common/Struct/CursorInfo.php | 16 +- .../Struct/DistributionListSelector.php | 4 +- src/Common/Struct/GranteeChooser.php | 8 +- src/Common/Struct/Id.php | 4 +- src/Common/Struct/KeyValuePair.php | 4 +- src/Common/Struct/NamedElement.php | 4 +- src/Common/Struct/NamedValue.php | 4 +- src/Common/Struct/OpValue.php | 4 +- src/Common/Struct/ShareInfo.php | 4 +- src/Common/Struct/SimpleSearchHit.php | 8 +- src/Common/Struct/SoapBody.php | 6 +- src/Common/Struct/SoapEnvelope.php | 2 +- src/Common/Struct/SoapFault.php | 2 +- src/Common/Struct/SoapHeader.php | 2 +- src/Common/Struct/SoapRequest.php | 2 +- src/Common/Struct/TzOnsetInfo.php | 12 +- src/Common/Struct/UrlAndValue.php | 6 +- src/Common/Struct/WaitSetAddSpec.php | 42 +- .../Struct/WildcardExpansionQueryInfo.php | 2 +- src/Mail/MailApi.php | 536 +++++++++--------- src/Mail/MailApiInterface.php | 536 +++++++++--------- src/Mail/Message/AddAppointmentInviteBody.php | 6 +- .../Message/AddAppointmentInviteEnvelope.php | 4 +- .../Message/AddAppointmentInviteRequest.php | 2 +- .../Message/AddAppointmentInviteResponse.php | 8 +- src/Mail/Message/AddCommentBody.php | 6 +- src/Mail/Message/AddCommentEnvelope.php | 4 +- src/Mail/Message/AddCommentResponse.php | 2 +- src/Mail/Message/AddMsgBody.php | 6 +- src/Mail/Message/AddMsgEnvelope.php | 4 +- src/Mail/Message/AddMsgRequest.php | 4 +- src/Mail/Message/AddMsgResponse.php | 4 +- src/Mail/Message/AddTaskInviteBody.php | 6 +- src/Mail/Message/AddTaskInviteEnvelope.php | 4 +- src/Mail/Message/AddTaskInviteRequest.php | 2 +- .../Message/AnnounceOrganizerChangeBody.php | 6 +- .../AnnounceOrganizerChangeEnvelope.php | 4 +- src/Mail/Message/ApplyFilterRulesBody.php | 6 +- src/Mail/Message/ApplyFilterRulesEnvelope.php | 4 +- src/Mail/Message/ApplyFilterRulesRequest.php | 4 +- src/Mail/Message/ApplyFilterRulesResponse.php | 2 +- .../Message/ApplyOutgoingFilterRulesBody.php | 6 +- .../ApplyOutgoingFilterRulesEnvelope.php | 4 +- src/Mail/Message/AutoCompleteBody.php | 6 +- src/Mail/Message/AutoCompleteEnvelope.php | 4 +- src/Mail/Message/AutoCompleteRequest.php | 14 +- src/Mail/Message/AutoCompleteResponse.php | 4 +- src/Mail/Message/BeginTrackingIMAPBody.php | 6 +- .../Message/BeginTrackingIMAPEnvelope.php | 4 +- src/Mail/Message/BounceMsgBody.php | 6 +- src/Mail/Message/BounceMsgEnvelope.php | 4 +- src/Mail/Message/BrowseBody.php | 6 +- src/Mail/Message/BrowseEnvelope.php | 4 +- src/Mail/Message/BrowseRequest.php | 6 +- src/Mail/Message/CancelAppointmentBody.php | 6 +- .../Message/CancelAppointmentEnvelope.php | 4 +- src/Mail/Message/CancelAppointmentRequest.php | 22 +- src/Mail/Message/CancelTaskBody.php | 6 +- src/Mail/Message/CancelTaskEnvelope.php | 4 +- src/Mail/Message/CheckPermissionBody.php | 6 +- src/Mail/Message/CheckPermissionEnvelope.php | 4 +- src/Mail/Message/CheckPermissionRequest.php | 2 +- src/Mail/Message/CheckPermissionResponse.php | 2 +- src/Mail/Message/CheckRecurConflictsBody.php | 6 +- .../Message/CheckRecurConflictsEnvelope.php | 4 +- .../Message/CheckRecurConflictsRequest.php | 16 +- src/Mail/Message/CheckSpellingBody.php | 6 +- src/Mail/Message/CheckSpellingEnvelope.php | 4 +- src/Mail/Message/CheckSpellingRequest.php | 8 +- src/Mail/Message/CheckSpellingResponse.php | 2 +- src/Mail/Message/CompleteTaskInstanceBody.php | 6 +- .../Message/CompleteTaskInstanceEnvelope.php | 4 +- .../Message/CompleteTaskInstanceRequest.php | 2 +- src/Mail/Message/ContactActionBody.php | 6 +- src/Mail/Message/ContactActionEnvelope.php | 4 +- src/Mail/Message/ContactActionResponse.php | 2 +- src/Mail/Message/ConvActionBody.php | 6 +- src/Mail/Message/ConvActionEnvelope.php | 4 +- src/Mail/Message/ConvActionResponse.php | 2 +- src/Mail/Message/CounterAppointmentBody.php | 6 +- .../Message/CounterAppointmentEnvelope.php | 4 +- .../Message/CounterAppointmentRequest.php | 18 +- src/Mail/Message/CreateAppointmentBody.php | 6 +- .../Message/CreateAppointmentEnvelope.php | 4 +- .../CreateAppointmentExceptionBody.php | 6 +- .../CreateAppointmentExceptionEnvelope.php | 4 +- .../CreateAppointmentExceptionRequest.php | 28 +- src/Mail/Message/CreateContactBody.php | 6 +- src/Mail/Message/CreateContactEnvelope.php | 4 +- src/Mail/Message/CreateContactRequest.php | 12 +- src/Mail/Message/CreateContactResponse.php | 2 +- src/Mail/Message/CreateDataSourceBody.php | 6 +- src/Mail/Message/CreateDataSourceEnvelope.php | 4 +- src/Mail/Message/CreateDataSourceRequest.php | 4 +- src/Mail/Message/CreateDataSourceResponse.php | 4 +- src/Mail/Message/CreateFolderBody.php | 6 +- src/Mail/Message/CreateFolderEnvelope.php | 4 +- src/Mail/Message/CreateFolderResponse.php | 4 +- src/Mail/Message/CreateMountpointBody.php | 6 +- src/Mail/Message/CreateMountpointEnvelope.php | 4 +- src/Mail/Message/CreateMountpointResponse.php | 2 +- src/Mail/Message/CreateNoteBody.php | 6 +- src/Mail/Message/CreateNoteEnvelope.php | 4 +- src/Mail/Message/CreateNoteResponse.php | 2 +- src/Mail/Message/CreateSearchFolderBody.php | 6 +- .../Message/CreateSearchFolderEnvelope.php | 4 +- .../Message/CreateSearchFolderResponse.php | 2 +- src/Mail/Message/CreateTagBody.php | 6 +- src/Mail/Message/CreateTagEnvelope.php | 4 +- src/Mail/Message/CreateTagRequest.php | 2 +- src/Mail/Message/CreateTagResponse.php | 2 +- src/Mail/Message/CreateTaskBody.php | 6 +- src/Mail/Message/CreateTaskEnvelope.php | 4 +- src/Mail/Message/CreateTaskExceptionBody.php | 6 +- .../Message/CreateTaskExceptionEnvelope.php | 4 +- src/Mail/Message/CreateWaitSetBody.php | 6 +- src/Mail/Message/CreateWaitSetEnvelope.php | 4 +- src/Mail/Message/CreateWaitSetRequest.php | 4 +- src/Mail/Message/CreateWaitSetResponse.php | 12 +- .../Message/DeclineCounterAppointmentBody.php | 6 +- .../DeclineCounterAppointmentEnvelope.php | 4 +- .../DeclineCounterAppointmentRequest.php | 2 +- src/Mail/Message/DeleteDataSourceBody.php | 6 +- src/Mail/Message/DeleteDataSourceEnvelope.php | 4 +- src/Mail/Message/DestroyWaitSetBody.php | 6 +- src/Mail/Message/DestroyWaitSetEnvelope.php | 4 +- src/Mail/Message/DiffDocumentBody.php | 6 +- src/Mail/Message/DiffDocumentEnvelope.php | 4 +- src/Mail/Message/DiffDocumentRequest.php | 2 +- .../Message/DismissCalendarItemAlarmBody.php | 6 +- .../DismissCalendarItemAlarmEnvelope.php | 4 +- src/Mail/Message/DocumentActionBody.php | 6 +- src/Mail/Message/DocumentActionEnvelope.php | 4 +- src/Mail/Message/DocumentActionResponse.php | 2 +- src/Mail/Message/EmptyDumpsterBody.php | 6 +- src/Mail/Message/EmptyDumpsterEnvelope.php | 4 +- src/Mail/Message/EnableSharedReminderBody.php | 6 +- .../Message/EnableSharedReminderEnvelope.php | 4 +- src/Mail/Message/ExpandRecurBody.php | 6 +- src/Mail/Message/ExpandRecurEnvelope.php | 4 +- src/Mail/Message/ExportContactsBody.php | 6 +- src/Mail/Message/ExportContactsEnvelope.php | 4 +- src/Mail/Message/ExportContactsRequest.php | 16 +- src/Mail/Message/FileSharedWithMeBody.php | 6 +- src/Mail/Message/FileSharedWithMeEnvelope.php | 4 +- src/Mail/Message/FolderActionBody.php | 6 +- src/Mail/Message/FolderActionEnvelope.php | 4 +- src/Mail/Message/FolderActionResponse.php | 2 +- src/Mail/Message/ForwardAppointmentBody.php | 6 +- .../Message/ForwardAppointmentEnvelope.php | 4 +- .../Message/ForwardAppointmentInviteBody.php | 6 +- .../ForwardAppointmentInviteEnvelope.php | 4 +- .../ForwardAppointmentInviteRequest.php | 4 +- .../Message/ForwardAppointmentRequest.php | 10 +- src/Mail/Message/GenerateUUIDBody.php | 6 +- src/Mail/Message/GenerateUUIDEnvelope.php | 4 +- src/Mail/Message/GetAppointmentBody.php | 6 +- src/Mail/Message/GetAppointmentEnvelope.php | 4 +- .../Message/GetAppointmentIdsInRangeBody.php | 6 +- .../GetAppointmentIdsInRangeEnvelope.php | 4 +- .../Message/GetAppointmentIdsSinceBody.php | 6 +- .../GetAppointmentIdsSinceEnvelope.php | 4 +- src/Mail/Message/GetAppointmentResponse.php | 4 +- src/Mail/Message/GetApptSummariesBody.php | 6 +- src/Mail/Message/GetApptSummariesEnvelope.php | 4 +- src/Mail/Message/GetApptSummariesRequest.php | 4 +- .../Message/GetCalendarItemSummariesBody.php | 6 +- .../GetCalendarItemSummariesEnvelope.php | 4 +- src/Mail/Message/GetCommentsBody.php | 6 +- src/Mail/Message/GetCommentsEnvelope.php | 4 +- src/Mail/Message/GetContactBackupListBody.php | 6 +- .../Message/GetContactBackupListEnvelope.php | 4 +- src/Mail/Message/GetContactsBody.php | 6 +- src/Mail/Message/GetContactsEnvelope.php | 4 +- src/Mail/Message/GetContactsRequest.php | 36 +- src/Mail/Message/GetConvBody.php | 6 +- src/Mail/Message/GetConvEnvelope.php | 4 +- src/Mail/Message/GetConvResponse.php | 2 +- src/Mail/Message/GetCustomMetadataBody.php | 6 +- .../Message/GetCustomMetadataEnvelope.php | 4 +- src/Mail/Message/GetCustomMetadataRequest.php | 4 +- .../Message/GetCustomMetadataResponse.php | 4 +- src/Mail/Message/GetDataSourceUsageBody.php | 6 +- .../Message/GetDataSourceUsageEnvelope.php | 4 +- src/Mail/Message/GetDataSourcesBody.php | 6 +- src/Mail/Message/GetDataSourcesEnvelope.php | 4 +- src/Mail/Message/GetDocumentShareURLBody.php | 6 +- .../Message/GetDocumentShareURLEnvelope.php | 4 +- .../Message/GetEffectiveFolderPermsBody.php | 6 +- .../GetEffectiveFolderPermsEnvelope.php | 4 +- .../GetEffectiveFolderPermsResponse.php | 2 +- src/Mail/Message/GetFilterRulesBody.php | 6 +- src/Mail/Message/GetFilterRulesEnvelope.php | 4 +- src/Mail/Message/GetFolderBody.php | 6 +- src/Mail/Message/GetFolderEnvelope.php | 4 +- src/Mail/Message/GetFolderRequest.php | 22 +- src/Mail/Message/GetFolderResponse.php | 4 +- src/Mail/Message/GetFreeBusyBody.php | 6 +- src/Mail/Message/GetFreeBusyEnvelope.php | 4 +- src/Mail/Message/GetFreeBusyRequest.php | 16 +- src/Mail/Message/GetICalBody.php | 6 +- src/Mail/Message/GetICalEnvelope.php | 4 +- src/Mail/Message/GetICalRequest.php | 12 +- src/Mail/Message/GetICalResponse.php | 2 +- src/Mail/Message/GetIMAPRecentBody.php | 6 +- src/Mail/Message/GetIMAPRecentCutoffBody.php | 6 +- .../Message/GetIMAPRecentCutoffEnvelope.php | 4 +- src/Mail/Message/GetIMAPRecentEnvelope.php | 4 +- src/Mail/Message/GetImportStatusBody.php | 6 +- src/Mail/Message/GetImportStatusEnvelope.php | 4 +- src/Mail/Message/GetItemBody.php | 6 +- src/Mail/Message/GetItemEnvelope.php | 4 +- src/Mail/Message/GetItemResponse.php | 6 +- .../Message/GetLastItemIdInMailboxBody.php | 6 +- .../GetLastItemIdInMailboxEnvelope.php | 4 +- src/Mail/Message/GetMailboxMetadataBody.php | 6 +- .../Message/GetMailboxMetadataEnvelope.php | 4 +- .../Message/GetMailboxMetadataResponse.php | 2 +- src/Mail/Message/GetMiniCalBody.php | 6 +- src/Mail/Message/GetMiniCalEnvelope.php | 4 +- src/Mail/Message/GetMiniCalRequest.php | 2 +- src/Mail/Message/GetModifiedItemsIDsBody.php | 6 +- .../Message/GetModifiedItemsIDsEnvelope.php | 4 +- src/Mail/Message/GetMsgBody.php | 6 +- src/Mail/Message/GetMsgEnvelope.php | 4 +- src/Mail/Message/GetMsgMetadataBody.php | 6 +- src/Mail/Message/GetMsgMetadataEnvelope.php | 4 +- src/Mail/Message/GetMsgResponse.php | 2 +- src/Mail/Message/GetNoteBody.php | 6 +- src/Mail/Message/GetNoteEnvelope.php | 4 +- src/Mail/Message/GetNoteResponse.php | 2 +- .../Message/GetOutgoingFilterRulesBody.php | 6 +- .../GetOutgoingFilterRulesEnvelope.php | 4 +- src/Mail/Message/GetPermissionBody.php | 6 +- src/Mail/Message/GetPermissionEnvelope.php | 4 +- src/Mail/Message/GetRecurBody.php | 6 +- src/Mail/Message/GetRecurEnvelope.php | 4 +- src/Mail/Message/GetRecurResponse.php | 8 +- src/Mail/Message/GetSearchFolderBody.php | 6 +- src/Mail/Message/GetSearchFolderEnvelope.php | 4 +- .../Message/GetShareNotificationsBody.php | 6 +- .../Message/GetShareNotificationsEnvelope.php | 4 +- src/Mail/Message/GetSpellDictionariesBody.php | 6 +- .../Message/GetSpellDictionariesEnvelope.php | 4 +- .../Message/GetSystemRetentionPolicyBody.php | 6 +- .../GetSystemRetentionPolicyEnvelope.php | 4 +- .../GetSystemRetentionPolicyResponse.php | 2 +- src/Mail/Message/GetTagBody.php | 6 +- src/Mail/Message/GetTagEnvelope.php | 4 +- src/Mail/Message/GetTaskBody.php | 6 +- src/Mail/Message/GetTaskEnvelope.php | 4 +- src/Mail/Message/GetTaskSummariesBody.php | 6 +- src/Mail/Message/GetTaskSummariesEnvelope.php | 4 +- src/Mail/Message/GetWorkingHoursBody.php | 6 +- src/Mail/Message/GetWorkingHoursEnvelope.php | 4 +- src/Mail/Message/GetWorkingHoursRequest.php | 8 +- src/Mail/Message/GetYahooAuthTokenBody.php | 6 +- .../Message/GetYahooAuthTokenEnvelope.php | 4 +- .../Message/GetYahooAuthTokenResponse.php | 4 +- src/Mail/Message/GetYahooCookieBody.php | 6 +- src/Mail/Message/GetYahooCookieEnvelope.php | 4 +- src/Mail/Message/GetYahooCookieResponse.php | 10 +- src/Mail/Message/GrantPermissionBody.php | 6 +- src/Mail/Message/GrantPermissionEnvelope.php | 4 +- src/Mail/Message/ICalReplyBody.php | 6 +- src/Mail/Message/ICalReplyEnvelope.php | 4 +- src/Mail/Message/IMAPCopyBody.php | 6 +- src/Mail/Message/IMAPCopyEnvelope.php | 4 +- src/Mail/Message/IMAPCopyRequest.php | 2 +- src/Mail/Message/ImportAppointmentsBody.php | 6 +- .../Message/ImportAppointmentsEnvelope.php | 4 +- .../Message/ImportAppointmentsRequest.php | 4 +- src/Mail/Message/ImportContactsBody.php | 6 +- src/Mail/Message/ImportContactsEnvelope.php | 4 +- src/Mail/Message/ImportContactsRequest.php | 12 +- src/Mail/Message/ImportContactsResponse.php | 2 +- src/Mail/Message/ImportDataBody.php | 6 +- src/Mail/Message/ImportDataEnvelope.php | 4 +- .../Message/InvalidateReminderDeviceBody.php | 6 +- .../InvalidateReminderDeviceEnvelope.php | 4 +- src/Mail/Message/ItemActionBody.php | 6 +- src/Mail/Message/ItemActionEnvelope.php | 4 +- src/Mail/Message/ItemActionResponse.php | 2 +- .../Message/ListDocumentRevisionsBody.php | 6 +- .../Message/ListDocumentRevisionsEnvelope.php | 4 +- .../Message/ListIMAPSubscriptionsBody.php | 6 +- .../Message/ListIMAPSubscriptionsEnvelope.php | 4 +- src/Mail/Message/ModifyAppointmentBody.php | 6 +- .../Message/ModifyAppointmentEnvelope.php | 4 +- src/Mail/Message/ModifyAppointmentRequest.php | 28 +- src/Mail/Message/ModifyContactBody.php | 6 +- src/Mail/Message/ModifyContactEnvelope.php | 4 +- src/Mail/Message/ModifyContactRequest.php | 16 +- src/Mail/Message/ModifyContactResponse.php | 2 +- src/Mail/Message/ModifyDataSourceBody.php | 6 +- src/Mail/Message/ModifyDataSourceEnvelope.php | 4 +- src/Mail/Message/ModifyDataSourceRequest.php | 4 +- src/Mail/Message/ModifyFilterRulesBody.php | 6 +- .../Message/ModifyFilterRulesEnvelope.php | 4 +- .../Message/ModifyMailboxMetadataBody.php | 6 +- .../Message/ModifyMailboxMetadataEnvelope.php | 4 +- .../Message/ModifyMailboxMetadataRequest.php | 2 +- .../Message/ModifyOutgoingFilterRulesBody.php | 6 +- .../ModifyOutgoingFilterRulesEnvelope.php | 4 +- src/Mail/Message/ModifyProfileImageBody.php | 6 +- .../Message/ModifyProfileImageEnvelope.php | 4 +- .../Message/ModifyProfileImageRequest.php | 6 +- .../Message/ModifyProfileImageResponse.php | 4 +- src/Mail/Message/ModifySearchFolderBody.php | 6 +- .../Message/ModifySearchFolderEnvelope.php | 4 +- .../Message/ModifySearchFolderResponse.php | 2 +- src/Mail/Message/ModifyTaskBody.php | 6 +- src/Mail/Message/ModifyTaskEnvelope.php | 4 +- src/Mail/Message/MsgActionBody.php | 6 +- src/Mail/Message/MsgActionEnvelope.php | 4 +- src/Mail/Message/MsgActionResponse.php | 2 +- src/Mail/Message/NoOpBody.php | 6 +- src/Mail/Message/NoOpEnvelope.php | 4 +- src/Mail/Message/NoOpRequest.php | 16 +- src/Mail/Message/NoOpResponse.php | 4 +- src/Mail/Message/NoteActionBody.php | 6 +- src/Mail/Message/NoteActionEnvelope.php | 4 +- src/Mail/Message/NoteActionResponse.php | 2 +- src/Mail/Message/OpenIMAPFolderBody.php | 6 +- src/Mail/Message/OpenIMAPFolderEnvelope.php | 4 +- src/Mail/Message/OpenIMAPFolderRequest.php | 2 +- src/Mail/Message/OpenIMAPFolderResponse.php | 6 +- src/Mail/Message/PurgeRevisionBody.php | 6 +- src/Mail/Message/PurgeRevisionEnvelope.php | 4 +- src/Mail/Message/RankingActionBody.php | 6 +- src/Mail/Message/RankingActionEnvelope.php | 4 +- src/Mail/Message/RecordIMAPSessionBody.php | 6 +- .../Message/RecordIMAPSessionEnvelope.php | 4 +- src/Mail/Message/RecoverAccountBody.php | 6 +- src/Mail/Message/RecoverAccountEnvelope.php | 4 +- src/Mail/Message/RecoverAccountRequest.php | 4 +- src/Mail/Message/RecoverAccountResponse.php | 8 +- src/Mail/Message/RemoveAttachmentsBody.php | 6 +- .../Message/RemoveAttachmentsEnvelope.php | 4 +- .../Message/RemoveAttachmentsResponse.php | 6 +- .../Message/ResetRecentMessageCountBody.php | 6 +- .../ResetRecentMessageCountEnvelope.php | 4 +- src/Mail/Message/RestoreContactsBody.php | 6 +- src/Mail/Message/RestoreContactsEnvelope.php | 4 +- src/Mail/Message/RestoreContactsRequest.php | 2 +- src/Mail/Message/RevokePermissionBody.php | 6 +- src/Mail/Message/RevokePermissionEnvelope.php | 4 +- src/Mail/Message/SaveDocumentBody.php | 6 +- src/Mail/Message/SaveDocumentEnvelope.php | 4 +- src/Mail/Message/SaveDocumentResponse.php | 2 +- src/Mail/Message/SaveDraftBody.php | 6 +- src/Mail/Message/SaveDraftEnvelope.php | 4 +- src/Mail/Message/SaveDraftRequest.php | 8 +- src/Mail/Message/SaveDraftResponse.php | 6 +- .../Message/SaveIMAPSubscriptionsBody.php | 6 +- .../Message/SaveIMAPSubscriptionsEnvelope.php | 4 +- src/Mail/Message/SearchActionBody.php | 6 +- src/Mail/Message/SearchActionEnvelope.php | 4 +- src/Mail/Message/SearchBody.php | 6 +- src/Mail/Message/SearchConvBody.php | 6 +- src/Mail/Message/SearchConvEnvelope.php | 4 +- src/Mail/Message/SearchConvRequest.php | 110 ++-- src/Mail/Message/SearchConvResponse.php | 14 +- src/Mail/Message/SearchEnvelope.php | 4 +- src/Mail/Message/SearchRequest.php | 110 ++-- src/Mail/Message/SearchResponse.php | 16 +- src/Mail/Message/SendDeliveryReportBody.php | 6 +- .../Message/SendDeliveryReportEnvelope.php | 4 +- src/Mail/Message/SendInviteReplyBody.php | 6 +- src/Mail/Message/SendInviteReplyEnvelope.php | 4 +- src/Mail/Message/SendInviteReplyRequest.php | 18 +- src/Mail/Message/SendMsgBody.php | 6 +- src/Mail/Message/SendMsgEnvelope.php | 4 +- src/Mail/Message/SendMsgRequest.php | 24 +- src/Mail/Message/SendMsgResponse.php | 2 +- .../Message/SendShareNotificationBody.php | 6 +- .../Message/SendShareNotificationEnvelope.php | 4 +- .../Message/SendShareNotificationRequest.php | 4 +- src/Mail/Message/SendVerificationCodeBody.php | 6 +- .../Message/SendVerificationCodeEnvelope.php | 4 +- .../Message/SendVerificationCodeRequest.php | 4 +- src/Mail/Message/SetAppointmentBody.php | 6 +- src/Mail/Message/SetAppointmentEnvelope.php | 4 +- src/Mail/Message/SetAppointmentRequest.php | 26 +- src/Mail/Message/SetAppointmentResponse.php | 10 +- src/Mail/Message/SetCustomMetadataBody.php | 6 +- .../Message/SetCustomMetadataEnvelope.php | 4 +- src/Mail/Message/SetMailboxMetadataBody.php | 6 +- .../Message/SetMailboxMetadataEnvelope.php | 4 +- src/Mail/Message/SetRecoveryAccountBody.php | 6 +- .../Message/SetRecoveryAccountEnvelope.php | 4 +- .../Message/SetRecoveryAccountRequest.php | 12 +- src/Mail/Message/SetTaskBody.php | 6 +- src/Mail/Message/SetTaskEnvelope.php | 4 +- .../Message/SnoozeCalendarItemAlarmBody.php | 6 +- .../SnoozeCalendarItemAlarmEnvelope.php | 4 +- src/Mail/Message/SyncBody.php | 6 +- src/Mail/Message/SyncEnvelope.php | 4 +- src/Mail/Message/SyncRequest.php | 28 +- src/Mail/Message/SyncResponse.php | 14 +- src/Mail/Message/TagActionBody.php | 6 +- src/Mail/Message/TagActionEnvelope.php | 4 +- src/Mail/Message/TagActionResponse.php | 2 +- src/Mail/Message/TestDataSourceBody.php | 6 +- src/Mail/Message/TestDataSourceEnvelope.php | 4 +- src/Mail/Message/TestDataSourceRequest.php | 4 +- src/Mail/Message/VerifyCodeBody.php | 6 +- src/Mail/Message/VerifyCodeEnvelope.php | 4 +- src/Mail/Message/VerifyCodeRequest.php | 6 +- src/Mail/Message/VerifyCodeResponse.php | 4 +- src/Mail/Message/WaitSetBody.php | 6 +- src/Mail/Message/WaitSetEnvelope.php | 4 +- src/Mail/Message/WaitSetRequest.php | 16 +- src/Mail/Message/WaitSetResponse.php | 8 +- src/Mail/Struct/AccountACEinfo.php | 22 +- src/Mail/Struct/AccountWithModifications.php | 8 +- src/Mail/Struct/Acl.php | 8 +- src/Mail/Struct/ActionGrantSelector.php | 22 +- src/Mail/Struct/ActionResult.php | 8 +- src/Mail/Struct/ActionSelector.php | 48 +- src/Mail/Struct/AddMsgSpec.php | 32 +- src/Mail/Struct/AddheaderAction.php | 8 +- src/Mail/Struct/AddressBookTest.php | 4 +- src/Mail/Struct/AddressTest.php | 26 +- src/Mail/Struct/AlarmDataInfo.php | 26 +- src/Mail/Struct/AlarmInfo.php | 16 +- src/Mail/Struct/AlarmTriggerInfo.php | 4 +- src/Mail/Struct/AppointmentIdAndDate.php | 4 +- src/Mail/Struct/AttachSpec.php | 4 +- src/Mail/Struct/AttachmentsInfo.php | 4 +- src/Mail/Struct/AutoCompleteMatch.php | 58 +- src/Mail/Struct/BodyTest.php | 12 +- src/Mail/Struct/BrowseData.php | 4 +- src/Mail/Struct/BulkAction.php | 6 +- src/Mail/Struct/CalEcho.php | 2 +- src/Mail/Struct/CalItemRequestBase.php | 22 +- src/Mail/Struct/CalOrganizer.php | 24 +- src/Mail/Struct/CalReply.php | 6 +- src/Mail/Struct/CalTZInfo.php | 12 +- src/Mail/Struct/CalendarAttach.php | 8 +- src/Mail/Struct/CalendarAttendee.php | 18 +- src/Mail/Struct/CalendarItemHitInfo.php | 30 +- src/Mail/Struct/CalendarItemInfo.php | 52 +- src/Mail/Struct/CalendarItemRecur.php | 10 +- src/Mail/Struct/CalendarReply.php | 6 +- src/Mail/Struct/CommentInfo.php | 40 +- src/Mail/Struct/CommonCalendaringData.php | 94 +-- src/Mail/Struct/CommonDocumentInfo.php | 90 +-- src/Mail/Struct/CommonInstanceDataAttrs.php | 84 +-- .../Struct/ConflictRecurrenceInstance.php | 10 +- src/Mail/Struct/ContactActionSelector.php | 24 +- src/Mail/Struct/ContactAttachSpec.php | 2 +- src/Mail/Struct/ContactGroupMember.php | 2 +- src/Mail/Struct/ContactInfo.php | 80 +-- src/Mail/Struct/ContactRankingTest.php | 8 +- src/Mail/Struct/ContactSpec.php | 18 +- src/Mail/Struct/Content.php | 6 +- src/Mail/Struct/ContentSpec.php | 10 +- src/Mail/Struct/ConvActionSelector.php | 28 +- src/Mail/Struct/ConversationHitInfo.php | 30 +- src/Mail/Struct/ConversationInfo.php | 28 +- src/Mail/Struct/ConversationMsgHitInfo.php | 20 +- src/Mail/Struct/ConversationSpec.php | 20 +- src/Mail/Struct/ConversationSummary.php | 52 +- src/Mail/Struct/ConversationTest.php | 8 +- .../Struct/CreateCalendarItemResponse.php | 24 +- src/Mail/Struct/CurrentDayOfWeekTest.php | 8 +- src/Mail/Struct/CurrentTimeTest.php | 10 +- src/Mail/Struct/DateTest.php | 10 +- src/Mail/Struct/DeleteheaderAction.php | 6 +- src/Mail/Struct/DiffDocumentVersionSpec.php | 6 +- src/Mail/Struct/DispositionAndText.php | 6 +- src/Mail/Struct/DocAttachSpec.php | 8 +- src/Mail/Struct/DocumentActionGrant.php | 14 +- src/Mail/Struct/DocumentActionResult.php | 16 +- src/Mail/Struct/DocumentActionSelector.php | 30 +- src/Mail/Struct/DocumentHitInfo.php | 56 +- src/Mail/Struct/DocumentInfo.php | 58 +- src/Mail/Struct/DocumentSpec.php | 48 +- src/Mail/Struct/DtTimeInfo.php | 12 +- src/Mail/Struct/DtVal.php | 6 +- src/Mail/Struct/DurationInfo.php | 22 +- src/Mail/Struct/EditheaderTest.php | 18 +- src/Mail/Struct/EmailAddrInfo.php | 4 +- src/Mail/Struct/EmailInfo.php | 22 +- src/Mail/Struct/ExceptionRecurIdInfo.php | 8 +- src/Mail/Struct/ExceptionRuleInfo.php | 4 +- .../Struct/ExpandedRecurrenceComponent.php | 14 +- .../Struct/ExpandedRecurrenceInstance.php | 20 +- src/Mail/Struct/FileIntoAction.php | 6 +- src/Mail/Struct/FilterAction.php | 4 +- src/Mail/Struct/FilterRule.php | 8 +- src/Mail/Struct/FilterTest.php | 6 +- src/Mail/Struct/FilterTests.php | 2 +- src/Mail/Struct/FilterVariables.php | 2 +- src/Mail/Struct/FlagAction.php | 4 +- src/Mail/Struct/FlaggedTest.php | 8 +- src/Mail/Struct/Folder.php | 104 ++-- src/Mail/Struct/FolderActionResult.php | 16 +- src/Mail/Struct/FolderActionSelector.php | 32 +- src/Mail/Struct/FreeBusySlot.php | 36 +- src/Mail/Struct/FreeBusyUserSpec.php | 8 +- src/Mail/Struct/FreeBusyUserStatus.php | 2 +- src/Mail/Struct/GeoInfo.php | 6 +- .../Struct/GetCalendarItemRequestBase.php | 20 +- src/Mail/Struct/GetFolderSpec.php | 8 +- src/Mail/Struct/Grant.php | 18 +- src/Mail/Struct/Header.php | 6 +- src/Mail/Struct/HeaderExistsTest.php | 8 +- src/Mail/Struct/HeaderTest.php | 24 +- src/Mail/Struct/ICalContent.php | 6 +- src/Mail/Struct/IdEmailName.php | 12 +- src/Mail/Struct/IdVersion.php | 4 +- src/Mail/Struct/ImportContact.php | 6 +- src/Mail/Struct/ImportStatusInfo.php | 16 +- src/Mail/Struct/ImportanceTest.php | 6 +- src/Mail/Struct/InstanceDataAttrs.php | 52 +- src/Mail/Struct/InstanceDataInfo.php | 66 +-- src/Mail/Struct/InstanceRecurIdInfo.php | 12 +- src/Mail/Struct/Invitation.php | 6 +- src/Mail/Struct/InvitationInfo.php | 12 +- src/Mail/Struct/InviteAsMP.php | 22 +- src/Mail/Struct/InviteComponent.php | 84 +-- src/Mail/Struct/InviteComponentCommon.php | 106 ++-- .../Struct/InviteComponentWithGroupInfo.php | 84 +-- src/Mail/Struct/InviteInfo.php | 4 +- src/Mail/Struct/InviteTest.php | 4 +- src/Mail/Struct/InviteWithGroupInfo.php | 2 +- src/Mail/Struct/ItemSpec.php | 10 +- src/Mail/Struct/LegacyCalendaringData.php | 78 +-- src/Mail/Struct/LegacyInstanceDataAttrs.php | 52 +- src/Mail/Struct/LegacyInstanceDataInfo.php | 66 +-- src/Mail/Struct/LinkInfo.php | 4 +- src/Mail/Struct/ListDocumentRevisionsSpec.php | 6 +- src/Mail/Struct/LogAction.php | 4 +- src/Mail/Struct/MPInviteInfo.php | 2 +- src/Mail/Struct/MailCustomMetadata.php | 4 +- src/Mail/Struct/MailDataSource.php | 118 ++-- src/Mail/Struct/MeTest.php | 8 +- src/Mail/Struct/MessageCommon.php | 40 +- src/Mail/Struct/MessageHitInfo.php | 60 +- src/Mail/Struct/MessageInfo.php | 82 +-- src/Mail/Struct/MessagePartHitInfo.php | 42 +- src/Mail/Struct/MessageSummary.php | 14 +- src/Mail/Struct/MimeHeaderTest.php | 18 +- src/Mail/Struct/MimePartAttachSpec.php | 2 +- src/Mail/Struct/MimePartInfo.php | 14 +- src/Mail/Struct/MiniCalError.php | 4 +- src/Mail/Struct/Misspelling.php | 4 +- src/Mail/Struct/ModifyContactAttr.php | 12 +- src/Mail/Struct/ModifyContactGroupMember.php | 4 +- src/Mail/Struct/ModifyContactSpec.php | 8 +- src/Mail/Struct/ModifySearchFolderSpec.php | 6 +- src/Mail/Struct/Mountpoint.php | 28 +- src/Mail/Struct/Msg.php | 44 +- src/Mail/Struct/MsgAttachSpec.php | 2 +- src/Mail/Struct/MsgSpec.php | 50 +- src/Mail/Struct/MsgToSend.php | 38 +- src/Mail/Struct/MsgWithGroupInfo.php | 70 +-- src/Mail/Struct/NameOrId.php | 8 +- src/Mail/Struct/NestedRule.php | 6 +- src/Mail/Struct/NestedSearchConversation.php | 26 +- src/Mail/Struct/NewContactAttr.php | 10 +- src/Mail/Struct/NewContactGroupMember.php | 2 +- src/Mail/Struct/NewFolderSpec.php | 26 +- src/Mail/Struct/NewMountpointSpec.php | 42 +- src/Mail/Struct/NewNoteSpec.php | 8 +- src/Mail/Struct/NewSearchFolderSpec.php | 22 +- src/Mail/Struct/NoteActionSelector.php | 32 +- src/Mail/Struct/NoteHitInfo.php | 30 +- src/Mail/Struct/NoteInfo.php | 52 +- src/Mail/Struct/Notification.php | 6 +- src/Mail/Struct/NotifyAction.php | 22 +- src/Mail/Struct/PartInfo.php | 32 +- src/Mail/Struct/Policy.php | 14 +- src/Mail/Struct/PurgeRevisionSpec.php | 4 +- src/Mail/Struct/RFCCompliantNotifyAction.php | 22 +- src/Mail/Struct/RankingActionSpec.php | 6 +- src/Mail/Struct/RawInvite.php | 8 +- src/Mail/Struct/RecurIdInfo.php | 8 +- src/Mail/Struct/RedirectAction.php | 6 +- src/Mail/Struct/RejectAction.php | 4 +- src/Mail/Struct/ReplaceheaderAction.php | 16 +- src/Mail/Struct/ReplyAction.php | 4 +- src/Mail/Struct/RightPermission.php | 4 +- src/Mail/Struct/SaveDraftMsg.php | 54 +- src/Mail/Struct/SearchFolder.php | 10 +- src/Mail/Struct/SetCalendarItemInfo.php | 2 +- src/Mail/Struct/SetCalendarItemInfoTrait.php | 2 +- src/Mail/Struct/ShareNotificationInfo.php | 4 +- src/Mail/Struct/SharedReminderMount.php | 4 +- src/Mail/Struct/SimpleRepeatingRule.php | 28 +- src/Mail/Struct/SingleDates.php | 4 +- src/Mail/Struct/SizeTest.php | 10 +- src/Mail/Struct/SyncFolder.php | 54 +- src/Mail/Struct/TagAction.php | 4 +- src/Mail/Struct/TagActionInfo.php | 8 +- src/Mail/Struct/TagActionSelector.php | 26 +- src/Mail/Struct/TagInfo.php | 38 +- src/Mail/Struct/TagSpec.php | 8 +- src/Mail/Struct/TargetSpec.php | 4 +- src/Mail/Struct/TestDataSource.php | 4 +- src/Mail/Struct/UpdatedAlarmInfo.php | 2 +- src/Mail/Struct/VCardInfo.php | 16 +- src/Mail/Struct/WikiHitInfo.php | 50 +- src/Mail/Struct/WkDay.php | 4 +- src/Mail/Struct/WkstRule.php | 2 +- src/Mail/Struct/XNameRule.php | 6 +- 1501 files changed, 7140 insertions(+), 7096 deletions(-) diff --git a/src/Account/AccountApi.php b/src/Account/AccountApi.php index 853040355..d8c43c43b 100644 --- a/src/Account/AccountApi.php +++ b/src/Account/AccountApi.php @@ -50,25 +50,25 @@ class AccountApi extends AbstractApi implements AccountApiInterface * {@inheritdoc} */ public function auth( - ?AccountSelector $account = NULL, - ?string $password = NULL, - ?string $recoveryCode = NULL, - ?PreAuth $preauth = NULL, - ?AuthToken $authToken = NULL, - ?string $jwtToken = NULL, - ?string $virtualHost = NULL, + ?AccountSelector $account = null, + ?string $password = null, + ?string $recoveryCode = null, + ?PreAuth $preauth = null, + ?AuthToken $authToken = null, + ?string $jwtToken = null, + ?string $virtualHost = null, array $prefs = [], array $attrs = [], - ?string $requestedSkin = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL, - ?bool $deviceTrusted = NULL, - ?string $trustedDeviceToken = NULL, - ?string $deviceId = NULL, - ?bool $generateDeviceId = NULL, - ?string $tokenType = NULL, - ?bool $ignoreSameSite = NULL + ?string $requestedSkin = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null, + ?bool $deviceTrusted = null, + ?string $trustedDeviceToken = null, + ?string $deviceId = null, + ?bool $generateDeviceId = null, + ?string $tokenType = null, + ?bool $ignoreSameSite = null ): ?Message\AuthResponse { return $this->invoke(new Message\AuthRequest( @@ -117,7 +117,7 @@ public function authByAccountId(string $id, string $password): ?Message\AuthResp */ public function authByToken(string $authToken): ?Message\AuthResponse { - return $this->auth(NULL, NULL, NULL, NULL, new AuthToken($authToken)); + return $this->auth(null, null, null, null, new AuthToken($authToken)); } /** @@ -126,7 +126,7 @@ public function authByToken(string $authToken): ?Message\AuthResponse public function authByPreauth(string $name, string $preauthKey): ?Message\AuthResponse { $account = new AccountSelector(AccountBy::NAME, $name); - return $this->auth($account, NULL, NULL, new PreAuth($account, $preauthKey)); + return $this->auth($account, null, null, new PreAuth($account, $preauthKey)); } /** @@ -134,10 +134,10 @@ public function authByPreauth(string $name, string $preauthKey): ?Message\AuthRe */ public function autoCompleteGal( string $name, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $galAccountId = null, + ?int $limit = null ): ?Message\AutoCompleteGalResponse { return $this->invoke(new Message\AutoCompleteGalRequest( @@ -152,8 +152,8 @@ public function changePassword( AccountSelector $account, string $oldPassword, string $newPassword, - ?string $virtualHost = NULL, - ?bool $dryRun = NULL + ?string $virtualHost = null, + ?bool $dryRun = null ): ?Message\ChangePasswordResponse { return $this->invoke(new Message\ChangePasswordRequest( @@ -181,7 +181,7 @@ public function clientInfo(DomainSelector $domain): ?Message\ClientInfoResponse * {@inheritdoc} */ public function createDistributionList( - string $name, ?bool $dynamic = NULL, array $attrs = [] + string $name, ?bool $dynamic = null, array $attrs = [] ): ?Message\CreateDistributionListResponse { return $this->invoke(new Message\CreateDistributionListRequest( @@ -243,10 +243,10 @@ public function distributionListAction( * {@inheritdoc} */ public function endSession( - ?bool $logoff = NULL, - ?bool $clearAllSoapSessions = NULL, - ?bool $excludeCurrentSession = NULL, - ?string $sessionId = NULL + ?bool $logoff = null, + ?bool $clearAllSoapSessions = null, + ?bool $excludeCurrentSession = null, + ?string $sessionId = null ): ?Message\EndSessionResponse { return $this->invoke(new Message\EndSessionRequest( @@ -258,9 +258,9 @@ public function endSession( * {@inheritdoc} */ public function getAccountDistributionLists( - ?bool $ownerOf = NULL, - ?MemberOfSelector $memberOf = NULL, - ?string $attrs = NULL + ?bool $ownerOf = null, + ?MemberOfSelector $memberOf = null, + ?string $attrs = null ): ?Message\GetAccountDistributionListsResponse { return $this->invoke(new Message\GetAccountDistributionListsRequest( @@ -313,8 +313,8 @@ public function getAvailableSkins(): ?Message\GetAvailableSkinsResponse */ public function getDistributionListMembers( string $dl, - ?int $limit = NULL, - ?int $offset = NULL + ?int $limit = null, + ?int $offset = null ): ?Message\GetDistributionListMembersResponse { return $this->invoke(new Message\GetDistributionListMembersRequest( @@ -327,8 +327,8 @@ public function getDistributionListMembers( */ public function getDistributionList( DistributionListSelector $dl, - ?bool $needOwners = NULL, - ?string $needRights = NULL, + ?bool $needOwners = null, + ?string $needRights = null, array $attrs = [] ): ?Message\GetDistributionListResponse { @@ -349,7 +349,7 @@ public function getIdentities(): ?Message\GetIdentitiesResponse * {@inheritdoc} */ public function getInfo( - ?string $sections = NULL, ?string $rights = NULL + ?string $sections = null, ?string $rights = null ): ?Message\GetInfoResponse { return $this->invoke(new Message\GetInfoRequest( @@ -385,10 +385,10 @@ public function getRights(array $aces = []): ?Message\GetRightsResponse * {@inheritdoc} */ public function getShareInfo( - ?GranteeChooser $grantee = NULL, - ?AccountSelector $owner = NULL, - ?bool $internal = NULL, - ?bool $includeSelf = NULL + ?GranteeChooser $grantee = null, + ?AccountSelector $owner = null, + ?bool $internal = null, + ?bool $includeSelf = null ): ?Message\GetShareInfoResponse { return $this->invoke(new Message\GetShareInfoRequest( @@ -508,16 +508,16 @@ public function revokeRights(array $aces = []): ?Message\RevokeRightsResponse * {@inheritdoc} */ public function searchCalendarResources( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL, - ?string $galAccountId = NULL, - ?string $name = NULL, - ?string $attrs = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null, + ?string $galAccountId = null, + ?string $name = null, + ?string $attrs = null ): ?Message\SearchCalendarResourcesResponse { return $this->invoke(new Message\SearchCalendarResourcesRequest( @@ -538,21 +538,21 @@ public function searchCalendarResources( * {@inheritdoc} */ public function searchGal( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?string $ref = NULL, - ?string $name = NULL, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?bool $needIsOwner = NULL, - ?MemberOfSelector $needIsMember = NULL, - ?bool $needSMIMECerts = NULL, - ?string $galAccountId = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?string $ref = null, + ?string $name = null, + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?bool $needIsOwner = null, + ?MemberOfSelector $needIsMember = null, + ?bool $needSMIMECerts = null, + ?string $galAccountId = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null ): ?Message\SearchGalResponse { return $this->invoke(new Message\SearchGalRequest( @@ -588,11 +588,11 @@ public function subscribeDistributionList( * {@inheritdoc} */ public function syncGal( - ?string $token = NULL, - ?string $galAccountId = NULL, - ?bool $idOnly = NULL, - ?bool $getCount = NULL, - ?int $limit = NULL + ?string $token = null, + ?string $galAccountId = null, + ?bool $idOnly = null, + ?bool $getCount = null, + ?int $limit = null ): ?Message\SyncGalResponse { return $this->invoke(new Message\SyncGalRequest( diff --git a/src/Account/AccountApiInterface.php b/src/Account/AccountApiInterface.php index 84c703e56..069eed2e1 100644 --- a/src/Account/AccountApiInterface.php +++ b/src/Account/AccountApiInterface.php @@ -76,25 +76,25 @@ interface AccountApiInterface extends ApiInterface * @return Message\AuthResponse */ function auth( - ?AccountSelector $account = NULL, - ?string $password = NULL, - ?string $recoveryCode = NULL, - ?PreAuth $preauth = NULL, - ?AuthToken $authToken = NULL, - ?string $jwtToken = NULL, - ?string $virtualHost = NULL, + ?AccountSelector $account = null, + ?string $password = null, + ?string $recoveryCode = null, + ?PreAuth $preauth = null, + ?AuthToken $authToken = null, + ?string $jwtToken = null, + ?string $virtualHost = null, array $prefs = [], array $attrs = [], - ?string $requestedSkin = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL, - ?bool $deviceTrusted = NULL, - ?string $trustedDeviceToken = NULL, - ?string $deviceId = NULL, - ?bool $generateDeviceId = NULL, - ?string $tokenType = NULL, - ?bool $ignoreSameSite = NULL + ?string $requestedSkin = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null, + ?bool $deviceTrusted = null, + ?string $trustedDeviceToken = null, + ?string $deviceId = null, + ?bool $generateDeviceId = null, + ?string $tokenType = null, + ?bool $ignoreSameSite = null ): ?Message\AuthResponse; /** @@ -146,10 +146,10 @@ function authByPreauth(string $name, string $preauthKey): ?Message\AuthResponse; */ function autoCompleteGal( string $name, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $galAccountId = null, + ?int $limit = null ): ?Message\AutoCompleteGalResponse; /** @@ -166,8 +166,8 @@ function changePassword( AccountSelector $account, string $oldPassword, string $newPassword, - ?string $virtualHost = NULL, - ?bool $dryRun = NULL + ?string $virtualHost = null, + ?bool $dryRun = null ): ?Message\ChangePasswordResponse; /** @@ -197,7 +197,7 @@ function clientInfo(DomainSelector $domain): ?Message\ClientInfoResponse; * @return Message\CreateDistributionListResponse */ function createDistributionList( - string $name, ?bool $dynamic = NULL, array $attrs = [] + string $name, ?bool $dynamic = null, array $attrs = [] ): ?Message\CreateDistributionListResponse; /** @@ -289,10 +289,10 @@ function distributionListAction( * @return Message\EndSessionResponse */ function endSession( - ?bool $logoff = NULL, - ?bool $clearAllSoapSessions = NULL, - ?bool $excludeCurrentSession = NULL, - ?string $sessionId = NULL + ?bool $logoff = null, + ?bool $clearAllSoapSessions = null, + ?bool $excludeCurrentSession = null, + ?string $sessionId = null ): ?Message\EndSessionResponse; /** @@ -307,9 +307,9 @@ function endSession( * @return Message\GetAccountDistributionListsResponse */ function getAccountDistributionLists( - ?bool $ownerOf = NULL, - ?MemberOfSelector $memberOf = NULL, - ?string $attrs = NULL + ?bool $ownerOf = null, + ?MemberOfSelector $memberOf = null, + ?string $attrs = null ): ?Message\GetAccountDistributionListsResponse; /** @@ -363,8 +363,8 @@ function getAvailableSkins(): ?Message\GetAvailableSkinsResponse; */ function getDistributionListMembers( string $dl, - ?int $limit = NULL, - ?int $offset = NULL + ?int $limit = null, + ?int $offset = null ): ?Message\GetDistributionListMembersResponse; /** @@ -378,8 +378,8 @@ function getDistributionListMembers( */ function getDistributionList( DistributionListSelector $dl, - ?bool $needOwners = NULL, - ?string $needRights = NULL, + ?bool $needOwners = null, + ?string $needRights = null, array $attrs = [] ): ?Message\GetDistributionListResponse; @@ -400,7 +400,7 @@ function getIdentities(): ?Message\GetIdentitiesResponse; * @return Message\GetInfoResponse */ function getInfo( - ?string $sections = NULL, ?string $rights = NULL + ?string $sections = null, ?string $rights = null ): ?Message\GetInfoResponse; /** @@ -440,10 +440,10 @@ function getRights(array $aces = []): ?Message\GetRightsResponse; * @return Message\GetShareInfoResponse */ function getShareInfo( - ?GranteeChooser $grantee = NULL, - ?AccountSelector $owner = NULL, - ?bool $internal = NULL, - ?bool $includeSelf = NULL + ?GranteeChooser $grantee = null, + ?AccountSelector $owner = null, + ?bool $internal = null, + ?bool $includeSelf = null ): ?Message\GetShareInfoResponse; /** @@ -575,16 +575,16 @@ function revokeRights(array $aces = []): ?Message\RevokeRightsResponse; * @return Message\SearchCalendarResourcesResponse */ function searchCalendarResources( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL, - ?string $galAccountId = NULL, - ?string $name = NULL, - ?string $attrs = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null, + ?string $galAccountId = null, + ?string $name = null, + ?string $attrs = null ): ?Message\SearchCalendarResourcesResponse; /** @@ -608,21 +608,21 @@ function searchCalendarResources( * @return Message\SearchGalResponse */ function searchGal( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?string $ref = NULL, - ?string $name = NULL, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?bool $needIsOwner = NULL, - ?MemberOfSelector $needIsMember = NULL, - ?bool $needSMIMECerts = NULL, - ?string $galAccountId = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?string $ref = null, + ?string $name = null, + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?bool $needIsOwner = null, + ?MemberOfSelector $needIsMember = null, + ?bool $needSMIMECerts = null, + ?string $galAccountId = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null ): ?Message\SearchGalResponse; /** @@ -647,10 +647,10 @@ function subscribeDistributionList( * @return Message\SyncGalResponse */ function syncGal( - ?string $token = NULL, - ?string $galAccountId = NULL, - ?bool $idOnly = NULL, - ?bool $getCount = NULL, - ?int $limit = NULL + ?string $token = null, + ?string $galAccountId = null, + ?bool $idOnly = null, + ?bool $getCount = null, + ?int $limit = null ): ?Message\SyncGalResponse; } diff --git a/src/Account/Message/AuthBody.php b/src/Account/Message/AuthBody.php index 505fb4640..393c8f657 100644 --- a/src/Account/Message/AuthBody.php +++ b/src/Account/Message/AuthBody.php @@ -33,7 +33,7 @@ class AuthBody extends SoapBody #[SerializedName('AuthRequest')] #[Type(AuthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AuthBody extends SoapBody #[SerializedName('AuthResponse')] #[Type(AuthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AuthBody extends SoapBody * @return self */ public function __construct( - ?AuthRequest $request = NULL, ?AuthResponse $response = NULL + ?AuthRequest $request = null, ?AuthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/AuthEnvelope.php b/src/Account/Message/AuthEnvelope.php index f489878c7..2c6b3a50a 100644 --- a/src/Account/Message/AuthEnvelope.php +++ b/src/Account/Message/AuthEnvelope.php @@ -35,7 +35,7 @@ class AuthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AuthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AuthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AuthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AuthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/AuthRequest.php b/src/Account/Message/AuthRequest.php index a79c6a802..08f8b5efa 100644 --- a/src/Account/Message/AuthRequest.php +++ b/src/Account/Message/AuthRequest.php @@ -274,25 +274,25 @@ class AuthRequest extends SoapRequest * @return self */ public function __construct( - ?AccountSelector $account = NULL, - ?string $password = NULL, - ?string $recoveryCode = NULL, - ?PreAuth $preauth = NULL, - ?AuthToken $authToken = NULL, - ?string $jwtToken = NULL, - ?string $virtualHost = NULL, + ?AccountSelector $account = null, + ?string $password = null, + ?string $recoveryCode = null, + ?PreAuth $preauth = null, + ?AuthToken $authToken = null, + ?string $jwtToken = null, + ?string $virtualHost = null, array $prefs = [], array $attrs = [], - ?string $requestedSkin = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL, - ?bool $deviceTrusted = NULL, - ?string $trustedDeviceToken = NULL, - ?string $deviceId = NULL, - ?bool $generateDeviceId = NULL, - ?string $tokenType = NULL, - ?bool $ignoreSameSite = NULL + ?string $requestedSkin = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null, + ?bool $deviceTrusted = null, + ?string $trustedDeviceToken = null, + ?string $deviceId = null, + ?bool $generateDeviceId = null, + ?string $tokenType = null, + ?bool $ignoreSameSite = null ) { $this->setPrefs($prefs) @@ -300,46 +300,46 @@ public function __construct( $this->account = $account; $this->preauth = $preauth; $this->authToken = $authToken; - if(NULL !== $password) { + if(null !== $password) { $this->setPassword($password); } - if(NULL !== $recoveryCode) { + if(null !== $recoveryCode) { $this->setRecoveryCode($recoveryCode); } - if(NULL !== $jwtToken) { + if(null !== $jwtToken) { $this->setJwtToken($jwtToken); } - if(NULL !== $virtualHost) { + if(null !== $virtualHost) { $this->setVirtualHost($virtualHost); } - if(NULL !== $requestedSkin) { + if(null !== $requestedSkin) { $this->setRequestedSkin($requestedSkin); } - if(NULL !== $persistAuthTokenCookie) { + if(null !== $persistAuthTokenCookie) { $this->setPersistAuthTokenCookie($persistAuthTokenCookie); } - if(NULL !== $csrfSupported) { + if(null !== $csrfSupported) { $this->setCsrfSupported($csrfSupported); } - if(NULL !== $twoFactorCode) { + if(null !== $twoFactorCode) { $this->setTwoFactorCode($twoFactorCode); } - if(NULL !== $deviceTrusted) { + if(null !== $deviceTrusted) { $this->setDeviceTrusted($deviceTrusted); } - if(NULL !== $trustedDeviceToken) { + if(null !== $trustedDeviceToken) { $this->setTrustedDeviceToken($trustedDeviceToken); } - if(NULL !== $deviceId) { + if(null !== $deviceId) { $this->setDeviceId($deviceId); } - if(NULL !== $generateDeviceId) { + if(null !== $generateDeviceId) { $this->setGenerateDeviceId($generateDeviceId); } - if(NULL !== $tokenType) { + if(null !== $tokenType) { $this->setTokenType($tokenType); } - if(NULL !== $ignoreSameSite) { + if(null !== $ignoreSameSite) { $this->setIgnoreSameSite($ignoreSameSite); } } diff --git a/src/Account/Message/AuthResponse.php b/src/Account/Message/AuthResponse.php index a9794c04c..52c18694f 100644 --- a/src/Account/Message/AuthResponse.php +++ b/src/Account/Message/AuthResponse.php @@ -203,56 +203,56 @@ class AuthResponse extends SoapResponse * @return self */ public function __construct( - ?string $authToken = NULL, - ?int $lifetime = NULL, - ?Session $session = NULL, - ?string $refer = NULL, - ?string $skin = NULL, - ?string $csrfToken = NULL, - ?string $deviceId = NULL, - ?string $trustedToken = NULL, - ?int $trustLifetime = NULL, - ?bool $zmgProxy = NULL, + ?string $authToken = null, + ?int $lifetime = null, + ?Session $session = null, + ?string $refer = null, + ?string $skin = null, + ?string $csrfToken = null, + ?string $deviceId = null, + ?string $trustedToken = null, + ?int $trustLifetime = null, + ?bool $zmgProxy = null, array $prefs = [], array $attrs = [], - ?bool $twoFactorAuthRequired = NULL, - ?bool $trustedDevicesEnabled = NULL + ?bool $twoFactorAuthRequired = null, + ?bool $trustedDevicesEnabled = null ) { $this->session = $session; $this->setPrefs($prefs) ->setAttrs($attrs); - if(NULL !== $authToken) { + if(null !== $authToken) { $this->setAuthToken($authToken); } - if(NULL !== $lifetime) { + if(null !== $lifetime) { $this->setLifetime($lifetime); } - if(NULL !== $refer) { + if(null !== $refer) { $this->setRefer($refer); } - if(NULL !== $skin) { + if(null !== $skin) { $this->setSkin($skin); } - if(NULL !== $csrfToken) { + if(null !== $csrfToken) { $this->setCsrfToken($csrfToken); } - if(NULL !== $deviceId) { + if(null !== $deviceId) { $this->setDeviceId($deviceId); } - if(NULL !== $trustedToken) { + if(null !== $trustedToken) { $this->setTrustedToken($trustedToken); } - if(NULL !== $trustLifetime) { + if(null !== $trustLifetime) { $this->setTrustLifetime($trustLifetime); } - if(NULL !== $zmgProxy) { + if(null !== $zmgProxy) { $this->setZmgProxy($zmgProxy); } - if(NULL !== $twoFactorAuthRequired) { + if(null !== $twoFactorAuthRequired) { $this->setTwoFactorAuthRequired($twoFactorAuthRequired); } - if(NULL !== $trustedDevicesEnabled) { + if(null !== $trustedDevicesEnabled) { $this->setTrustedDevicesEnabled($trustedDevicesEnabled); } } diff --git a/src/Account/Message/AutoCompleteGalBody.php b/src/Account/Message/AutoCompleteGalBody.php index 7add48188..4080fed21 100644 --- a/src/Account/Message/AutoCompleteGalBody.php +++ b/src/Account/Message/AutoCompleteGalBody.php @@ -33,7 +33,7 @@ class AutoCompleteGalBody extends SoapBody #[SerializedName('AutoCompleteGalRequest')] #[Type(AutoCompleteGalRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AutoCompleteGalBody extends SoapBody #[SerializedName('AutoCompleteGalResponse')] #[Type(AutoCompleteGalResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AutoCompleteGalBody extends SoapBody * @return self */ public function __construct( - ?AutoCompleteGalRequest $request = NULL, ?AutoCompleteGalResponse $response = NULL + ?AutoCompleteGalRequest $request = null, ?AutoCompleteGalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/AutoCompleteGalEnvelope.php b/src/Account/Message/AutoCompleteGalEnvelope.php index 7f6d8bad1..4435575ac 100644 --- a/src/Account/Message/AutoCompleteGalEnvelope.php +++ b/src/Account/Message/AutoCompleteGalEnvelope.php @@ -35,7 +35,7 @@ class AutoCompleteGalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AutoCompleteGalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AutoCompleteGalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AutoCompleteGalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AutoCompleteGalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/AutoCompleteGalRequest.php b/src/Account/Message/AutoCompleteGalRequest.php index 9b1f4ebd1..d39d32a8b 100644 --- a/src/Account/Message/AutoCompleteGalRequest.php +++ b/src/Account/Message/AutoCompleteGalRequest.php @@ -100,21 +100,21 @@ class AutoCompleteGalRequest extends SoapRequest */ public function __construct( string $name = '', - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $galAccountId = null, + ?int $limit = null ) { $this->setName($name); $this->type = $type; - if(NULL !== $needCanExpand) { + if(null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } - if(NULL !== $galAccountId) { + if(null !== $galAccountId) { $this->setGalAccountId($galAccountId); } - if(NULL !== $limit) { + if(null !== $limit) { $this->setLimit($limit); } } diff --git a/src/Account/Message/AutoCompleteGalResponse.php b/src/Account/Message/AutoCompleteGalResponse.php index cf1aa1c4d..8a6b30140 100644 --- a/src/Account/Message/AutoCompleteGalResponse.php +++ b/src/Account/Message/AutoCompleteGalResponse.php @@ -82,20 +82,20 @@ class AutoCompleteGalResponse extends SoapResponse * @return self */ public function __construct( - ?bool $more = NULL, - ?bool $tokenizeKey = NULL, - ?bool $pagingSupported = NULL, + ?bool $more = null, + ?bool $tokenizeKey = null, + ?bool $pagingSupported = null, array $contacts = [] ) { $this->setContacts($contacts); - if(NULL !== $more) { + if(null !== $more) { $this->setMore($more); } - if(NULL !== $tokenizeKey) { + if(null !== $tokenizeKey) { $this->setTokenizeKey($tokenizeKey); } - if(NULL !== $pagingSupported) { + if(null !== $pagingSupported) { $this->setPagingSupported($pagingSupported); } } diff --git a/src/Account/Message/ChangePasswordBody.php b/src/Account/Message/ChangePasswordBody.php index 6d16c80a6..a6aa52fb7 100644 --- a/src/Account/Message/ChangePasswordBody.php +++ b/src/Account/Message/ChangePasswordBody.php @@ -33,7 +33,7 @@ class ChangePasswordBody extends SoapBody #[SerializedName('ChangePasswordRequest')] #[Type(ChangePasswordRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ChangePasswordBody extends SoapBody #[SerializedName('ChangePasswordResponse')] #[Type(ChangePasswordResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ChangePasswordBody extends SoapBody * @return self */ public function __construct( - ?ChangePasswordRequest $request = NULL, ?ChangePasswordResponse $response = NULL + ?ChangePasswordRequest $request = null, ?ChangePasswordResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ChangePasswordEnvelope.php b/src/Account/Message/ChangePasswordEnvelope.php index 9cb85469b..7ff576f28 100644 --- a/src/Account/Message/ChangePasswordEnvelope.php +++ b/src/Account/Message/ChangePasswordEnvelope.php @@ -35,7 +35,7 @@ class ChangePasswordEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ChangePasswordBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ChangePasswordEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ChangePasswordBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ChangePasswordBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ChangePasswordRequest.php b/src/Account/Message/ChangePasswordRequest.php index ec2b877ca..f25cf7c4e 100644 --- a/src/Account/Message/ChangePasswordRequest.php +++ b/src/Account/Message/ChangePasswordRequest.php @@ -94,17 +94,17 @@ public function __construct( AccountSelector $account, string $oldPassword = '', string $newPassword = '', - ?string $virtualHost = NULL, - ?bool $dryRun = NULL + ?string $virtualHost = null, + ?bool $dryRun = null ) { $this->setAccount($account) ->setOldPassword($oldPassword) ->setPassword($newPassword); - if(NULL !== $virtualHost) { + if(null !== $virtualHost) { $this->setVirtualHost($virtualHost); } - if(NULL !== $dryRun) { + if(null !== $dryRun) { $this->setDryRun($dryRun); } } diff --git a/src/Account/Message/CheckRightsBody.php b/src/Account/Message/CheckRightsBody.php index 579a6c896..9e82e3f1a 100644 --- a/src/Account/Message/CheckRightsBody.php +++ b/src/Account/Message/CheckRightsBody.php @@ -33,7 +33,7 @@ class CheckRightsBody extends SoapBody #[SerializedName('CheckRightsRequest')] #[Type(CheckRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckRightsBody extends SoapBody #[SerializedName('CheckRightsResponse')] #[Type(CheckRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckRightsBody extends SoapBody * @return self */ public function __construct( - ?CheckRightsRequest $request = NULL, ?CheckRightsResponse $response = NULL + ?CheckRightsRequest $request = null, ?CheckRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/CheckRightsEnvelope.php b/src/Account/Message/CheckRightsEnvelope.php index d2b0f3203..bd761d138 100644 --- a/src/Account/Message/CheckRightsEnvelope.php +++ b/src/Account/Message/CheckRightsEnvelope.php @@ -35,7 +35,7 @@ class CheckRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ClientInfoBody.php b/src/Account/Message/ClientInfoBody.php index 37d1303ee..7e0bccf44 100644 --- a/src/Account/Message/ClientInfoBody.php +++ b/src/Account/Message/ClientInfoBody.php @@ -33,7 +33,7 @@ class ClientInfoBody extends SoapBody #[SerializedName('ClientInfoRequest')] #[Type(ClientInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ClientInfoBody extends SoapBody #[SerializedName('ClientInfoResponse')] #[Type(ClientInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ClientInfoBody extends SoapBody * @return self */ public function __construct( - ?ClientInfoRequest $request = NULL, ?ClientInfoResponse $response = NULL + ?ClientInfoRequest $request = null, ?ClientInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ClientInfoEnvelope.php b/src/Account/Message/ClientInfoEnvelope.php index 17be0c573..83e99a4d1 100644 --- a/src/Account/Message/ClientInfoEnvelope.php +++ b/src/Account/Message/ClientInfoEnvelope.php @@ -35,7 +35,7 @@ class ClientInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ClientInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ClientInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ClientInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ClientInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/CreateDistributionListBody.php b/src/Account/Message/CreateDistributionListBody.php index b2531b8c6..75a9e8870 100644 --- a/src/Account/Message/CreateDistributionListBody.php +++ b/src/Account/Message/CreateDistributionListBody.php @@ -33,7 +33,7 @@ class CreateDistributionListBody extends SoapBody #[SerializedName('CreateDistributionListRequest')] #[Type(CreateDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateDistributionListBody extends SoapBody #[SerializedName('CreateDistributionListResponse')] #[Type(CreateDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateDistributionListBody extends SoapBody * @return self */ public function __construct( - ?CreateDistributionListRequest $request = NULL, ?CreateDistributionListResponse $response = NULL + ?CreateDistributionListRequest $request = null, ?CreateDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/CreateDistributionListEnvelope.php b/src/Account/Message/CreateDistributionListEnvelope.php index 509c8f131..2e06f621e 100644 --- a/src/Account/Message/CreateDistributionListEnvelope.php +++ b/src/Account/Message/CreateDistributionListEnvelope.php @@ -35,7 +35,7 @@ class CreateDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/CreateDistributionListRequest.php b/src/Account/Message/CreateDistributionListRequest.php index 7a16e1459..2da282fcc 100644 --- a/src/Account/Message/CreateDistributionListRequest.php +++ b/src/Account/Message/CreateDistributionListRequest.php @@ -70,12 +70,12 @@ class CreateDistributionListRequest extends SoapRequest implements KeyValuePairs * @return self */ public function __construct( - string $name = '', ?bool $dynamic = NULL, array $attrs = [] + string $name = '', ?bool $dynamic = null, array $attrs = [] ) { $this->setName($name) ->setKeyValuePairs($attrs); - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } } diff --git a/src/Account/Message/CreateDistributionListResponse.php b/src/Account/Message/CreateDistributionListResponse.php index 11de0ec6c..17320e972 100644 --- a/src/Account/Message/CreateDistributionListResponse.php +++ b/src/Account/Message/CreateDistributionListResponse.php @@ -42,7 +42,7 @@ class CreateDistributionListResponse extends SoapResponse * @param DLInfo $dl * @return self */ - public function __construct(?DLInfo $dl = NULL) + public function __construct(?DLInfo $dl = null) { $this->dl = $dl; } diff --git a/src/Account/Message/CreateIdentityBody.php b/src/Account/Message/CreateIdentityBody.php index 710f56570..9747799ee 100644 --- a/src/Account/Message/CreateIdentityBody.php +++ b/src/Account/Message/CreateIdentityBody.php @@ -33,7 +33,7 @@ class CreateIdentityBody extends SoapBody #[SerializedName('CreateIdentityRequest')] #[Type(CreateIdentityRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateIdentityBody extends SoapBody #[SerializedName('CreateIdentityResponse')] #[Type(CreateIdentityResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateIdentityBody extends SoapBody * @return self */ public function __construct( - ?CreateIdentityRequest $request = NULL, ?CreateIdentityResponse $response = NULL + ?CreateIdentityRequest $request = null, ?CreateIdentityResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/CreateIdentityEnvelope.php b/src/Account/Message/CreateIdentityEnvelope.php index 0551d353a..8ddc0db00 100644 --- a/src/Account/Message/CreateIdentityEnvelope.php +++ b/src/Account/Message/CreateIdentityEnvelope.php @@ -35,7 +35,7 @@ class CreateIdentityEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateIdentityBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateIdentityEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateIdentityBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateIdentityBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/CreateIdentityResponse.php b/src/Account/Message/CreateIdentityResponse.php index af6d92bf0..2b53669c6 100644 --- a/src/Account/Message/CreateIdentityResponse.php +++ b/src/Account/Message/CreateIdentityResponse.php @@ -42,7 +42,7 @@ class CreateIdentityResponse extends SoapResponse * @param Identity $identity * @return self */ - public function __construct(?Identity $identity = NULL) + public function __construct(?Identity $identity = null) { $this->identity = $identity; } diff --git a/src/Account/Message/CreateSignatureBody.php b/src/Account/Message/CreateSignatureBody.php index c79a56cbd..f519820f5 100644 --- a/src/Account/Message/CreateSignatureBody.php +++ b/src/Account/Message/CreateSignatureBody.php @@ -33,7 +33,7 @@ class CreateSignatureBody extends SoapBody #[SerializedName('CreateSignatureRequest')] #[Type(CreateSignatureRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateSignatureBody extends SoapBody #[SerializedName('CreateSignatureResponse')] #[Type(CreateSignatureResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateSignatureBody extends SoapBody * @return self */ public function __construct( - ?CreateSignatureRequest $request = NULL, ?CreateSignatureResponse $response = NULL + ?CreateSignatureRequest $request = null, ?CreateSignatureResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/CreateSignatureEnvelope.php b/src/Account/Message/CreateSignatureEnvelope.php index 66b59601f..34b38876a 100644 --- a/src/Account/Message/CreateSignatureEnvelope.php +++ b/src/Account/Message/CreateSignatureEnvelope.php @@ -35,7 +35,7 @@ class CreateSignatureEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateSignatureBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateSignatureEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateSignatureBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateSignatureBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/CreateSignatureResponse.php b/src/Account/Message/CreateSignatureResponse.php index ff0a3f441..502a35bad 100644 --- a/src/Account/Message/CreateSignatureResponse.php +++ b/src/Account/Message/CreateSignatureResponse.php @@ -42,7 +42,7 @@ class CreateSignatureResponse extends SoapResponse * @param NameId $signature * @return self */ - public function __construct(?NameId $signature = NULL) + public function __construct(?NameId $signature = null) { $this->signature = $signature; } diff --git a/src/Account/Message/DeleteIdentityBody.php b/src/Account/Message/DeleteIdentityBody.php index fe0ed75c5..45ee8cd9d 100644 --- a/src/Account/Message/DeleteIdentityBody.php +++ b/src/Account/Message/DeleteIdentityBody.php @@ -33,7 +33,7 @@ class DeleteIdentityBody extends SoapBody #[SerializedName('DeleteIdentityRequest')] #[Type(DeleteIdentityRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteIdentityBody extends SoapBody #[SerializedName('DeleteIdentityResponse')] #[Type(DeleteIdentityResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteIdentityBody extends SoapBody * @return self */ public function __construct( - ?DeleteIdentityRequest $request = NULL, ?DeleteIdentityResponse $response = NULL + ?DeleteIdentityRequest $request = null, ?DeleteIdentityResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/DeleteIdentityEnvelope.php b/src/Account/Message/DeleteIdentityEnvelope.php index 28fc1a0e9..16babfb8c 100644 --- a/src/Account/Message/DeleteIdentityEnvelope.php +++ b/src/Account/Message/DeleteIdentityEnvelope.php @@ -35,7 +35,7 @@ class DeleteIdentityEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteIdentityBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteIdentityEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteIdentityBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteIdentityBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/DeleteSignatureBody.php b/src/Account/Message/DeleteSignatureBody.php index 6ae43fbe5..bb34f0cbe 100644 --- a/src/Account/Message/DeleteSignatureBody.php +++ b/src/Account/Message/DeleteSignatureBody.php @@ -33,7 +33,7 @@ class DeleteSignatureBody extends SoapBody #[SerializedName('DeleteSignatureRequest')] #[Type(DeleteSignatureRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteSignatureBody extends SoapBody #[SerializedName('DeleteSignatureResponse')] #[Type(DeleteSignatureResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteSignatureBody extends SoapBody * @return self */ public function __construct( - ?DeleteSignatureRequest $request = NULL, ?DeleteSignatureResponse $response = NULL + ?DeleteSignatureRequest $request = null, ?DeleteSignatureResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/DeleteSignatureEnvelope.php b/src/Account/Message/DeleteSignatureEnvelope.php index e599ddf56..12156ba8d 100644 --- a/src/Account/Message/DeleteSignatureEnvelope.php +++ b/src/Account/Message/DeleteSignatureEnvelope.php @@ -35,7 +35,7 @@ class DeleteSignatureEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteSignatureBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteSignatureEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteSignatureBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteSignatureBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/DiscoverRightsBody.php b/src/Account/Message/DiscoverRightsBody.php index e51a0d5b9..fa291bd05 100644 --- a/src/Account/Message/DiscoverRightsBody.php +++ b/src/Account/Message/DiscoverRightsBody.php @@ -33,7 +33,7 @@ class DiscoverRightsBody extends SoapBody #[SerializedName('DiscoverRightsRequest')] #[Type(DiscoverRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DiscoverRightsBody extends SoapBody #[SerializedName('DiscoverRightsResponse')] #[Type(DiscoverRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DiscoverRightsBody extends SoapBody * @return self */ public function __construct( - ?DiscoverRightsRequest $request = NULL, ?DiscoverRightsResponse $response = NULL + ?DiscoverRightsRequest $request = null, ?DiscoverRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/DiscoverRightsEnvelope.php b/src/Account/Message/DiscoverRightsEnvelope.php index 37c0267c3..d4364a2d1 100644 --- a/src/Account/Message/DiscoverRightsEnvelope.php +++ b/src/Account/Message/DiscoverRightsEnvelope.php @@ -35,7 +35,7 @@ class DiscoverRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DiscoverRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DiscoverRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DiscoverRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DiscoverRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/DistributionListActionBody.php b/src/Account/Message/DistributionListActionBody.php index 7029a53de..8b68ead4a 100644 --- a/src/Account/Message/DistributionListActionBody.php +++ b/src/Account/Message/DistributionListActionBody.php @@ -33,7 +33,7 @@ class DistributionListActionBody extends SoapBody #[SerializedName('DistributionListActionRequest')] #[Type(DistributionListActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DistributionListActionBody extends SoapBody #[SerializedName('DistributionListActionResponse')] #[Type(DistributionListActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DistributionListActionBody extends SoapBody * @return self */ public function __construct( - ?DistributionListActionRequest $request = NULL, ?DistributionListActionResponse $response = NULL + ?DistributionListActionRequest $request = null, ?DistributionListActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/DistributionListActionEnvelope.php b/src/Account/Message/DistributionListActionEnvelope.php index 4cc51294c..be8ef51e4 100644 --- a/src/Account/Message/DistributionListActionEnvelope.php +++ b/src/Account/Message/DistributionListActionEnvelope.php @@ -35,7 +35,7 @@ class DistributionListActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DistributionListActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DistributionListActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DistributionListActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DistributionListActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/EndSessionBody.php b/src/Account/Message/EndSessionBody.php index ff5966d4c..dc3fd2150 100644 --- a/src/Account/Message/EndSessionBody.php +++ b/src/Account/Message/EndSessionBody.php @@ -33,7 +33,7 @@ class EndSessionBody extends SoapBody #[SerializedName('EndSessionRequest')] #[Type(EndSessionRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class EndSessionBody extends SoapBody #[SerializedName('EndSessionResponse')] #[Type(EndSessionResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class EndSessionBody extends SoapBody * @return self */ public function __construct( - ?EndSessionRequest $request = NULL, ?EndSessionResponse $response = NULL + ?EndSessionRequest $request = null, ?EndSessionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/EndSessionEnvelope.php b/src/Account/Message/EndSessionEnvelope.php index d2f222c59..bba6093fe 100644 --- a/src/Account/Message/EndSessionEnvelope.php +++ b/src/Account/Message/EndSessionEnvelope.php @@ -35,7 +35,7 @@ class EndSessionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(EndSessionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class EndSessionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?EndSessionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?EndSessionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/EndSessionRequest.php b/src/Account/Message/EndSessionRequest.php index 1f1c28441..59f2945df 100644 --- a/src/Account/Message/EndSessionRequest.php +++ b/src/Account/Message/EndSessionRequest.php @@ -82,22 +82,22 @@ class EndSessionRequest extends SoapRequest * @return self */ public function __construct( - ?bool $logoff = NULL, - ?bool $clearAllSoapSessions = NULL, - ?bool $excludeCurrentSession = NULL, - ?string $sessionId = NULL + ?bool $logoff = null, + ?bool $clearAllSoapSessions = null, + ?bool $excludeCurrentSession = null, + ?string $sessionId = null ) { - if(NULL !== $logoff) { + if(null !== $logoff) { $this->setLogOff($logoff); } - if(NULL !== $clearAllSoapSessions) { + if(null !== $clearAllSoapSessions) { $this->setClearAllSoapSessions($clearAllSoapSessions); } - if(NULL !== $excludeCurrentSession) { + if(null !== $excludeCurrentSession) { $this->setExcludeCurrentSession($excludeCurrentSession); } - if(NULL !== $sessionId) { + if(null !== $sessionId) { $this->setSessionId($sessionId); } } diff --git a/src/Account/Message/GetAccountDistributionListsBody.php b/src/Account/Message/GetAccountDistributionListsBody.php index 8ecf5a71e..49cad3f6f 100644 --- a/src/Account/Message/GetAccountDistributionListsBody.php +++ b/src/Account/Message/GetAccountDistributionListsBody.php @@ -33,7 +33,7 @@ class GetAccountDistributionListsBody extends SoapBody #[SerializedName('GetAccountDistributionListsRequest')] #[Type(GetAccountDistributionListsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountDistributionListsBody extends SoapBody #[SerializedName('GetAccountDistributionListsResponse')] #[Type(GetAccountDistributionListsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountDistributionListsBody extends SoapBody * @return self */ public function __construct( - ?GetAccountDistributionListsRequest $request = NULL, ?GetAccountDistributionListsResponse $response = NULL + ?GetAccountDistributionListsRequest $request = null, ?GetAccountDistributionListsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAccountDistributionListsEnvelope.php b/src/Account/Message/GetAccountDistributionListsEnvelope.php index 49ec17f13..8cd1f48ce 100644 --- a/src/Account/Message/GetAccountDistributionListsEnvelope.php +++ b/src/Account/Message/GetAccountDistributionListsEnvelope.php @@ -35,7 +35,7 @@ class GetAccountDistributionListsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountDistributionListsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountDistributionListsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountDistributionListsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountDistributionListsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetAccountDistributionListsRequest.php b/src/Account/Message/GetAccountDistributionListsRequest.php index 9af720f2a..8eb16c218 100644 --- a/src/Account/Message/GetAccountDistributionListsRequest.php +++ b/src/Account/Message/GetAccountDistributionListsRequest.php @@ -73,16 +73,16 @@ class GetAccountDistributionListsRequest extends SoapRequest * @return self */ public function __construct( - ?bool $ownerOf = NULL, - ?MemberOfSelector $memberOf = NULL, - ?string $attrs = NULL + ?bool $ownerOf = null, + ?MemberOfSelector $memberOf = null, + ?string $attrs = null ) { $this->memberOf = $memberOf; - if(NULL !== $ownerOf) { + if(null !== $ownerOf) { $this->setOwnerOf($ownerOf); } - if(NULL !== $attrs) { + if(null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Account/Message/GetAccountInfoBody.php b/src/Account/Message/GetAccountInfoBody.php index 452148482..39c4c36c9 100644 --- a/src/Account/Message/GetAccountInfoBody.php +++ b/src/Account/Message/GetAccountInfoBody.php @@ -33,7 +33,7 @@ class GetAccountInfoBody extends SoapBody #[SerializedName('GetAccountInfoRequest')] #[Type(GetAccountInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountInfoBody extends SoapBody #[SerializedName('GetAccountInfoResponse')] #[Type(GetAccountInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountInfoBody extends SoapBody * @return self */ public function __construct( - ?GetAccountInfoRequest $request = NULL, ?GetAccountInfoResponse $response = NULL + ?GetAccountInfoRequest $request = null, ?GetAccountInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAccountInfoEnvelope.php b/src/Account/Message/GetAccountInfoEnvelope.php index 26179e1ab..91b3e8da8 100644 --- a/src/Account/Message/GetAccountInfoEnvelope.php +++ b/src/Account/Message/GetAccountInfoEnvelope.php @@ -35,7 +35,7 @@ class GetAccountInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetAccountInfoResponse.php b/src/Account/Message/GetAccountInfoResponse.php index 5377d1c3f..5f368cfdd 100644 --- a/src/Account/Message/GetAccountInfoResponse.php +++ b/src/Account/Message/GetAccountInfoResponse.php @@ -106,7 +106,7 @@ class GetAccountInfoResponse extends SoapResponse /** * Proxy URL for accessing XMPP over BOSH. - * Should be returned only when zimbraFeatureChatEnabled is set to TRUE for Account/COS + * Should be returned only when zimbraFeatureChatEnabled is set to true for Account/COS * * @var string */ @@ -132,32 +132,32 @@ class GetAccountInfoResponse extends SoapResponse public function __construct( string $name = '', array $attrs = [], - ?string $soapURL = NULL, - ?string $publicURL = NULL, - ?string $changePasswordURL = NULL, - ?string $communityURL = NULL, - ?string $adminURL = NULL, - ?string $boshURL = NULL + ?string $soapURL = null, + ?string $publicURL = null, + ?string $changePasswordURL = null, + ?string $communityURL = null, + ?string $adminURL = null, + ?string $boshURL = null ) { $this->setName($name) ->setAttrs($attrs); - if (NULL !== $soapURL) { + if (null !== $soapURL) { $this->setSoapURL($soapURL); } - if (NULL !== $publicURL) { + if (null !== $publicURL) { $this->setPublicURL($publicURL); } - if (NULL !== $changePasswordURL) { + if (null !== $changePasswordURL) { $this->setChangePasswordURL($changePasswordURL); } - if (NULL !== $communityURL) { + if (null !== $communityURL) { $this->setCommunityURL($communityURL); } - if (NULL !== $adminURL) { + if (null !== $adminURL) { $this->setAdminURL($adminURL); } - if (NULL !== $boshURL) { + if (null !== $boshURL) { $this->setBoshURL($boshURL); } } diff --git a/src/Account/Message/GetAllLocalesBody.php b/src/Account/Message/GetAllLocalesBody.php index 7fa291b4f..b17c5b32f 100644 --- a/src/Account/Message/GetAllLocalesBody.php +++ b/src/Account/Message/GetAllLocalesBody.php @@ -33,7 +33,7 @@ class GetAllLocalesBody extends SoapBody #[SerializedName('GetAllLocalesRequest')] #[Type(GetAllLocalesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllLocalesBody extends SoapBody #[SerializedName('GetAllLocalesResponse')] #[Type(GetAllLocalesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllLocalesBody extends SoapBody * @return self */ public function __construct( - ?GetAllLocalesRequest $request = NULL, ?GetAllLocalesResponse $response = NULL + ?GetAllLocalesRequest $request = null, ?GetAllLocalesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAllLocalesEnvelope.php b/src/Account/Message/GetAllLocalesEnvelope.php index a5dc2e289..fe504daf5 100644 --- a/src/Account/Message/GetAllLocalesEnvelope.php +++ b/src/Account/Message/GetAllLocalesEnvelope.php @@ -35,7 +35,7 @@ class GetAllLocalesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllLocalesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllLocalesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllLocalesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllLocalesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetAvailableCsvFormatsBody.php b/src/Account/Message/GetAvailableCsvFormatsBody.php index 1754a7685..92ea47147 100644 --- a/src/Account/Message/GetAvailableCsvFormatsBody.php +++ b/src/Account/Message/GetAvailableCsvFormatsBody.php @@ -33,7 +33,7 @@ class GetAvailableCsvFormatsBody extends SoapBody #[SerializedName('GetAvailableCsvFormatsRequest')] #[Type(GetAvailableCsvFormatsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAvailableCsvFormatsBody extends SoapBody #[SerializedName('GetAvailableCsvFormatsResponse')] #[Type(GetAvailableCsvFormatsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAvailableCsvFormatsBody extends SoapBody * @return self */ public function __construct( - ?GetAvailableCsvFormatsRequest $request = NULL, ?GetAvailableCsvFormatsResponse $response = NULL + ?GetAvailableCsvFormatsRequest $request = null, ?GetAvailableCsvFormatsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAvailableCsvFormatsEnvelope.php b/src/Account/Message/GetAvailableCsvFormatsEnvelope.php index 9ac0bf6dd..dff6cf974 100644 --- a/src/Account/Message/GetAvailableCsvFormatsEnvelope.php +++ b/src/Account/Message/GetAvailableCsvFormatsEnvelope.php @@ -35,7 +35,7 @@ class GetAvailableCsvFormatsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAvailableCsvFormatsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAvailableCsvFormatsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAvailableCsvFormatsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAvailableCsvFormatsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetAvailableLocalesBody.php b/src/Account/Message/GetAvailableLocalesBody.php index ffe0354dd..380c2d6f8 100644 --- a/src/Account/Message/GetAvailableLocalesBody.php +++ b/src/Account/Message/GetAvailableLocalesBody.php @@ -33,7 +33,7 @@ class GetAvailableLocalesBody extends SoapBody #[SerializedName('GetAvailableLocalesRequest')] #[Type(GetAvailableLocalesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAvailableLocalesBody extends SoapBody #[SerializedName('GetAvailableLocalesResponse')] #[Type(GetAvailableLocalesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAvailableLocalesBody extends SoapBody * @return self */ public function __construct( - ?GetAvailableLocalesRequest $request = NULL, ?GetAvailableLocalesResponse $response = NULL + ?GetAvailableLocalesRequest $request = null, ?GetAvailableLocalesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAvailableLocalesEnvelope.php b/src/Account/Message/GetAvailableLocalesEnvelope.php index 07ef90339..9b4e65456 100644 --- a/src/Account/Message/GetAvailableLocalesEnvelope.php +++ b/src/Account/Message/GetAvailableLocalesEnvelope.php @@ -35,7 +35,7 @@ class GetAvailableLocalesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAvailableLocalesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAvailableLocalesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAvailableLocalesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAvailableLocalesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetAvailableSkinsBody.php b/src/Account/Message/GetAvailableSkinsBody.php index afa300dad..157447fcf 100644 --- a/src/Account/Message/GetAvailableSkinsBody.php +++ b/src/Account/Message/GetAvailableSkinsBody.php @@ -33,7 +33,7 @@ class GetAvailableSkinsBody extends SoapBody #[SerializedName('GetAvailableSkinsRequest')] #[Type(GetAvailableSkinsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAvailableSkinsBody extends SoapBody #[SerializedName('GetAvailableSkinsResponse')] #[Type(GetAvailableSkinsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAvailableSkinsBody extends SoapBody * @return self */ public function __construct( - ?GetAvailableSkinsRequest $request = NULL, ?GetAvailableSkinsResponse $response = NULL + ?GetAvailableSkinsRequest $request = null, ?GetAvailableSkinsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetAvailableSkinsEnvelope.php b/src/Account/Message/GetAvailableSkinsEnvelope.php index e4d2bfb44..dba3b491e 100644 --- a/src/Account/Message/GetAvailableSkinsEnvelope.php +++ b/src/Account/Message/GetAvailableSkinsEnvelope.php @@ -35,7 +35,7 @@ class GetAvailableSkinsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAvailableSkinsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAvailableSkinsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAvailableSkinsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAvailableSkinsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetDistributionListBody.php b/src/Account/Message/GetDistributionListBody.php index 268c2705f..517cba432 100644 --- a/src/Account/Message/GetDistributionListBody.php +++ b/src/Account/Message/GetDistributionListBody.php @@ -33,7 +33,7 @@ class GetDistributionListBody extends SoapBody #[SerializedName('GetDistributionListRequest')] #[Type(GetDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDistributionListBody extends SoapBody #[SerializedName('GetDistributionListResponse')] #[Type(GetDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDistributionListBody extends SoapBody * @return self */ public function __construct( - ?GetDistributionListRequest $request = NULL, ?GetDistributionListResponse $response = NULL + ?GetDistributionListRequest $request = null, ?GetDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetDistributionListEnvelope.php b/src/Account/Message/GetDistributionListEnvelope.php index 20b649931..5fed794ee 100644 --- a/src/Account/Message/GetDistributionListEnvelope.php +++ b/src/Account/Message/GetDistributionListEnvelope.php @@ -35,7 +35,7 @@ class GetDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetDistributionListMembersBody.php b/src/Account/Message/GetDistributionListMembersBody.php index 7ffd42783..9d97eedc4 100644 --- a/src/Account/Message/GetDistributionListMembersBody.php +++ b/src/Account/Message/GetDistributionListMembersBody.php @@ -33,7 +33,7 @@ class GetDistributionListMembersBody extends SoapBody #[SerializedName('GetDistributionListMembersRequest')] #[Type(GetDistributionListMembersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDistributionListMembersBody extends SoapBody #[SerializedName('GetDistributionListMembersResponse')] #[Type(GetDistributionListMembersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDistributionListMembersBody extends SoapBody * @return self */ public function __construct( - ?GetDistributionListMembersRequest $request = NULL, ?GetDistributionListMembersResponse $response = NULL + ?GetDistributionListMembersRequest $request = null, ?GetDistributionListMembersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetDistributionListMembersEnvelope.php b/src/Account/Message/GetDistributionListMembersEnvelope.php index 52f51947e..2dbc7051a 100644 --- a/src/Account/Message/GetDistributionListMembersEnvelope.php +++ b/src/Account/Message/GetDistributionListMembersEnvelope.php @@ -35,7 +35,7 @@ class GetDistributionListMembersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDistributionListMembersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDistributionListMembersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDistributionListMembersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDistributionListMembersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetDistributionListMembersRequest.php b/src/Account/Message/GetDistributionListMembersRequest.php index e86f9213f..aed4f7619 100644 --- a/src/Account/Message/GetDistributionListMembersRequest.php +++ b/src/Account/Message/GetDistributionListMembersRequest.php @@ -68,15 +68,15 @@ class GetDistributionListMembersRequest extends SoapRequest */ public function __construct( string $dl = '', - ?int $limit = NULL, - ?int $offset = NULL + ?int $limit = null, + ?int $offset = null ) { $this->setDl($dl); - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } } diff --git a/src/Account/Message/GetDistributionListMembersResponse.php b/src/Account/Message/GetDistributionListMembersResponse.php index 1750f37bf..17079bedc 100644 --- a/src/Account/Message/GetDistributionListMembersResponse.php +++ b/src/Account/Message/GetDistributionListMembersResponse.php @@ -82,16 +82,16 @@ class GetDistributionListMembersResponse extends SoapResponse public function __construct( array $dlMembers = [], array $habGroupMembers = [], - ?bool $more = NULL, - ?int $total = NULL + ?bool $more = null, + ?int $total = null ) { $this->setDlMembers($dlMembers) ->setHABGroupMembers($habGroupMembers); - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $total) { + if (null !== $total) { $this->setTotal($total); } } diff --git a/src/Account/Message/GetDistributionListRequest.php b/src/Account/Message/GetDistributionListRequest.php index c5f8e6ffa..eabf872b5 100644 --- a/src/Account/Message/GetDistributionListRequest.php +++ b/src/Account/Message/GetDistributionListRequest.php @@ -72,17 +72,17 @@ class GetDistributionListRequest extends SoapRequest implements Attrs */ public function __construct( DistributionListSelector $dl, - ?bool $needOwners = NULL, - ?string $needRights = NULL, + ?bool $needOwners = null, + ?string $needRights = null, array $attrs = [] ) { $this->setDl($dl) ->setAttrs($attrs); - if (NULL !== $needOwners) { + if (null !== $needOwners) { $this->setNeedOwners($needOwners); } - if (NULL !== $needRights) { + if (null !== $needRights) { $this->setNeedRights($needRights); } } diff --git a/src/Account/Message/GetDistributionListResponse.php b/src/Account/Message/GetDistributionListResponse.php index d366819ed..4d6dafb2e 100644 --- a/src/Account/Message/GetDistributionListResponse.php +++ b/src/Account/Message/GetDistributionListResponse.php @@ -42,7 +42,7 @@ class GetDistributionListResponse extends SoapResponse * @param DistributionListInfo $dl * @return self */ - public function __construct(?DistributionListInfo $dl = NULL) + public function __construct(?DistributionListInfo $dl = null) { $this->dl = $dl; } diff --git a/src/Account/Message/GetIdentitiesBody.php b/src/Account/Message/GetIdentitiesBody.php index 1b4cad591..3818639de 100644 --- a/src/Account/Message/GetIdentitiesBody.php +++ b/src/Account/Message/GetIdentitiesBody.php @@ -33,7 +33,7 @@ class GetIdentitiesBody extends SoapBody #[SerializedName('GetIdentitiesRequest')] #[Type(GetIdentitiesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetIdentitiesBody extends SoapBody #[SerializedName('GetIdentitiesResponse')] #[Type(GetIdentitiesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetIdentitiesBody extends SoapBody * @return self */ public function __construct( - ?GetIdentitiesRequest $request = NULL, ?GetIdentitiesResponse $response = NULL + ?GetIdentitiesRequest $request = null, ?GetIdentitiesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetIdentitiesEnvelope.php b/src/Account/Message/GetIdentitiesEnvelope.php index a52437d09..0625d9395 100644 --- a/src/Account/Message/GetIdentitiesEnvelope.php +++ b/src/Account/Message/GetIdentitiesEnvelope.php @@ -35,7 +35,7 @@ class GetIdentitiesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetIdentitiesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetIdentitiesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetIdentitiesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetIdentitiesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetInfoBody.php b/src/Account/Message/GetInfoBody.php index 83f34d295..1142ce911 100644 --- a/src/Account/Message/GetInfoBody.php +++ b/src/Account/Message/GetInfoBody.php @@ -33,7 +33,7 @@ class GetInfoBody extends SoapBody #[SerializedName('GetInfoRequest')] #[Type(GetInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetInfoBody extends SoapBody #[SerializedName('GetInfoResponse')] #[Type(GetInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetInfoBody extends SoapBody * @return self */ public function __construct( - ?GetInfoRequest $request = NULL, ?GetInfoResponse $response = NULL + ?GetInfoRequest $request = null, ?GetInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetInfoEnvelope.php b/src/Account/Message/GetInfoEnvelope.php index 38b36bf53..f0e5bcc98 100644 --- a/src/Account/Message/GetInfoEnvelope.php +++ b/src/Account/Message/GetInfoEnvelope.php @@ -35,7 +35,7 @@ class GetInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetInfoRequest.php b/src/Account/Message/GetInfoRequest.php index 0b9d52884..be8a1fb1c 100644 --- a/src/Account/Message/GetInfoRequest.php +++ b/src/Account/Message/GetInfoRequest.php @@ -57,12 +57,12 @@ class GetInfoRequest extends SoapRequest * @param string $rights * @return self */ - public function __construct(?string $sections = NULL, ?string $rights = NULL) + public function __construct(?string $sections = null, ?string $rights = null) { - if (NULL !== $sections) { + if (null !== $sections) { $this->setSections($sections); } - if (NULL !== $rights) { + if (null !== $rights) { $this->setRights($rights); } } @@ -74,7 +74,7 @@ public function __construct(?string $sections = NULL, ?string $rights = NULL) */ public function getSections(): ?string { - return !empty($this->sections) ? implode(',', $this->sections) : NULL; + return !empty($this->sections) ? implode(',', $this->sections) : null; } /** @@ -117,7 +117,7 @@ public function addSections(string ...$sections): self */ public function getRights(): ?string { - return !empty($this->rights) ? implode(',', $this->rights) : NULL; + return !empty($this->rights) ? implode(',', $this->rights) : null; } /** diff --git a/src/Account/Message/GetInfoResponse.php b/src/Account/Message/GetInfoResponse.php index 5c5f73cf6..9dcb8c709 100644 --- a/src/Account/Message/GetInfoResponse.php +++ b/src/Account/Message/GetInfoResponse.php @@ -373,7 +373,7 @@ class GetInfoResponse extends SoapResponse /** * Proxy URL for accessing XMPP over BOSH. - * Should be returned only when zimbraFeatureChatEnabled is set to TRUE for Account/COS + * Should be returned only when zimbraFeatureChatEnabled is set to true for Account/COS * * @var string */ @@ -431,22 +431,22 @@ class GetInfoResponse extends SoapResponse * @return self */ public function __construct( - ?int $attachmentSizeLimit = NULL, - ?int $documentSizeLimit = NULL, - ?bool $spellCheckAvailable = NULL, - ?string $version = NULL, - ?string $accountId = NULL, - ?int $profileImageId = NULL, - ?string $accountName = NULL, - ?string $crumb = NULL, - ?int $lifetime = NULL, - ?bool $adminDelegated = NULL, - ?string $restUrl = NULL, - ?int $quotaUsed = NULL, - ?int $previousSessionTime = NULL, - ?int $lastWriteAccessTime = NULL, - ?int $recentMessageCount = NULL, - ?Cos $cos = NULL, + ?int $attachmentSizeLimit = null, + ?int $documentSizeLimit = null, + ?bool $spellCheckAvailable = null, + ?string $version = null, + ?string $accountId = null, + ?int $profileImageId = null, + ?string $accountName = null, + ?string $crumb = null, + ?int $lifetime = null, + ?bool $adminDelegated = null, + ?string $restUrl = null, + ?int $quotaUsed = null, + ?int $previousSessionTime = null, + ?int $lastWriteAccessTime = null, + ?int $recentMessageCount = null, + ?Cos $cos = null, array $prefs = [], array $attrs = [], array $zimlets = [], @@ -456,58 +456,58 @@ public function __construct( array $dataSources = [], array $childAccounts = [], array $discoveredRights = [], - ?string $soapURL = NULL, - ?string $publicURL = NULL, - ?string $changePasswordURL = NULL, - ?string $adminURL = NULL, - ?string $boshURL = NULL, - ?bool $isTrackingIMAP = NULL + ?string $soapURL = null, + ?string $publicURL = null, + ?string $changePasswordURL = null, + ?string $adminURL = null, + ?string $boshURL = null, + ?bool $isTrackingIMAP = null ) { $this->cos = $cos; - if (NULL !== $attachmentSizeLimit) { + if (null !== $attachmentSizeLimit) { $this->setAttachmentSizeLimit($attachmentSizeLimit); } - if (NULL !== $documentSizeLimit) { + if (null !== $documentSizeLimit) { $this->setDocumentSizeLimit($documentSizeLimit); } - if (NULL !== $spellCheckAvailable) { + if (null !== $spellCheckAvailable) { $this->setSpellCheckAvailable($spellCheckAvailable); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $accountId) { + if (null !== $accountId) { $this->setAccountId($accountId); } - if (NULL !== $profileImageId) { + if (null !== $profileImageId) { $this->setProfileImageId($profileImageId); } - if (NULL !== $accountName) { + if (null !== $accountName) { $this->setAccountName($accountName); } - if (NULL !== $crumb) { + if (null !== $crumb) { $this->setCrumb($crumb); } - if (NULL !== $lifetime) { + if (null !== $lifetime) { $this->setLifetime($lifetime); } - if (NULL !== $adminDelegated) { + if (null !== $adminDelegated) { $this->setAdminDelegated($adminDelegated); } - if (NULL !== $restUrl) { + if (null !== $restUrl) { $this->setRestUrl($restUrl); } - if (NULL !== $quotaUsed) { + if (null !== $quotaUsed) { $this->setQuotaUsed($quotaUsed); } - if (NULL !== $previousSessionTime) { + if (null !== $previousSessionTime) { $this->setPreviousSessionTime($previousSessionTime); } - if (NULL !== $lastWriteAccessTime) { + if (null !== $lastWriteAccessTime) { $this->setLastWriteAccessTime($lastWriteAccessTime); } - if (NULL !== $recentMessageCount) { + if (null !== $recentMessageCount) { $this->setRecentMessageCount($recentMessageCount); } $this->setPrefs($prefs) @@ -519,22 +519,22 @@ public function __construct( ->setDataSources($dataSources) ->setChildAccounts($childAccounts) ->setDiscoveredRights($discoveredRights); - if (NULL !== $soapURL) { + if (null !== $soapURL) { $this->setSoapURL($soapURL); } - if (NULL !== $publicURL) { + if (null !== $publicURL) { $this->setPublicURL($publicURL); } - if (NULL !== $changePasswordURL) { + if (null !== $changePasswordURL) { $this->setChangePasswordURL($changePasswordURL); } - if (NULL !== $adminURL) { + if (null !== $adminURL) { $this->setAdminURL($adminURL); } - if (NULL !== $boshURL) { + if (null !== $boshURL) { $this->setBoshURL($boshURL); } - if (NULL !== $isTrackingIMAP) { + if (null !== $isTrackingIMAP) { $this->setIsTrackingIMAP($isTrackingIMAP); } } diff --git a/src/Account/Message/GetOAuthConsumersBody.php b/src/Account/Message/GetOAuthConsumersBody.php index 2ff62e751..b5120a8bb 100644 --- a/src/Account/Message/GetOAuthConsumersBody.php +++ b/src/Account/Message/GetOAuthConsumersBody.php @@ -33,7 +33,7 @@ class GetOAuthConsumersBody extends SoapBody #[SerializedName('GetOAuthConsumersRequest')] #[Type(GetOAuthConsumersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetOAuthConsumersBody extends SoapBody #[SerializedName('GetOAuthConsumersResponse')] #[Type(GetOAuthConsumersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetOAuthConsumersBody extends SoapBody * @return self */ public function __construct( - ?GetOAuthConsumersRequest $request = NULL, ?GetOAuthConsumersResponse $response = NULL + ?GetOAuthConsumersRequest $request = null, ?GetOAuthConsumersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetOAuthConsumersEnvelope.php b/src/Account/Message/GetOAuthConsumersEnvelope.php index 3e34c82c9..ede18fdea 100644 --- a/src/Account/Message/GetOAuthConsumersEnvelope.php +++ b/src/Account/Message/GetOAuthConsumersEnvelope.php @@ -35,7 +35,7 @@ class GetOAuthConsumersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetOAuthConsumersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetOAuthConsumersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetOAuthConsumersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetOAuthConsumersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetPrefsBody.php b/src/Account/Message/GetPrefsBody.php index bd11f8a71..5dbf2a53d 100644 --- a/src/Account/Message/GetPrefsBody.php +++ b/src/Account/Message/GetPrefsBody.php @@ -33,7 +33,7 @@ class GetPrefsBody extends SoapBody #[SerializedName('GetPrefsRequest')] #[Type(GetPrefsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetPrefsBody extends SoapBody #[SerializedName('GetPrefsResponse')] #[Type(GetPrefsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetPrefsBody extends SoapBody * @return self */ public function __construct( - ?GetPrefsRequest $request = NULL, ?GetPrefsResponse $response = NULL + ?GetPrefsRequest $request = null, ?GetPrefsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetPrefsEnvelope.php b/src/Account/Message/GetPrefsEnvelope.php index df45d6d93..2397bc5c9 100644 --- a/src/Account/Message/GetPrefsEnvelope.php +++ b/src/Account/Message/GetPrefsEnvelope.php @@ -35,7 +35,7 @@ class GetPrefsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetPrefsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetPrefsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetPrefsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetPrefsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetRightsBody.php b/src/Account/Message/GetRightsBody.php index eaa59e0cb..0983b91e0 100644 --- a/src/Account/Message/GetRightsBody.php +++ b/src/Account/Message/GetRightsBody.php @@ -33,7 +33,7 @@ class GetRightsBody extends SoapBody #[SerializedName('GetRightsRequest')] #[Type(GetRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetRightsBody extends SoapBody #[SerializedName('GetRightsResponse')] #[Type(GetRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetRightsBody extends SoapBody * @return self */ public function __construct( - ?GetRightsRequest $request = NULL, ?GetRightsResponse $response = NULL + ?GetRightsRequest $request = null, ?GetRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetRightsEnvelope.php b/src/Account/Message/GetRightsEnvelope.php index 0772df8ea..6606e5e19 100644 --- a/src/Account/Message/GetRightsEnvelope.php +++ b/src/Account/Message/GetRightsEnvelope.php @@ -35,7 +35,7 @@ class GetRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetShareInfoBody.php b/src/Account/Message/GetShareInfoBody.php index e703846aa..494e20000 100644 --- a/src/Account/Message/GetShareInfoBody.php +++ b/src/Account/Message/GetShareInfoBody.php @@ -33,7 +33,7 @@ class GetShareInfoBody extends SoapBody #[SerializedName('GetShareInfoRequest')] #[Type(GetShareInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetShareInfoBody extends SoapBody #[SerializedName('GetShareInfoResponse')] #[Type(GetShareInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetShareInfoBody extends SoapBody * @return self */ public function __construct( - ?GetShareInfoRequest $request = NULL, ?GetShareInfoResponse $response = NULL + ?GetShareInfoRequest $request = null, ?GetShareInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetShareInfoEnvelope.php b/src/Account/Message/GetShareInfoEnvelope.php index 0ce2d1a63..440946beb 100644 --- a/src/Account/Message/GetShareInfoEnvelope.php +++ b/src/Account/Message/GetShareInfoEnvelope.php @@ -35,7 +35,7 @@ class GetShareInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetShareInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetShareInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetShareInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetShareInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetShareInfoRequest.php b/src/Account/Message/GetShareInfoRequest.php index 864532f19..5e1fca958 100644 --- a/src/Account/Message/GetShareInfoRequest.php +++ b/src/Account/Message/GetShareInfoRequest.php @@ -82,18 +82,18 @@ class GetShareInfoRequest extends SoapRequest * @return self */ public function __construct( - ?GranteeChooser $grantee = NULL, - ?AccountSelector $owner = NULL, - ?bool $internal = NULL, - ?bool $includeSelf = NULL + ?GranteeChooser $grantee = null, + ?AccountSelector $owner = null, + ?bool $internal = null, + ?bool $includeSelf = null ) { $this->grantee = $grantee; $this->owner = $owner; - if(NULL !== $internal) { + if(null !== $internal) { $this->setInternal($internal); } - if(NULL !== $includeSelf) { + if(null !== $includeSelf) { $this->setIncludeSelf($includeSelf); } } diff --git a/src/Account/Message/GetSignaturesBody.php b/src/Account/Message/GetSignaturesBody.php index be5a6b151..ffc2eeea6 100644 --- a/src/Account/Message/GetSignaturesBody.php +++ b/src/Account/Message/GetSignaturesBody.php @@ -33,7 +33,7 @@ class GetSignaturesBody extends SoapBody #[SerializedName('GetSignaturesRequest')] #[Type(GetSignaturesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSignaturesBody extends SoapBody #[SerializedName('GetSignaturesResponse')] #[Type(GetSignaturesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetSignaturesBody extends SoapBody * @return self */ public function __construct( - ?GetSignaturesRequest $request = NULL, ?GetSignaturesResponse $response = NULL + ?GetSignaturesRequest $request = null, ?GetSignaturesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetSignaturesEnvelope.php b/src/Account/Message/GetSignaturesEnvelope.php index e82edc64c..8d1053fef 100644 --- a/src/Account/Message/GetSignaturesEnvelope.php +++ b/src/Account/Message/GetSignaturesEnvelope.php @@ -35,7 +35,7 @@ class GetSignaturesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSignaturesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetSignaturesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSignaturesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSignaturesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetVersionInfoBody.php b/src/Account/Message/GetVersionInfoBody.php index 94f59c6f1..0b592ab22 100644 --- a/src/Account/Message/GetVersionInfoBody.php +++ b/src/Account/Message/GetVersionInfoBody.php @@ -33,7 +33,7 @@ class GetVersionInfoBody extends SoapBody #[SerializedName('GetVersionInfoRequest')] #[Type(GetVersionInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetVersionInfoBody extends SoapBody #[SerializedName('GetVersionInfoResponse')] #[Type(GetVersionInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetVersionInfoBody extends SoapBody * @return self */ public function __construct( - ?GetVersionInfoRequest $request = NULL, ?GetVersionInfoResponse $response = NULL + ?GetVersionInfoRequest $request = null, ?GetVersionInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetVersionInfoEnvelope.php b/src/Account/Message/GetVersionInfoEnvelope.php index f2950c67a..89141ef7b 100644 --- a/src/Account/Message/GetVersionInfoEnvelope.php +++ b/src/Account/Message/GetVersionInfoEnvelope.php @@ -35,7 +35,7 @@ class GetVersionInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetVersionInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetVersionInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetVersionInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetVersionInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GetVersionInfoResponse.php b/src/Account/Message/GetVersionInfoResponse.php index fc5305b8c..bb8bcc5bb 100644 --- a/src/Account/Message/GetVersionInfoResponse.php +++ b/src/Account/Message/GetVersionInfoResponse.php @@ -42,7 +42,7 @@ class GetVersionInfoResponse extends SoapResponse * @param VersionInfo $versionInfo * @return self */ - public function __construct(?VersionInfo $versionInfo = NULL) + public function __construct(?VersionInfo $versionInfo = null) { $this->versionInfo = $versionInfo; } diff --git a/src/Account/Message/GetWhiteBlackListBody.php b/src/Account/Message/GetWhiteBlackListBody.php index 2a8dfec55..909dd9076 100644 --- a/src/Account/Message/GetWhiteBlackListBody.php +++ b/src/Account/Message/GetWhiteBlackListBody.php @@ -33,7 +33,7 @@ class GetWhiteBlackListBody extends SoapBody #[SerializedName('GetWhiteBlackListRequest')] #[Type(GetWhiteBlackListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetWhiteBlackListBody extends SoapBody #[SerializedName('GetWhiteBlackListResponse')] #[Type(GetWhiteBlackListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetWhiteBlackListBody extends SoapBody * @return self */ public function __construct( - ?GetWhiteBlackListRequest $request = NULL, ?GetWhiteBlackListResponse $response = NULL + ?GetWhiteBlackListRequest $request = null, ?GetWhiteBlackListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GetWhiteBlackListEnvelope.php b/src/Account/Message/GetWhiteBlackListEnvelope.php index 7e5438392..d60b30618 100644 --- a/src/Account/Message/GetWhiteBlackListEnvelope.php +++ b/src/Account/Message/GetWhiteBlackListEnvelope.php @@ -35,7 +35,7 @@ class GetWhiteBlackListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetWhiteBlackListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetWhiteBlackListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetWhiteBlackListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetWhiteBlackListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/GrantRightsBody.php b/src/Account/Message/GrantRightsBody.php index 4c440c90c..89c30dd00 100644 --- a/src/Account/Message/GrantRightsBody.php +++ b/src/Account/Message/GrantRightsBody.php @@ -33,7 +33,7 @@ class GrantRightsBody extends SoapBody #[SerializedName('GrantRightsRequest')] #[Type(GrantRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GrantRightsBody extends SoapBody #[SerializedName('GrantRightsResponse')] #[Type(GrantRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GrantRightsBody extends SoapBody * @return self */ public function __construct( - ?GrantRightsRequest $request = NULL, ?GrantRightsResponse $response = NULL + ?GrantRightsRequest $request = null, ?GrantRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/GrantRightsEnvelope.php b/src/Account/Message/GrantRightsEnvelope.php index 61de3e074..4564a46ad 100644 --- a/src/Account/Message/GrantRightsEnvelope.php +++ b/src/Account/Message/GrantRightsEnvelope.php @@ -35,7 +35,7 @@ class GrantRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GrantRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GrantRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GrantRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GrantRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifyIdentityBody.php b/src/Account/Message/ModifyIdentityBody.php index d3e378f91..d11169c38 100644 --- a/src/Account/Message/ModifyIdentityBody.php +++ b/src/Account/Message/ModifyIdentityBody.php @@ -33,7 +33,7 @@ class ModifyIdentityBody extends SoapBody #[SerializedName('ModifyIdentityRequest')] #[Type(ModifyIdentityRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyIdentityBody extends SoapBody #[SerializedName('ModifyIdentityResponse')] #[Type(ModifyIdentityResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyIdentityBody extends SoapBody * @return self */ public function __construct( - ?ModifyIdentityRequest $request = NULL, ?ModifyIdentityResponse $response = NULL + ?ModifyIdentityRequest $request = null, ?ModifyIdentityResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifyIdentityEnvelope.php b/src/Account/Message/ModifyIdentityEnvelope.php index 945d12e1f..97263d633 100644 --- a/src/Account/Message/ModifyIdentityEnvelope.php +++ b/src/Account/Message/ModifyIdentityEnvelope.php @@ -35,7 +35,7 @@ class ModifyIdentityEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyIdentityBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyIdentityEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyIdentityBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyIdentityBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifyPrefsBody.php b/src/Account/Message/ModifyPrefsBody.php index e193f5315..15fae9c37 100644 --- a/src/Account/Message/ModifyPrefsBody.php +++ b/src/Account/Message/ModifyPrefsBody.php @@ -33,7 +33,7 @@ class ModifyPrefsBody extends SoapBody #[SerializedName('ModifyPrefsRequest')] #[Type(ModifyPrefsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyPrefsBody extends SoapBody #[SerializedName('ModifyPrefsResponse')] #[Type(ModifyPrefsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyPrefsBody extends SoapBody * @return self */ public function __construct( - ?ModifyPrefsRequest $request = NULL, ?ModifyPrefsResponse $response = NULL + ?ModifyPrefsRequest $request = null, ?ModifyPrefsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifyPrefsEnvelope.php b/src/Account/Message/ModifyPrefsEnvelope.php index 99524830f..40daaa6be 100644 --- a/src/Account/Message/ModifyPrefsEnvelope.php +++ b/src/Account/Message/ModifyPrefsEnvelope.php @@ -35,7 +35,7 @@ class ModifyPrefsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyPrefsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyPrefsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyPrefsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyPrefsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifyPropertiesBody.php b/src/Account/Message/ModifyPropertiesBody.php index 596bd3587..129a7c406 100644 --- a/src/Account/Message/ModifyPropertiesBody.php +++ b/src/Account/Message/ModifyPropertiesBody.php @@ -33,7 +33,7 @@ class ModifyPropertiesBody extends SoapBody #[SerializedName('ModifyPropertiesRequest')] #[Type(ModifyPropertiesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyPropertiesBody extends SoapBody #[SerializedName('ModifyPropertiesResponse')] #[Type(ModifyPropertiesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyPropertiesBody extends SoapBody * @return self */ public function __construct( - ?ModifyPropertiesRequest $request = NULL, ?ModifyPropertiesResponse $response = NULL + ?ModifyPropertiesRequest $request = null, ?ModifyPropertiesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifyPropertiesEnvelope.php b/src/Account/Message/ModifyPropertiesEnvelope.php index ce5ad94e0..85d233233 100644 --- a/src/Account/Message/ModifyPropertiesEnvelope.php +++ b/src/Account/Message/ModifyPropertiesEnvelope.php @@ -35,7 +35,7 @@ class ModifyPropertiesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyPropertiesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyPropertiesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyPropertiesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyPropertiesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifySignatureBody.php b/src/Account/Message/ModifySignatureBody.php index dfb39e9a6..6d000c149 100644 --- a/src/Account/Message/ModifySignatureBody.php +++ b/src/Account/Message/ModifySignatureBody.php @@ -33,7 +33,7 @@ class ModifySignatureBody extends SoapBody #[SerializedName('ModifySignatureRequest')] #[Type(ModifySignatureRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifySignatureBody extends SoapBody #[SerializedName('ModifySignatureResponse')] #[Type(ModifySignatureResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifySignatureBody extends SoapBody * @return self */ public function __construct( - ?ModifySignatureRequest $request = NULL, ?ModifySignatureResponse $response = NULL + ?ModifySignatureRequest $request = null, ?ModifySignatureResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifySignatureEnvelope.php b/src/Account/Message/ModifySignatureEnvelope.php index 792b1e5cf..510ecd2d4 100644 --- a/src/Account/Message/ModifySignatureEnvelope.php +++ b/src/Account/Message/ModifySignatureEnvelope.php @@ -35,7 +35,7 @@ class ModifySignatureEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifySignatureBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifySignatureEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifySignatureBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifySignatureBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifyWhiteBlackListBody.php b/src/Account/Message/ModifyWhiteBlackListBody.php index e15eb181c..3325d0739 100644 --- a/src/Account/Message/ModifyWhiteBlackListBody.php +++ b/src/Account/Message/ModifyWhiteBlackListBody.php @@ -33,7 +33,7 @@ class ModifyWhiteBlackListBody extends SoapBody #[SerializedName('ModifyWhiteBlackListRequest')] #[Type(ModifyWhiteBlackListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyWhiteBlackListBody extends SoapBody #[SerializedName('ModifyWhiteBlackListResponse')] #[Type(ModifyWhiteBlackListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyWhiteBlackListBody extends SoapBody * @return self */ public function __construct( - ?ModifyWhiteBlackListRequest $request = NULL, ?ModifyWhiteBlackListResponse $response = NULL + ?ModifyWhiteBlackListRequest $request = null, ?ModifyWhiteBlackListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifyWhiteBlackListEnvelope.php b/src/Account/Message/ModifyWhiteBlackListEnvelope.php index 95d93aff9..530f7c758 100644 --- a/src/Account/Message/ModifyWhiteBlackListEnvelope.php +++ b/src/Account/Message/ModifyWhiteBlackListEnvelope.php @@ -35,7 +35,7 @@ class ModifyWhiteBlackListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyWhiteBlackListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyWhiteBlackListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyWhiteBlackListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyWhiteBlackListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ModifyZimletPrefsBody.php b/src/Account/Message/ModifyZimletPrefsBody.php index eb306558d..5fb4b71f6 100644 --- a/src/Account/Message/ModifyZimletPrefsBody.php +++ b/src/Account/Message/ModifyZimletPrefsBody.php @@ -33,7 +33,7 @@ class ModifyZimletPrefsBody extends SoapBody #[SerializedName('ModifyZimletPrefsRequest')] #[Type(ModifyZimletPrefsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyZimletPrefsBody extends SoapBody #[SerializedName('ModifyZimletPrefsResponse')] #[Type(ModifyZimletPrefsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyZimletPrefsBody extends SoapBody * @return self */ public function __construct( - ?ModifyZimletPrefsRequest $request = NULL, ?ModifyZimletPrefsResponse $response = NULL + ?ModifyZimletPrefsRequest $request = null, ?ModifyZimletPrefsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ModifyZimletPrefsEnvelope.php b/src/Account/Message/ModifyZimletPrefsEnvelope.php index 51efe7bd5..ee46abf0e 100644 --- a/src/Account/Message/ModifyZimletPrefsEnvelope.php +++ b/src/Account/Message/ModifyZimletPrefsEnvelope.php @@ -35,7 +35,7 @@ class ModifyZimletPrefsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyZimletPrefsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyZimletPrefsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyZimletPrefsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyZimletPrefsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/ResetPasswordBody.php b/src/Account/Message/ResetPasswordBody.php index 1158f674e..7a790eec2 100644 --- a/src/Account/Message/ResetPasswordBody.php +++ b/src/Account/Message/ResetPasswordBody.php @@ -33,7 +33,7 @@ class ResetPasswordBody extends SoapBody #[SerializedName('ResetPasswordRequest')] #[Type(ResetPasswordRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ResetPasswordBody extends SoapBody #[SerializedName('ResetPasswordResponse')] #[Type(ResetPasswordResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ResetPasswordBody extends SoapBody * @return self */ public function __construct( - ?ResetPasswordRequest $request = NULL, ?ResetPasswordResponse $response = NULL + ?ResetPasswordRequest $request = null, ?ResetPasswordResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/ResetPasswordEnvelope.php b/src/Account/Message/ResetPasswordEnvelope.php index 0620650df..602bcb2ef 100644 --- a/src/Account/Message/ResetPasswordEnvelope.php +++ b/src/Account/Message/ResetPasswordEnvelope.php @@ -35,7 +35,7 @@ class ResetPasswordEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ResetPasswordBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ResetPasswordEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ResetPasswordBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ResetPasswordBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/RevokeOAuthConsumerBody.php b/src/Account/Message/RevokeOAuthConsumerBody.php index 239b8e9c6..bfebe3953 100644 --- a/src/Account/Message/RevokeOAuthConsumerBody.php +++ b/src/Account/Message/RevokeOAuthConsumerBody.php @@ -33,7 +33,7 @@ class RevokeOAuthConsumerBody extends SoapBody #[SerializedName('RevokeOAuthConsumerRequest')] #[Type(RevokeOAuthConsumerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RevokeOAuthConsumerBody extends SoapBody #[SerializedName('RevokeOAuthConsumerResponse')] #[Type(RevokeOAuthConsumerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RevokeOAuthConsumerBody extends SoapBody * @return self */ public function __construct( - ?RevokeOAuthConsumerRequest $request = NULL, ?RevokeOAuthConsumerResponse $response = NULL + ?RevokeOAuthConsumerRequest $request = null, ?RevokeOAuthConsumerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/RevokeOAuthConsumerEnvelope.php b/src/Account/Message/RevokeOAuthConsumerEnvelope.php index 713a87f4b..58ac0c225 100644 --- a/src/Account/Message/RevokeOAuthConsumerEnvelope.php +++ b/src/Account/Message/RevokeOAuthConsumerEnvelope.php @@ -35,7 +35,7 @@ class RevokeOAuthConsumerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RevokeOAuthConsumerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RevokeOAuthConsumerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RevokeOAuthConsumerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RevokeOAuthConsumerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/RevokeRightsBody.php b/src/Account/Message/RevokeRightsBody.php index 4d3c63320..85bdb56ee 100644 --- a/src/Account/Message/RevokeRightsBody.php +++ b/src/Account/Message/RevokeRightsBody.php @@ -33,7 +33,7 @@ class RevokeRightsBody extends SoapBody #[SerializedName('RevokeRightsRequest')] #[Type(RevokeRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RevokeRightsBody extends SoapBody #[SerializedName('RevokeRightsResponse')] #[Type(RevokeRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RevokeRightsBody extends SoapBody * @return self */ public function __construct( - ?RevokeRightsRequest $request = NULL, ?RevokeRightsResponse $response = NULL + ?RevokeRightsRequest $request = null, ?RevokeRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/RevokeRightsEnvelope.php b/src/Account/Message/RevokeRightsEnvelope.php index 2c3ca5bff..490d11d9f 100644 --- a/src/Account/Message/RevokeRightsEnvelope.php +++ b/src/Account/Message/RevokeRightsEnvelope.php @@ -35,7 +35,7 @@ class RevokeRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RevokeRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RevokeRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RevokeRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RevokeRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/SearchCalendarResourcesBody.php b/src/Account/Message/SearchCalendarResourcesBody.php index 2f25a4514..d0639cbcc 100644 --- a/src/Account/Message/SearchCalendarResourcesBody.php +++ b/src/Account/Message/SearchCalendarResourcesBody.php @@ -33,7 +33,7 @@ class SearchCalendarResourcesBody extends SoapBody #[SerializedName('SearchCalendarResourcesRequest')] #[Type(SearchCalendarResourcesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchCalendarResourcesBody extends SoapBody #[SerializedName('SearchCalendarResourcesResponse')] #[Type(SearchCalendarResourcesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchCalendarResourcesBody extends SoapBody * @return self */ public function __construct( - ?SearchCalendarResourcesRequest $request = NULL, ?SearchCalendarResourcesResponse $response = NULL + ?SearchCalendarResourcesRequest $request = null, ?SearchCalendarResourcesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/SearchCalendarResourcesEnvelope.php b/src/Account/Message/SearchCalendarResourcesEnvelope.php index 7def97404..d2f98bfb2 100644 --- a/src/Account/Message/SearchCalendarResourcesEnvelope.php +++ b/src/Account/Message/SearchCalendarResourcesEnvelope.php @@ -35,7 +35,7 @@ class SearchCalendarResourcesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchCalendarResourcesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchCalendarResourcesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchCalendarResourcesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchCalendarResourcesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/SearchCalendarResourcesRequest.php b/src/Account/Message/SearchCalendarResourcesRequest.php index 9a084a41b..cfd7b602f 100644 --- a/src/Account/Message/SearchCalendarResourcesRequest.php +++ b/src/Account/Message/SearchCalendarResourcesRequest.php @@ -151,42 +151,42 @@ class SearchCalendarResourcesRequest extends SoapRequest implements AttributeSel * @return self */ public function __construct( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL, - ?string $galAccountId = NULL, - ?string $name = NULL, - ?string $attrs = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null, + ?string $galAccountId = null, + ?string $name = null, + ?string $attrs = null ) { $this->cursor = $cursor; $this->searchFilter = $searchFilter; - if (NULL !== $quick) { + if (null !== $quick) { $this->setQuick($quick); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $locale) { + if (null !== $locale) { $this->setLocale($locale); } - if (NULL !== $galAccountId) { + if (null !== $galAccountId) { $this->setGalAccountId($galAccountId); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Account/Message/SearchCalendarResourcesResponse.php b/src/Account/Message/SearchCalendarResourcesResponse.php index 88aac4018..fed1c0436 100644 --- a/src/Account/Message/SearchCalendarResourcesResponse.php +++ b/src/Account/Message/SearchCalendarResourcesResponse.php @@ -92,23 +92,23 @@ class SearchCalendarResourcesResponse extends SoapResponse * @return self */ public function __construct( - ?string $sortBy = NULL, - ?int $offset = NULL, - ?bool $more = NULL, - ?bool $pagingSupported = NULL, + ?string $sortBy = null, + ?int $offset = null, + ?bool $more = null, + ?bool $pagingSupported = null, array $calendarResources = [] ) { - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $pagingSupported) { + if (null !== $pagingSupported) { $this->setPagingSupported($pagingSupported); } $this->setCalendarResources($calendarResources); diff --git a/src/Account/Message/SearchGalBody.php b/src/Account/Message/SearchGalBody.php index 521d43c98..517ebdd62 100644 --- a/src/Account/Message/SearchGalBody.php +++ b/src/Account/Message/SearchGalBody.php @@ -33,7 +33,7 @@ class SearchGalBody extends SoapBody #[SerializedName('SearchGalRequest')] #[Type(SearchGalRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchGalBody extends SoapBody #[SerializedName('SearchGalResponse')] #[Type(SearchGalResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchGalBody extends SoapBody * @return self */ public function __construct( - ?SearchGalRequest $request = NULL, ?SearchGalResponse $response = NULL + ?SearchGalRequest $request = null, ?SearchGalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/SearchGalEnvelope.php b/src/Account/Message/SearchGalEnvelope.php index 5caeeb7e7..9837fb6d9 100644 --- a/src/Account/Message/SearchGalEnvelope.php +++ b/src/Account/Message/SearchGalEnvelope.php @@ -35,7 +35,7 @@ class SearchGalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchGalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchGalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchGalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchGalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/SearchGalRequest.php b/src/Account/Message/SearchGalRequest.php index d7f2e3981..f48b5f975 100644 --- a/src/Account/Message/SearchGalRequest.php +++ b/src/Account/Message/SearchGalRequest.php @@ -240,62 +240,62 @@ class SearchGalRequest extends SoapRequest * @return self */ public function __construct( - ?CursorInfo $cursor = NULL, - ?EntrySearchFilterInfo $searchFilter = NULL, - ?string $ref = NULL, - ?string $name = NULL, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?bool $needIsOwner = NULL, - ?MemberOfSelector $needIsMember = NULL, - ?bool $needSMIMECerts = NULL, - ?string $galAccountId = NULL, - ?bool $quick = NULL, - ?string $sortBy = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $locale = NULL, - ?string $query = NULL + ?CursorInfo $cursor = null, + ?EntrySearchFilterInfo $searchFilter = null, + ?string $ref = null, + ?string $name = null, + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?bool $needIsOwner = null, + ?MemberOfSelector $needIsMember = null, + ?bool $needSMIMECerts = null, + ?string $galAccountId = null, + ?bool $quick = null, + ?string $sortBy = null, + ?int $limit = null, + ?int $offset = null, + ?string $locale = null, + ?string $query = null ) { $this->cursor = $cursor; $this->searchFilter = $searchFilter; $this->type = $type; $this->needIsMember = $needIsMember; - if (NULL !== $ref) { + if (null !== $ref) { $this->setRef($ref); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } - if (NULL !== $needIsOwner) { + if (null !== $needIsOwner) { $this->setNeedIsOwner($needIsOwner); } - if (NULL !== $needSMIMECerts) { + if (null !== $needSMIMECerts) { $this->setNeedSMIMECerts($needSMIMECerts); } - if (NULL !== $galAccountId) { + if (null !== $galAccountId) { $this->setGalAccountId($galAccountId); } - if (NULL !== $quick) { + if (null !== $quick) { $this->setQuick($quick); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $locale) { + if (null !== $locale) { $this->setLocale($locale); } - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } } diff --git a/src/Account/Message/SearchGalResponse.php b/src/Account/Message/SearchGalResponse.php index c8b7e08c5..51e042956 100644 --- a/src/Account/Message/SearchGalResponse.php +++ b/src/Account/Message/SearchGalResponse.php @@ -108,27 +108,27 @@ class SearchGalResponse extends SoapResponse * @return self */ public function __construct( - ?string $sortBy = NULL, - ?int $offset = NULL, - ?bool $more = NULL, - ?bool $pagingSupported = NULL, - ?bool $tokenizeKey = NULL, + ?string $sortBy = null, + ?int $offset = null, + ?bool $more = null, + ?bool $pagingSupported = null, + ?bool $tokenizeKey = null, array $contacts = [] ) { - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $pagingSupported) { + if (null !== $pagingSupported) { $this->setPagingSupported($pagingSupported); } - if (NULL !== $tokenizeKey) { + if (null !== $tokenizeKey) { $this->setTokenizeKey($tokenizeKey); } $this->setContacts($contacts); diff --git a/src/Account/Message/SubscribeDistributionListBody.php b/src/Account/Message/SubscribeDistributionListBody.php index f6c3594ba..8a9bc6759 100644 --- a/src/Account/Message/SubscribeDistributionListBody.php +++ b/src/Account/Message/SubscribeDistributionListBody.php @@ -33,7 +33,7 @@ class SubscribeDistributionListBody extends SoapBody #[SerializedName('SubscribeDistributionListRequest')] #[Type(SubscribeDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SubscribeDistributionListBody extends SoapBody #[SerializedName('SubscribeDistributionListResponse')] #[Type(SubscribeDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SubscribeDistributionListBody extends SoapBody * @return self */ public function __construct( - ?SubscribeDistributionListRequest $request = NULL, ?SubscribeDistributionListResponse $response = NULL + ?SubscribeDistributionListRequest $request = null, ?SubscribeDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/SubscribeDistributionListEnvelope.php b/src/Account/Message/SubscribeDistributionListEnvelope.php index 20ee41c91..8db3ba3d5 100644 --- a/src/Account/Message/SubscribeDistributionListEnvelope.php +++ b/src/Account/Message/SubscribeDistributionListEnvelope.php @@ -35,7 +35,7 @@ class SubscribeDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SubscribeDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SubscribeDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SubscribeDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SubscribeDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/SubscribeDistributionListRequest.php b/src/Account/Message/SubscribeDistributionListRequest.php index 176422a69..b01abeb17 100644 --- a/src/Account/Message/SubscribeDistributionListRequest.php +++ b/src/Account/Message/SubscribeDistributionListRequest.php @@ -55,7 +55,7 @@ class SubscribeDistributionListRequest extends SoapRequest * @return self */ public function __construct( - DistributionListSelector $dl, ?DistributionListSubscribeOp $op = NULL + DistributionListSelector $dl, ?DistributionListSubscribeOp $op = null ) { $this->setDl($dl) diff --git a/src/Account/Message/SubscribeDistributionListResponse.php b/src/Account/Message/SubscribeDistributionListResponse.php index f0c0be2bf..fd52a93f7 100644 --- a/src/Account/Message/SubscribeDistributionListResponse.php +++ b/src/Account/Message/SubscribeDistributionListResponse.php @@ -41,7 +41,7 @@ class SubscribeDistributionListResponse extends SoapResponse * @param SubscribeStatus $status * @return self */ - public function __construct(?SubscribeStatus $status = NULL) + public function __construct(?SubscribeStatus $status = null) { $this->setStatus($status ?? SubscribeStatus::SUBSCRIBED); } diff --git a/src/Account/Message/SyncGalBody.php b/src/Account/Message/SyncGalBody.php index 9c1ed98e1..88e4fcf62 100644 --- a/src/Account/Message/SyncGalBody.php +++ b/src/Account/Message/SyncGalBody.php @@ -33,7 +33,7 @@ class SyncGalBody extends SoapBody #[SerializedName('SyncGalRequest')] #[Type(SyncGalRequest::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SyncGalBody extends SoapBody #[SerializedName('SyncGalResponse')] #[Type(SyncGalResponse::class)] #[XmlElement(namespace: 'urn:zimbraAccount')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SyncGalBody extends SoapBody * @return self */ public function __construct( - ?SyncGalRequest $request = NULL, ?SyncGalResponse $response = NULL + ?SyncGalRequest $request = null, ?SyncGalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Account/Message/SyncGalEnvelope.php b/src/Account/Message/SyncGalEnvelope.php index 62526006d..0a7cf3b99 100644 --- a/src/Account/Message/SyncGalEnvelope.php +++ b/src/Account/Message/SyncGalEnvelope.php @@ -35,7 +35,7 @@ class SyncGalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SyncGalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SyncGalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SyncGalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SyncGalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Account/Message/SyncGalRequest.php b/src/Account/Message/SyncGalRequest.php index bc5e22836..90cfcaeee 100644 --- a/src/Account/Message/SyncGalRequest.php +++ b/src/Account/Message/SyncGalRequest.php @@ -91,26 +91,26 @@ class SyncGalRequest extends SoapRequest * @return self */ public function __construct( - ?string $token = NULL, - ?string $galAccountId = NULL, - ?bool $idOnly = NULL, - ?bool $getCount = NULL, - ?int $limit = NULL + ?string $token = null, + ?string $galAccountId = null, + ?bool $idOnly = null, + ?bool $getCount = null, + ?int $limit = null ) { - if(NULL !== $token) { + if(null !== $token) { $this->setToken($token); } - if(NULL !== $galAccountId) { + if(null !== $galAccountId) { $this->setGalAccountId($galAccountId); } - if(NULL !== $idOnly) { + if(null !== $idOnly) { $this->setIdOnly($idOnly); } - if(NULL !== $getCount) { + if(null !== $getCount) { $this->setCount($getCount); } - if(NULL !== $limit) { + if(null !== $limit) { $this->setLimit($limit); } } diff --git a/src/Account/Message/SyncGalResponse.php b/src/Account/Message/SyncGalResponse.php index cb6e9cb75..b9318c939 100644 --- a/src/Account/Message/SyncGalResponse.php +++ b/src/Account/Message/SyncGalResponse.php @@ -126,34 +126,34 @@ class SyncGalResponse extends SoapResponse * @return self */ public function __construct( - ?bool $more = NULL, - ?string $token = NULL, - ?string $galDefinitionLastModified = NULL, - ?bool $throttled = NULL, - ?bool $fullSyncRecommended = NULL, - ?int $remain = NULL, + ?bool $more = null, + ?string $token = null, + ?string $galDefinitionLastModified = null, + ?bool $throttled = null, + ?bool $fullSyncRecommended = null, + ?int $remain = null, array $contacts = [], array $deleted = [] ) { $this->setContacts($contacts) ->setDeleted($deleted); - if(NULL !== $more) { + if(null !== $more) { $this->setMore($more); } - if(NULL !== $token) { + if(null !== $token) { $this->setToken($token); } - if(NULL !== $galDefinitionLastModified) { + if(null !== $galDefinitionLastModified) { $this->setGalDefinitionLastModified($galDefinitionLastModified); } - if(NULL !== $throttled) { + if(null !== $throttled) { $this->setThrottled($throttled); } - if(NULL !== $fullSyncRecommended) { + if(null !== $fullSyncRecommended) { $this->setFullSyncRecommended($fullSyncRecommended); } - if(NULL !== $remain) { + if(null !== $remain) { $this->setRemain($remain); } } diff --git a/src/Account/Struct/AccountACEInfo.php b/src/Account/Struct/AccountACEInfo.php index 11d4aa5b2..f8143889d 100644 --- a/src/Account/Struct/AccountACEInfo.php +++ b/src/Account/Struct/AccountACEInfo.php @@ -125,34 +125,34 @@ class AccountACEInfo * @return self */ public function __construct( - ?GranteeType $granteeType = NULL, + ?GranteeType $granteeType = null, string $right = '', - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $accessKey = NULL, - ?string $password = NULL, - ?bool $deny = NULL, - ?bool $checkGranteeType = NULL + ?string $zimbraId = null, + ?string $displayName = null, + ?string $accessKey = null, + ?string $password = null, + ?bool $deny = null, + ?bool $checkGranteeType = null ) { $this->setGranteeType($granteeType ?? GranteeType::ALL) ->setRight($right); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $deny) { + if (null !== $deny) { $this->setDeny($deny); } - if (NULL !== $checkGranteeType) { + if (null !== $checkGranteeType) { $this->setCheckGranteeType($checkGranteeType); } } diff --git a/src/Account/Struct/AccountCustomMetadata.php b/src/Account/Struct/AccountCustomMetadata.php index b868123e3..8c9040ae7 100644 --- a/src/Account/Struct/AccountCustomMetadata.php +++ b/src/Account/Struct/AccountCustomMetadata.php @@ -43,11 +43,11 @@ class AccountCustomMetadata extends AccountKeyValuePairs implements CustomMetada * @return self */ public function __construct( - ?string $section = NULL, array $keyValuePairs = [] + ?string $section = null, array $keyValuePairs = [] ) { parent::__construct($keyValuePairs); - if (NULL !== $section) { + if (null !== $section) { $this->setSection($section); } } diff --git a/src/Account/Struct/AccountDataSource.php b/src/Account/Struct/AccountDataSource.php index 3cf219baf..92b9f424f 100644 --- a/src/Account/Struct/AccountDataSource.php +++ b/src/Account/Struct/AccountDataSource.php @@ -323,100 +323,100 @@ class AccountDataSource implements DataSource * @return self */ public function __construct( - ?string $id = NULL, - ?string $name = NULL, - ?string $folderId = NULL, - ?bool $enabled = NULL, - ?bool $importOnly = NULL, - ?string $host = NULL, - ?int $port = NULL, - ?ConnectionType $connectionType = NULL, - ?string $username = NULL, - ?string $password = NULL, - ?string $pollingInterval = NULL, - ?string $emailAddress = NULL, - ?bool $useAddressForForwardReply = NULL, - ?string $defaultSignature = NULL, - ?string $forwardReplySignature = NULL, - ?string $fromDisplay = NULL, - ?string $replyToAddress = NULL, - ?string $replyToDisplay = NULL, - ?string $importClass = NULL, - ?int $failingSince = NULL, - ?string $lastError = NULL, + ?string $id = null, + ?string $name = null, + ?string $folderId = null, + ?bool $enabled = null, + ?bool $importOnly = null, + ?string $host = null, + ?int $port = null, + ?ConnectionType $connectionType = null, + ?string $username = null, + ?string $password = null, + ?string $pollingInterval = null, + ?string $emailAddress = null, + ?bool $useAddressForForwardReply = null, + ?string $defaultSignature = null, + ?string $forwardReplySignature = null, + ?string $fromDisplay = null, + ?string $replyToAddress = null, + ?string $replyToDisplay = null, + ?string $importClass = null, + ?int $failingSince = null, + ?string $lastError = null, array $attributes = [], - ?string $refreshToken = NULL, - ?string $refreshTokenUrl = NULL + ?string $refreshToken = null, + ?string $refreshTokenUrl = null ) { $this->connectionType = $connectionType; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $enabled) { + if (null !== $enabled) { $this->setEnabled($enabled); } - if (NULL !== $importOnly) { + if (null !== $importOnly) { $this->setImportOnly($importOnly); } - if (NULL !== $host) { + if (null !== $host) { $this->setHost($host); } - if (NULL !== $port) { + if (null !== $port) { $this->setPort($port); } - if (NULL !== $username) { + if (null !== $username) { $this->setUsername($username); } - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $pollingInterval) { + if (null !== $pollingInterval) { $this->setPollingInterval($pollingInterval); } - if (NULL !== $emailAddress) { + if (null !== $emailAddress) { $this->setEmailAddress($emailAddress); } - if (NULL !== $useAddressForForwardReply) { + if (null !== $useAddressForForwardReply) { $this->setUseAddressForForwardReply($useAddressForForwardReply); } - if (NULL !== $defaultSignature) { + if (null !== $defaultSignature) { $this->setDefaultSignature($defaultSignature); } - if (NULL !== $forwardReplySignature) { + if (null !== $forwardReplySignature) { $this->setForwardReplySignature($forwardReplySignature); } - if (NULL !== $fromDisplay) { + if (null !== $fromDisplay) { $this->setFromDisplay($fromDisplay); } - if (NULL !== $replyToAddress) { + if (null !== $replyToAddress) { $this->setReplyToAddress($replyToAddress); } - if (NULL !== $replyToDisplay) { + if (null !== $replyToDisplay) { $this->setReplyToDisplay($replyToDisplay); } - if (NULL !== $importClass) { + if (null !== $importClass) { $this->setImportClass($importClass); } - if (NULL !== $failingSince) { + if (null !== $failingSince) { $this->setFailingSince($failingSince); } - if (NULL !== $lastError) { + if (null !== $lastError) { $this->setLastError($lastError); } - if (NULL !== $attributes) { + if (null !== $attributes) { $this->setAttributes($attributes); } - if (NULL !== $refreshToken) { + if (null !== $refreshToken) { $this->setRefreshToken($refreshToken); } - if (NULL !== $refreshTokenUrl) { + if (null !== $refreshTokenUrl) { $this->setRefreshTokenUrl($refreshTokenUrl); } } diff --git a/src/Account/Struct/AccountZimletConfigInfo.php b/src/Account/Struct/AccountZimletConfigInfo.php index dcf297548..65dd72bed 100644 --- a/src/Account/Struct/AccountZimletConfigInfo.php +++ b/src/Account/Struct/AccountZimletConfigInfo.php @@ -126,34 +126,34 @@ class AccountZimletConfigInfo implements ZimletConfigInfo * @return self */ public function __construct( - ?string $name = NULL, - ?string $version = NULL, - ?string $description = NULL, - ?string $extension = NULL, - ?string $target = NULL, - ?string $label = NULL, - ?AccountZimletGlobalConfigInfo $global = NULL, - ?AccountZimletHostConfigInfo $host = NULL + ?string $name = null, + ?string $version = null, + ?string $description = null, + ?string $extension = null, + ?string $target = null, + ?string $label = null, + ?AccountZimletGlobalConfigInfo $global = null, + ?AccountZimletHostConfigInfo $host = null ) { $this->global = $global; $this->host = $host; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $extension) { + if (null !== $extension) { $this->setExtension($extension); } - if (NULL !== $target) { + if (null !== $target) { $this->setTarget($target); } - if (NULL !== $label) { + if (null !== $label) { $this->setLabel($label); } } diff --git a/src/Account/Struct/AccountZimletContext.php b/src/Account/Struct/AccountZimletContext.php index 93e7f1c63..f907788b6 100644 --- a/src/Account/Struct/AccountZimletContext.php +++ b/src/Account/Struct/AccountZimletContext.php @@ -68,13 +68,13 @@ class AccountZimletContext implements ZimletContextInterface */ public function __construct( string $baseUrl = '', - ?ZimletPresence $presence = NULL, - ?int $priority = NULL + ?ZimletPresence $presence = null, + ?int $priority = null ) { $this->setZimletBaseUrl($baseUrl) ->setZimletPresence($presence ?? ZimletPresence::ENABLED); - if (NULL !== $priority) { + if (null !== $priority) { $this->setZimletPriority($priority); } } diff --git a/src/Account/Struct/AccountZimletDesc.php b/src/Account/Struct/AccountZimletDesc.php index 569d2c79d..5e4bc1145 100644 --- a/src/Account/Struct/AccountZimletDesc.php +++ b/src/Account/Struct/AccountZimletDesc.php @@ -142,38 +142,38 @@ class AccountZimletDesc implements ZimletDesc * @return self */ public function __construct( - ?string $name = NULL, - ?string $version = NULL, - ?string $description = NULL, - ?string $extension = NULL, - ?string $target = NULL, - ?string $label = NULL, - ?ZimletServerExtension $serverExtension = NULL, - ?AccountZimletInclude $include = NULL, - ?AccountZimletIncludeCSS $includeCSS = NULL, - ?AccountZimletTarget $zimletTarget = NULL + ?string $name = null, + ?string $version = null, + ?string $description = null, + ?string $extension = null, + ?string $target = null, + ?string $label = null, + ?ZimletServerExtension $serverExtension = null, + ?AccountZimletInclude $include = null, + ?AccountZimletIncludeCSS $includeCSS = null, + ?AccountZimletTarget $zimletTarget = null ) { $this->serverExtension = $serverExtension; $this->include = $include; $this->includeCSS = $includeCSS; $this->zimletTarget = $zimletTarget; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $extension) { + if (null !== $extension) { $this->setExtension($extension); } - if (NULL !== $target) { + if (null !== $target) { $this->setTarget($target); } - if (NULL !== $label) { + if (null !== $label) { $this->setLabel($label); } } diff --git a/src/Account/Struct/AccountZimletHostConfigInfo.php b/src/Account/Struct/AccountZimletHostConfigInfo.php index c42766ca3..73d8a3a29 100644 --- a/src/Account/Struct/AccountZimletHostConfigInfo.php +++ b/src/Account/Struct/AccountZimletHostConfigInfo.php @@ -53,10 +53,10 @@ class AccountZimletHostConfigInfo implements ZimletHostConfigInfo * @param array $properties * @return self */ - public function __construct(?string $name = NULL, array $properties = []) + public function __construct(?string $name = null, array $properties = []) { $this->setZimletProperties($properties); - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Account/Struct/AccountZimletInclude.php b/src/Account/Struct/AccountZimletInclude.php index dfd5ef0c5..292b8bd3a 100644 --- a/src/Account/Struct/AccountZimletInclude.php +++ b/src/Account/Struct/AccountZimletInclude.php @@ -40,9 +40,9 @@ class AccountZimletInclude implements ZimletInclude * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/AccountZimletIncludeCSS.php b/src/Account/Struct/AccountZimletIncludeCSS.php index d71e510ef..0c9cd26f2 100644 --- a/src/Account/Struct/AccountZimletIncludeCSS.php +++ b/src/Account/Struct/AccountZimletIncludeCSS.php @@ -40,9 +40,9 @@ class AccountZimletIncludeCSS implements ZimletIncludeCSS * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/AccountZimletInfo.php b/src/Account/Struct/AccountZimletInfo.php index 5b6c30a20..15e30f1ed 100644 --- a/src/Account/Struct/AccountZimletInfo.php +++ b/src/Account/Struct/AccountZimletInfo.php @@ -68,9 +68,9 @@ class AccountZimletInfo implements ZimletInterface * @return self */ public function __construct( - ?AccountZimletContext $zimletContext = NULL, - ?AccountZimletDesc $zimlet = NULL, - ?AccountZimletConfigInfo $zimletConfig = NULL + ?AccountZimletContext $zimletContext = null, + ?AccountZimletDesc $zimlet = null, + ?AccountZimletConfigInfo $zimletConfig = null ) { $this->zimletContext = $zimletContext; diff --git a/src/Account/Struct/AccountZimletProperty.php b/src/Account/Struct/AccountZimletProperty.php index f6e77c78b..ba824f91d 100644 --- a/src/Account/Struct/AccountZimletProperty.php +++ b/src/Account/Struct/AccountZimletProperty.php @@ -52,12 +52,12 @@ class AccountZimletProperty implements ZimletProperty * @param string $value * @return self */ - public function __construct(?string $name = NULL, ?string $value = NULL) + public function __construct(?string $name = null, ?string $value = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/AccountZimletTarget.php b/src/Account/Struct/AccountZimletTarget.php index a9c2cfe99..c36faca6a 100644 --- a/src/Account/Struct/AccountZimletTarget.php +++ b/src/Account/Struct/AccountZimletTarget.php @@ -40,9 +40,9 @@ class AccountZimletTarget implements ZimletTarget * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/Attr.php b/src/Account/Struct/Attr.php index 1763604f9..8c3324a59 100644 --- a/src/Account/Struct/Attr.php +++ b/src/Account/Struct/Attr.php @@ -64,14 +64,14 @@ class Attr * @return self */ public function __construct( - string $name = '', ?string $value = NULL, ?bool $pd = NULL + string $name = '', ?string $value = null, ?bool $pd = null ) { $this->setName($name); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $pd) { + if (null !== $pd) { $this->setPermDenied($pd); } } diff --git a/src/Account/Struct/AuthToken.php b/src/Account/Struct/AuthToken.php index 162b6841a..439591f34 100644 --- a/src/Account/Struct/AuthToken.php +++ b/src/Account/Struct/AuthToken.php @@ -65,14 +65,14 @@ class AuthToken * @return self */ public function __construct( - string $value = '', ?bool $verifyAccount = NULL, ?int $lifetime = NULL + string $value = '', ?bool $verifyAccount = null, ?int $lifetime = null ) { $this->setValue($value); - if (NULL !== $verifyAccount) { + if (null !== $verifyAccount) { $this->setVerifyAccount($verifyAccount); } - if (NULL !== $lifetime) { + if (null !== $lifetime) { $this->setLifetime($lifetime); } } diff --git a/src/Account/Struct/CheckRightsRightInfo.php b/src/Account/Struct/CheckRightsRightInfo.php index e27435c0e..98373bf06 100644 --- a/src/Account/Struct/CheckRightsRightInfo.php +++ b/src/Account/Struct/CheckRightsRightInfo.php @@ -51,7 +51,7 @@ class CheckRightsRightInfo * @param bool $allow * @return self */ - public function __construct(string $right = '', bool $allow = FALSE) + public function __construct(string $right = '', bool $allow = false) { $this->setRight($right) ->setAllow($allow); diff --git a/src/Account/Struct/CheckRightsTargetInfo.php b/src/Account/Struct/CheckRightsTargetInfo.php index 9d5fb5e4b..8069bc02a 100644 --- a/src/Account/Struct/CheckRightsTargetInfo.php +++ b/src/Account/Struct/CheckRightsTargetInfo.php @@ -77,7 +77,7 @@ class CheckRightsTargetInfo * @return self */ public function __construct( - ?TargetType $type = NULL, ?TargetBy $by = NULL, string $key = '', bool $allow = FALSE, array $rights = [] + ?TargetType $type = null, ?TargetBy $by = null, string $key = '', bool $allow = false, array $rights = [] ) { $this->setTargetType($type ?? TargetType::ACCOUNT) diff --git a/src/Account/Struct/CheckRightsTargetSpec.php b/src/Account/Struct/CheckRightsTargetSpec.php index d536a6869..d273ccb05 100644 --- a/src/Account/Struct/CheckRightsTargetSpec.php +++ b/src/Account/Struct/CheckRightsTargetSpec.php @@ -67,7 +67,7 @@ class CheckRightsTargetSpec * @return self */ public function __construct( - ?TargetType $type = NULL, ?TargetBy $by = NULL, string $key = '', array $rights = [] + ?TargetType $type = null, ?TargetBy $by = null, string $key = '', array $rights = [] ) { $this->setTargetType($type ?? TargetType::ACCOUNT) diff --git a/src/Account/Struct/ChildAccount.php b/src/Account/Struct/ChildAccount.php index 60c4cdde1..fe2062af4 100644 --- a/src/Account/Struct/ChildAccount.php +++ b/src/Account/Struct/ChildAccount.php @@ -92,8 +92,8 @@ class ChildAccount public function __construct( string $id = '', string $name = '', - bool $isVisible = FALSE, - bool $isActive = FALSE, + bool $isVisible = false, + bool $isActive = false, array $attrs = [] ) { diff --git a/src/Account/Struct/ContactGroupMember.php b/src/Account/Struct/ContactGroupMember.php index 1c7ced3a6..feb83f700 100644 --- a/src/Account/Struct/ContactGroupMember.php +++ b/src/Account/Struct/ContactGroupMember.php @@ -65,7 +65,7 @@ class ContactGroupMember * @return self */ public function __construct( - string $type = '', string $value = '', ?ContactInfo $contact = NULL + string $type = '', string $value = '', ?ContactInfo $contact = null ) { $this->setType($type) diff --git a/src/Account/Struct/ContactInfo.php b/src/Account/Struct/ContactInfo.php index fdacf30d0..b118924f5 100644 --- a/src/Account/Struct/ContactInfo.php +++ b/src/Account/Struct/ContactInfo.php @@ -315,102 +315,102 @@ class ContactInfo * @return self */ public function __construct( - ?string $sortField = NULL, - ?bool $canExpand = NULL, - ?string $id = NULL, - ?string $folder = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequenceId = NULL, - ?int $date = NULL, - ?int $revisionId = NULL, - ?string $fileAs = NULL, - ?string $email = NULL, - ?string $email2 = NULL, - ?string $email3 = NULL, - ?string $type = NULL, - ?string $dlist = NULL, - ?string $reference = NULL, - ?bool $tooManyMembers = NULL, - array $metadatas = NULL, - array $attrs = NULL, - array $contactGroupMembers = NULL, - ?bool $isOwner = NULL, - ?bool $isMember = NULL + ?string $sortField = null, + ?bool $canExpand = null, + ?string $id = null, + ?string $folder = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $changeDate = null, + ?int $modifiedSequenceId = null, + ?int $date = null, + ?int $revisionId = null, + ?string $fileAs = null, + ?string $email = null, + ?string $email2 = null, + ?string $email3 = null, + ?string $type = null, + ?string $dlist = null, + ?string $reference = null, + ?bool $tooManyMembers = null, + array $metadatas = null, + array $attrs = null, + array $contactGroupMembers = null, + ?bool $isOwner = null, + ?bool $isMember = null ) { - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $canExpand) { + if (null !== $canExpand) { $this->setCanExpand($canExpand); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequenceId) { + if (null !== $modifiedSequenceId) { $this->setModifiedSequenceId($modifiedSequenceId); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $revisionId) { + if (null !== $revisionId) { $this->setRevisionId($revisionId); } - if (NULL !== $fileAs) { + if (null !== $fileAs) { $this->setFileAs($fileAs); } - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } - if (NULL !== $email2) { + if (null !== $email2) { $this->setEmail2($email2); } - if (NULL !== $email3) { + if (null !== $email3) { $this->setEmail3($email3); } - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $dlist) { + if (null !== $dlist) { $this->setDlist($dlist); } - if (NULL !== $reference) { + if (null !== $reference) { $this->setReference($reference); } - if (NULL !== $tooManyMembers) { + if (null !== $tooManyMembers) { $this->setTooManyMembers($tooManyMembers); } - if (NULL !== $metadatas) { + if (null !== $metadatas) { $this->setMetadatas($metadatas); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } - if (NULL !== $contactGroupMembers) { + if (null !== $contactGroupMembers) { $this->setContactGroupMembers($contactGroupMembers); } - if (NULL !== $isOwner) { + if (null !== $isOwner) { $this->setIsOwner($isOwner); } - if (NULL !== $isMember) { + if (null !== $isMember) { $this->setIsMember($isMember); } } diff --git a/src/Account/Struct/Cos.php b/src/Account/Struct/Cos.php index c20bf4019..d6b8cab3b 100644 --- a/src/Account/Struct/Cos.php +++ b/src/Account/Struct/Cos.php @@ -52,12 +52,12 @@ class Cos * @param string $name * @return self */ - public function __construct(?string $id = NULL, ?string $name = NULL) + public function __construct(?string $id = null, ?string $name = null) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Account/Struct/DLInfo.php b/src/Account/Struct/DLInfo.php index e5f5b248c..355fd7628 100644 --- a/src/Account/Struct/DLInfo.php +++ b/src/Account/Struct/DLInfo.php @@ -111,29 +111,29 @@ public function __construct( string $id = '', string $ref = '', string $name = '', - ?string $displayName = NULL, - ?bool $dynamic = NULL, - ?string $via = NULL, - ?bool $isOwner = NULL, - ?bool $isMember = NULL, + ?string $displayName = null, + ?bool $dynamic = null, + ?string $via = null, + ?bool $isOwner = null, + ?bool $isMember = null, array $attrs = [] ) { parent::__construct($name, $id, $attrs); $this->setRef($ref); - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } - if (NULL !== $via) { + if (null !== $via) { $this->setVia($via); } - if (NULL !== $isOwner) { + if (null !== $isOwner) { $this->setIsOwner($isOwner); } - if (NULL !== $isMember) { + if (null !== $isMember) { $this->setIsMember($isMember); } } diff --git a/src/Account/Struct/DiscoverRightsTarget.php b/src/Account/Struct/DiscoverRightsTarget.php index 48586f2a7..389fe863f 100644 --- a/src/Account/Struct/DiscoverRightsTarget.php +++ b/src/Account/Struct/DiscoverRightsTarget.php @@ -88,22 +88,22 @@ class DiscoverRightsTarget * @return self */ public function __construct( - ?TargetType $type = NULL, - ?string $id = NULL, - ?string $name = NULL, - ?string $displayName = NULL, + ?TargetType $type = null, + ?string $id = null, + ?string $name = null, + ?string $displayName = null, array $emails = [] ) { $this->setType($type ?? TargetType::ACCOUNT) ->setEmails($emails); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } } diff --git a/src/Account/Struct/DistributionListAction.php b/src/Account/Struct/DistributionListAction.php index 668a9c674..76fc28412 100644 --- a/src/Account/Struct/DistributionListAction.php +++ b/src/Account/Struct/DistributionListAction.php @@ -102,9 +102,9 @@ class DistributionListAction extends AccountKeyValuePairs * @return self */ public function __construct( - ?Operation $op = NULL, - ?string $newName = NULL, - ?Subscribe $subsReq = NULL, + ?Operation $op = null, + ?string $newName = null, + ?Subscribe $subsReq = null, array $dlms = [], array $owners = [], array $rights = [], @@ -117,7 +117,7 @@ public function __construct( ->setOwners($owners) ->setRights($rights); $this->subsReq = $subsReq; - if (NULL !== $newName) { + if (null !== $newName) { $this->setNewName($newName); } } diff --git a/src/Account/Struct/DistributionListGranteeInfo.php b/src/Account/Struct/DistributionListGranteeInfo.php index 8fae430f2..3d8b2704b 100644 --- a/src/Account/Struct/DistributionListGranteeInfo.php +++ b/src/Account/Struct/DistributionListGranteeInfo.php @@ -65,7 +65,7 @@ class DistributionListGranteeInfo * @return self */ public function __construct( - ?GranteeType $type = NULL, string $id = '', string $name = '' + ?GranteeType $type = null, string $id = '', string $name = '' ) { $this->setType($type ?? GranteeType::ALL) diff --git a/src/Account/Struct/DistributionListGranteeSelector.php b/src/Account/Struct/DistributionListGranteeSelector.php index 45e3122c3..0410fc93b 100644 --- a/src/Account/Struct/DistributionListGranteeSelector.php +++ b/src/Account/Struct/DistributionListGranteeSelector.php @@ -63,12 +63,12 @@ class DistributionListGranteeSelector * @return self */ public function __construct( - ?GranteeType $type = NULL, ?DistributionListGranteeBy $by = NULL, ?string $value = NULL + ?GranteeType $type = null, ?DistributionListGranteeBy $by = null, ?string $value = null ) { $this->setType($type ?? GranteeType::ALL) ->setBy($by ?? DistributionListGranteeBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/DistributionListInfo.php b/src/Account/Struct/DistributionListInfo.php index 59a659ebb..9c023d25e 100644 --- a/src/Account/Struct/DistributionListInfo.php +++ b/src/Account/Struct/DistributionListInfo.php @@ -113,22 +113,22 @@ public function __construct( array $members = [], array $owners = [], array $rights = [], - ?bool $isOwner = NULL, - ?bool $isMember = NULL, - ?bool $dynamic = NULL + ?bool $isOwner = null, + ?bool $isMember = null, + ?bool $dynamic = null ) { parent::__construct($name, $id, $attrs); $this->setMembers($members) ->setOwners($owners) ->setRights($rights); - if (NULL !== $isOwner) { + if (null !== $isOwner) { $this->setIsOwner($isOwner); } - if (NULL !== $isMember) { + if (null !== $isMember) { $this->setIsMember($isMember); } - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } } diff --git a/src/Account/Struct/DistributionListSubscribeReq.php b/src/Account/Struct/DistributionListSubscribeReq.php index a282243b2..f139e4207 100644 --- a/src/Account/Struct/DistributionListSubscribeReq.php +++ b/src/Account/Struct/DistributionListSubscribeReq.php @@ -64,14 +64,14 @@ class DistributionListSubscribeReq * @return self */ public function __construct( - ?DistributionListSubscribeOp $op = NULL, ?string $value = NULL, ?bool $bccOwners = NULL + ?DistributionListSubscribeOp $op = null, ?string $value = null, ?bool $bccOwners = null ) { $this->setOp($op ?? DistributionListSubscribeOp::SUBSCRIBE); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $bccOwners) { + if (null !== $bccOwners) { $this->setBccOwners($bccOwners); } } diff --git a/src/Account/Struct/EntrySearchFilterInfo.php b/src/Account/Struct/EntrySearchFilterInfo.php index 5d4621739..80ec56324 100755 --- a/src/Account/Struct/EntrySearchFilterInfo.php +++ b/src/Account/Struct/EntrySearchFilterInfo.php @@ -54,9 +54,9 @@ class EntrySearchFilterInfo implements EntrySearchFilterInterface * @param SearchFilterCondition $condition * @return self */ - public function __construct(?SearchFilterCondition $condition = NULL) + public function __construct(?SearchFilterCondition $condition = null) { - $this->condition = $this->conditions = NULL; + $this->condition = $this->conditions = null; if ($condition instanceof MultiCond) { $this->setConditions($condition); } diff --git a/src/Account/Struct/EntrySearchFilterMultiCond.php b/src/Account/Struct/EntrySearchFilterMultiCond.php index e2db85764..46f47df16 100755 --- a/src/Account/Struct/EntrySearchFilterMultiCond.php +++ b/src/Account/Struct/EntrySearchFilterMultiCond.php @@ -77,15 +77,15 @@ class EntrySearchFilterMultiCond implements SearchFilterCondition * @return self */ public function __construct( - ?bool $not = NULL, - ?bool $or = NULL, + ?bool $not = null, + ?bool $or = null, array $conditions = [] ) { - if (NULL !== $not) { + if (null !== $not) { $this->setNot($not); } - if (NULL !== $or) { + if (null !== $or) { $this->setOr($or); } $this->setConditions($conditions); diff --git a/src/Account/Struct/EntrySearchFilterSingleCond.php b/src/Account/Struct/EntrySearchFilterSingleCond.php index dc8c4f510..3692f38ac 100755 --- a/src/Account/Struct/EntrySearchFilterSingleCond.php +++ b/src/Account/Struct/EntrySearchFilterSingleCond.php @@ -79,15 +79,15 @@ class EntrySearchFilterSingleCond implements SearchFilterCondition */ public function __construct( string $attr = '', - ?ConditionOperator $op = NULL, + ?ConditionOperator $op = null, string $value = '', - ?bool $not = NULL + ?bool $not = null ) { $this->setAttr($attr) ->setOp($op ?? ConditionOperator::EQUAL) ->setValue($value); - if (NULL !== $not) { + if (null !== $not) { $this->setNot($not); } } diff --git a/src/Account/Struct/HABGroupMember.php b/src/Account/Struct/HABGroupMember.php index 65525755f..bfefc51ee 100644 --- a/src/Account/Struct/HABGroupMember.php +++ b/src/Account/Struct/HABGroupMember.php @@ -44,7 +44,7 @@ class HABGroupMember extends HABMember */ public function __construct( string $name = '', - ?int $seniorityIndex = NULL, + ?int $seniorityIndex = null, array $attrs = [] ) { diff --git a/src/Account/Struct/HABMember.php b/src/Account/Struct/HABMember.php index a302fa796..a754fd0e4 100644 --- a/src/Account/Struct/HABMember.php +++ b/src/Account/Struct/HABMember.php @@ -52,10 +52,10 @@ abstract class HABMember * @param int $seniorityIndex * @return self */ - public function __construct(string $name = '', ?int $seniorityIndex = NULL) + public function __construct(string $name = '', ?int $seniorityIndex = null) { $this->setName($name); - if (NULL !== $seniorityIndex) { + if (null !== $seniorityIndex) { $this->setSeniorityIndex($seniorityIndex); } } diff --git a/src/Account/Struct/Identity.php b/src/Account/Struct/Identity.php index b43162be2..4ac1b6322 100644 --- a/src/Account/Struct/Identity.php +++ b/src/Account/Struct/Identity.php @@ -53,13 +53,13 @@ class Identity extends AttrsImpl * @param array $attrs * @return self */ - public function __construct(?string $name = NULL, ?string $id = NULL, array $attrs = []) + public function __construct(?string $name = null, ?string $id = null, array $attrs = []) { parent::__construct($attrs); - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Account/Struct/LocaleInfo.php b/src/Account/Struct/LocaleInfo.php index 3c5b41c29..239557020 100644 --- a/src/Account/Struct/LocaleInfo.php +++ b/src/Account/Struct/LocaleInfo.php @@ -68,12 +68,12 @@ class LocaleInfo implements LocaleInterface public function __construct( string $id = '', string $name = '', - ?string $localName = NULL + ?string $localName = null ) { $this->setId($id) ->setName($name); - if (NULL !== $localName) { + if (null !== $localName) { $this->setLocalName($localName); } } diff --git a/src/Account/Struct/ModifyZimletPrefsSpec.php b/src/Account/Struct/ModifyZimletPrefsSpec.php index 80b289314..f6253e827 100644 --- a/src/Account/Struct/ModifyZimletPrefsSpec.php +++ b/src/Account/Struct/ModifyZimletPrefsSpec.php @@ -53,7 +53,7 @@ class ModifyZimletPrefsSpec * @param ZimletStatus $presence * @return self */ - public function __construct(string $name = '', ?ZimletStatus $presence = NULL) + public function __construct(string $name = '', ?ZimletStatus $presence = null) { $this->setName($name) ->setPresence($presence ?? ZimletStatus::ENABLED); diff --git a/src/Account/Struct/OAuthConsumer.php b/src/Account/Struct/OAuthConsumer.php index 1963528b1..ea4a33b06 100644 --- a/src/Account/Struct/OAuthConsumer.php +++ b/src/Account/Struct/OAuthConsumer.php @@ -77,22 +77,22 @@ class OAuthConsumer * @return self */ public function __construct( - ?string $accessToken = NULL, - ?string $approvedOn = NULL, - ?string $applicationName = NULL, - ?string $device = NULL + ?string $accessToken = null, + ?string $approvedOn = null, + ?string $applicationName = null, + ?string $device = null ) { - if (NULL !== $accessToken) { + if (null !== $accessToken) { $this->setAccessToken($accessToken); } - if (NULL !== $approvedOn) { + if (null !== $approvedOn) { $this->setApprovedOn($approvedOn); } - if (NULL !== $applicationName) { + if (null !== $applicationName) { $this->setApplicationName($applicationName); } - if (NULL !== $device) { + if (null !== $device) { $this->setDevice($device); } } diff --git a/src/Account/Struct/Pref.php b/src/Account/Struct/Pref.php index c572e2ef5..4defb7436 100644 --- a/src/Account/Struct/Pref.php +++ b/src/Account/Struct/Pref.php @@ -64,14 +64,14 @@ class Pref * @return self */ public function __construct( - string $name = '', ?string $value = NULL, ?int $modified = NULL + string $name = '', ?string $value = null, ?int $modified = null ) { $this->setName($name); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $modified) { + if (null !== $modified) { $this->setModified($modified); } } diff --git a/src/Account/Struct/Prop.php b/src/Account/Struct/Prop.php index 89094e1b0..a68c5d4ed 100644 --- a/src/Account/Struct/Prop.php +++ b/src/Account/Struct/Prop.php @@ -64,12 +64,12 @@ class Prop * @return self */ public function __construct( - string $zimlet = '', string $name = '', ?string $value = NULL + string $zimlet = '', string $name = '', ?string $value = null ) { $this->setZimlet($zimlet) ->setName($name); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/Session.php b/src/Account/Struct/Session.php index 69f94ccd6..3504acaa1 100644 --- a/src/Account/Struct/Session.php +++ b/src/Account/Struct/Session.php @@ -52,10 +52,10 @@ class Session * @param string $type * @return self */ - public function __construct(string $id = '', ?string $type = NULL) + public function __construct(string $id = '', ?string $type = null) { $this->setId($id); - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } } diff --git a/src/Account/Struct/Signature.php b/src/Account/Struct/Signature.php index 3f53f83ed..652e33597 100644 --- a/src/Account/Struct/Signature.php +++ b/src/Account/Struct/Signature.php @@ -76,20 +76,20 @@ class Signature * @return self */ public function __construct( - ?string $name = NULL, - ?string $id = NULL, - ?string $cid = NULL, + ?string $name = null, + ?string $id = null, + ?string $cid = null, array $contents = [] ) { $this->setContents($contents); - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $cid) { + if (null !== $cid) { $this->setCid($cid); } } diff --git a/src/Account/Struct/SignatureContent.php b/src/Account/Struct/SignatureContent.php index 6d470f36a..c59cf26f8 100644 --- a/src/Account/Struct/SignatureContent.php +++ b/src/Account/Struct/SignatureContent.php @@ -51,10 +51,10 @@ class SignatureContent * @param ContentType $type * @return self */ - public function __construct(?string $value = NULL, ?ContentType $type = NULL) + public function __construct(?string $value = null, ?ContentType $type = null) { $this->type = $type; - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Account/Struct/ZimletPrefsSpec.php b/src/Account/Struct/ZimletPrefsSpec.php index fab5ade4d..4b7ad0406 100644 --- a/src/Account/Struct/ZimletPrefsSpec.php +++ b/src/Account/Struct/ZimletPrefsSpec.php @@ -53,7 +53,7 @@ class ZimletPrefsSpec * @return self */ public function __construct( - string $name = '', ?ZimletStatus $presence = NULL + string $name = '', ?ZimletStatus $presence = null ) { $this->setName($name) diff --git a/src/Account/Struct/ZimletServerExtension.php b/src/Account/Struct/ZimletServerExtension.php index 93f07ba9a..9d8c5f5d5 100644 --- a/src/Account/Struct/ZimletServerExtension.php +++ b/src/Account/Struct/ZimletServerExtension.php @@ -66,18 +66,18 @@ class ZimletServerExtension implements ZimletServerExtensionInterface * @return self */ public function __construct( - ?string $hasKeyword = NULL, - ?string $extensionClass = NULL, - ?string $regex = NULL + ?string $hasKeyword = null, + ?string $extensionClass = null, + ?string $regex = null ) { - if (NULL !== $hasKeyword) { + if (null !== $hasKeyword) { $this->setHasKeyword($hasKeyword); } - if (NULL !== $extensionClass) { + if (null !== $extensionClass) { $this->setExtensionClass($extensionClass); } - if (NULL !== $regex) { + if (null !== $regex) { $this->setRegex($regex); } } diff --git a/src/Account/Struct/ZmgDeviceSpec.php b/src/Account/Struct/ZmgDeviceSpec.php index a2aabe53a..e0044234b 100644 --- a/src/Account/Struct/ZmgDeviceSpec.php +++ b/src/Account/Struct/ZmgDeviceSpec.php @@ -111,21 +111,21 @@ public function __construct( string $appId = '', string $registrationId = '', string $pushProvider = '', - ?string $osName = NULL, - ?string $osVersion = NULL, - ?int $maxPayloadSize = NULL + ?string $osName = null, + ?string $osVersion = null, + ?int $maxPayloadSize = null ) { $this->setAppId($appId) ->setRegistrationId($registrationId) ->setPushProvider($pushProvider); - if (NULL !== $osName) { + if (null !== $osName) { $this->setOSName($osName); } - if (NULL !== $osVersion) { + if (null !== $osVersion) { $this->setOSVersion($osVersion); } - if (NULL !== $maxPayloadSize) { + if (null !== $maxPayloadSize) { $this->setMaxPayloadSize($maxPayloadSize); } } diff --git a/src/Admin/AdminApi.php b/src/Admin/AdminApi.php index d49755019..6bc713417 100644 --- a/src/Admin/AdminApi.php +++ b/src/Admin/AdminApi.php @@ -103,7 +103,7 @@ public function addAccountAlias(string $id, string $alias): ?Message\AddAccountA * {@inheritdoc} */ public function addAccountLogger( - LoggerInfo $logger, ?AccountSelector $account = NULL, ?string $id = NULL + LoggerInfo $logger, ?AccountSelector $account = null, ?string $id = null ): ?Message\AddAccountLoggerResponse { return $this->invoke(new Message\AddAccountLoggerRequest( @@ -139,7 +139,7 @@ public function addGalSyncDataSource( string $name, string $domain, GalMode $type, - ?string $folder = NULL, + ?string $folder = null, array $attrs = [] ): ?Message\AddGalSyncDataSourceResponse { @@ -152,7 +152,7 @@ public function addGalSyncDataSource( * {@inheritdoc} */ public function adminCreateWaitSet( - string $defaultInterests, ?bool $allAccounts = NULL, array $accounts = [] + string $defaultInterests, ?bool $allAccounts = null, array $accounts = [] ): ?Message\AdminCreateWaitSetResponse { return $this->invoke(new Message\AdminCreateWaitSetRequest( @@ -174,10 +174,10 @@ public function adminDestroyWaitSet(string $waitSetId): ?Message\AdminDestroyWai public function adminWaitSet( string $waitSetId, string $lastKnownSeqNo, - ?bool $block = NULL, - ?bool $expand = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, + ?bool $block = null, + ?bool $expand = null, + ?string $defaultInterests = null, + ?int $timeout = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] @@ -200,14 +200,14 @@ public function adminWaitSet( * {@inheritdoc} */ public function auth( - ?string $name = NULL, - ?string $password = NULL, - ?string $authToken = NULL, - ?AccountSelector $account = NULL, - ?string $virtualHost = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL + ?string $name = null, + ?string $password = null, + ?string $authToken = null, + ?AccountSelector $account = null, + ?string $virtualHost = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null ): ?Message\AuthResponse { return $this->invoke(new Message\AuthRequest( @@ -227,7 +227,7 @@ public function auth( */ public function authByToken(string $authToken): ?Message\AuthResponse { - return $this->auth(NULL, NULL, $authToken); + return $this->auth(null, null, $authToken); } /** @@ -236,9 +236,9 @@ public function authByToken(string $authToken): ?Message\AuthResponse public function autoCompleteGal( string $domain, string $name, - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?string $galAccountId = null, + ?int $limit = null ): ?Message\AutoCompleteGalResponse { return $this->invoke(new Message\AutoCompleteGalRequest( @@ -252,7 +252,7 @@ public function autoCompleteGal( public function autoProvAccount( DomainSelector $domain, PrincipalSelector $principal, - ?string $password = NULL + ?string $password = null ): ?Message\AutoProvAccountResponse { return $this->invoke(new Message\AutoProvAccountRequest( @@ -296,7 +296,7 @@ public function checkAuthConfig( * {@inheritdoc} */ public function checkBlobConsistency( - ?bool $checkSize = NULL, ?bool $reportUsedBlobs = NULL, array $volumes = [], array $mailboxes = [] + ?bool $checkSize = null, ?bool $reportUsedBlobs = null, array $volumes = [], array $mailboxes = [] ): ?Message\CheckBlobConsistencyResponse { return $this->invoke(new Message\CheckBlobConsistencyRequest( @@ -315,7 +315,7 @@ public function checkDirectory(array $paths = []): ?Message\CheckDirectoryRespon /** * {@inheritdoc} */ - public function checkDomainMXRecord(DomainSelector $domain = NULL): ?Message\CheckDomainMXRecordResponse + public function checkDomainMXRecord(DomainSelector $domain = null): ?Message\CheckDomainMXRecordResponse { return $this->invoke(new Message\CheckDomainMXRecordRequest($domain)); } @@ -323,7 +323,7 @@ public function checkDomainMXRecord(DomainSelector $domain = NULL): ?Message\Che /** * {@inheritdoc} */ - public function checkExchangeAuth(?ExchangeAuthSpec $auth = NULL): ?Message\CheckExchangeAuthResponse + public function checkExchangeAuth(?ExchangeAuthSpec $auth = null): ?Message\CheckExchangeAuthResponse { return $this->invoke(new Message\CheckExchangeAuthRequest($auth)); } @@ -332,7 +332,7 @@ public function checkExchangeAuth(?ExchangeAuthSpec $auth = NULL): ?Message\Chec * {@inheritdoc} */ public function checkGalConfig( - ?LimitedQuery $query = NULL, ?string $action = NULL, array $attrs = [] + ?LimitedQuery $query = null, ?string $action = null, array $attrs = [] ): ?Message\CheckGalConfigResponse { return $this->invoke(new Message\CheckGalConfigRequest( @@ -351,7 +351,7 @@ public function checkHealth(): ?Message\CheckHealthResponse /** * {@inheritdoc} */ - public function checkHostnameResolve(?string $hostname = NULL): ?Message\CheckHostnameResolveResponse + public function checkHostnameResolve(?string $hostname = null): ?Message\CheckHostnameResolveResponse { return $this->invoke(new Message\CheckHostnameResolveRequest($hostname)); } @@ -391,7 +391,7 @@ public function clearCookie(array $cookies = []): ?Message\ClearCookieResponse * {@inheritdoc} */ public function compactIndex( - MailboxByAccountIdSelector $mbox, ?CompactIndexAction $action = NULL + MailboxByAccountIdSelector $mbox, ?CompactIndexAction $action = null ): ?Message\CompactIndexResponse { return $this->invoke(new Message\CompactIndexRequest($mbox, $action)); @@ -416,7 +416,7 @@ public function configureZimlet(AttachmentIdAttrib $content): ?Message\Configure /** * {@inheritdoc} */ - public function contactBackup(array $servers = [], ?ContactBackupOp $op = NULL): ?Message\ContactBackupResponse + public function contactBackup(array $servers = [], ?ContactBackupOp $op = null): ?Message\ContactBackupResponse { return $this->invoke(new Message\ContactBackupRequest($servers, $op)); } @@ -424,7 +424,7 @@ public function contactBackup(array $servers = [], ?ContactBackupOp $op = NULL): /** * {@inheritdoc} */ - public function copyCos(?CosSelector $cos = NULL, ?string $newName = NULL): ?Message\CopyCosResponse + public function copyCos(?CosSelector $cos = null, ?string $newName = null): ?Message\CopyCosResponse { return $this->invoke(new Message\CopyCosRequest($cos, $newName)); } @@ -441,10 +441,10 @@ public function countAccount(DomainSelector $domain): ?Message\CountAccountRespo * {@inheritdoc} */ public function countObjects( - ?CountObjectsType $type = NULL, + ?CountObjectsType $type = null, array $domains = [], - ?UcServiceSelector $ucService = NULL, - ?bool $onlyRelated = NULL + ?UcServiceSelector $ucService = null, + ?bool $onlyRelated = null ): ?Message\CountObjectsResponse { return $this->invoke(new Message\CountObjectsRequest( @@ -456,7 +456,7 @@ public function countObjects( * {@inheritdoc} */ public function createAccount( - string $name, ?string $password = NULL, array $attrs = [] + string $name, ?string $password = null, array $attrs = [] ): ?Message\CreateAccountResponse { return $this->invoke(new Message\CreateAccountRequest( @@ -478,7 +478,7 @@ public function createAlwaysOnCluster( * {@inheritdoc} */ public function createCalendarResource( - string $name, ?string $password = NULL, array $attrs = [] + string $name, ?string $password = null, array $attrs = [] ): ?Message\CreateCalendarResourceResponse { return $this->invoke(new Message\CreateCalendarResourceRequest( @@ -508,7 +508,7 @@ public function createDataSource( * {@inheritdoc} */ public function createDistributionList( - string $name, ?bool $dynamic = NULL, array $attrs = [] + string $name, ?bool $dynamic = null, array $attrs = [] ): ?Message\CreateDistributionListResponse { return $this->invoke(new Message\CreateDistributionListRequest( @@ -532,9 +532,9 @@ public function createGalSyncAccount( string $name, string $domain, string $mailHost, - ?GalMode $type = NULL, - ?string $password = NULL, - ?string $folder = NULL, + ?GalMode $type = null, + ?string $password = null, + ?string $folder = null, array $attrs = [] ): ?Message\CreateGalSyncAccountResponse { @@ -563,7 +563,7 @@ public function createServer(string $name, array $attrs = []): ?Message\CreateSe * {@inheritdoc} */ public function createSystemRetentionPolicy( - ?CosSelector $cos = NULL, ?PolicyHolder $keep = NULL, ?PolicyHolder $purge = NULL + ?CosSelector $cos = null, ?PolicyHolder $keep = null, ?PolicyHolder $purge = null ): ?Message\CreateSystemRetentionPolicyResponse { return $this->invoke(new Message\CreateSystemRetentionPolicyRequest( @@ -606,7 +606,7 @@ public function createZimlet(string $name, array $attrs = []): ?Message\CreateZi /** * {@inheritdoc} */ - public function dedupeBlobs(?DedupAction $action = NULL, array $volumes = []): ?Message\DedupeBlobsResponse + public function dedupeBlobs(?DedupAction $action = null, array $volumes = []): ?Message\DedupeBlobsResponse { return $this->invoke(new Message\DedupeBlobsRequest($action, $volumes)); } @@ -614,7 +614,7 @@ public function dedupeBlobs(?DedupAction $action = NULL, array $volumes = []): ? /** * {@inheritdoc} */ - public function delegateAuth(AccountSelector $account, ?int $duration = NULL): ?Message\DelegateAuthResponse + public function delegateAuth(AccountSelector $account, ?int $duration = null): ?Message\DelegateAuthResponse { return $this->invoke(new Message\DelegateAuthRequest($account, $duration)); } @@ -667,7 +667,7 @@ public function deleteDataSource( * {@inheritdoc} */ public function deleteDistributionList( - string $id, ?bool $cascadeDelete = NULL + string $id, ?bool $cascadeDelete = null ): ?Message\DeleteDistributionListResponse { return $this->invoke(new Message\DeleteDistributionListRequest($id, $cascadeDelete)); @@ -701,7 +701,7 @@ public function deleteLDAPEntry(string $dn): ?Message\DeleteLDAPEntryResponse * {@inheritdoc} */ public function deleteMailbox( - ?MailboxByAccountIdSelector $mbox = NULL + ?MailboxByAccountIdSelector $mbox = null ): ?Message\DeleteMailboxResponse { return $this->invoke(new Message\DeleteMailboxRequest($mbox)); @@ -719,7 +719,7 @@ public function deleteServer(string $id): ?Message\DeleteServerResponse * {@inheritdoc} */ public function deleteSystemRetentionPolicy( - Policy $policy, ?CosSelector $cos = NULL + Policy $policy, ?CosSelector $cos = null ): ?Message\DeleteSystemRetentionPolicyResponse { return $this->invoke(new Message\DeleteSystemRetentionPolicyRequest( @@ -747,7 +747,7 @@ public function deleteVolume(int $id): ?Message\DeleteVolumeResponse * {@inheritdoc} */ public function deleteXMPPComponent( - ?XMPPComponentSelector $component = NULL + ?XMPPComponentSelector $component = null ): ?Message\DeleteXMPPComponentResponse { return $this->invoke(new Message\DeleteXMPPComponentRequest($component)); @@ -766,9 +766,9 @@ public function deleteZimlet(NamedElement $zimlet): ?Message\DeleteZimletRespons */ public function deployZimlet( AttachmentIdAttrib $content, - ?ZimletDeployAction $action = NULL, - ?bool $flushCache = NULL, - ?bool $synchronous = NULL + ?ZimletDeployAction $action = null, + ?bool $flushCache = null, + ?bool $synchronous = null ): ?Message\DeployZimletResponse { return $this->invoke(new Message\DeployZimletRequest( @@ -780,7 +780,7 @@ public function deployZimlet( * {@inheritdoc} */ public function dumpSessions( - ?bool $includeAccounts = NULL, ?bool $groupByAccount = NULL + ?bool $includeAccounts = null, ?bool $groupByAccount = null ): ?Message\DumpSessionsResponse { return $this->invoke(new Message\DumpSessionsRequest( @@ -792,7 +792,7 @@ public function dumpSessions( * {@inheritdoc} */ public function exportAndDeleteItems( - ExportAndDeleteMailboxSpec $mailbox, ?string $exportDir = NULL, ?string $exportFilenamePrefix = NULL + ExportAndDeleteMailboxSpec $mailbox, ?string $exportDir = null, ?string $exportFilenamePrefix = null ): ?Message\ExportAndDeleteItemsResponse { return $this->invoke(new Message\ExportAndDeleteItemsRequest( @@ -803,7 +803,7 @@ public function exportAndDeleteItems( /** * {@inheritdoc} */ - public function fixCalendarEndTime(?bool $sync = NULL, array $accounts = []): ?Message\FixCalendarEndTimeResponse + public function fixCalendarEndTime(?bool $sync = null, array $accounts = []): ?Message\FixCalendarEndTimeResponse { return $this->invoke(new Message\FixCalendarEndTimeRequest($sync, $accounts)); } @@ -811,7 +811,7 @@ public function fixCalendarEndTime(?bool $sync = NULL, array $accounts = []): ?M /** * {@inheritdoc} */ - public function fixCalendarPriority(?bool $sync = NULL, array $accounts = []): ?Message\FixCalendarPriorityResponse + public function fixCalendarPriority(?bool $sync = null, array $accounts = []): ?Message\FixCalendarPriorityResponse { return $this->invoke(new Message\FixCalendarPriorityRequest($sync, $accounts)); } @@ -820,7 +820,7 @@ public function fixCalendarPriority(?bool $sync = NULL, array $accounts = []): ? * {@inheritdoc} */ public function fixCalendarTZ( - ?bool $sync = NULL, ?int $after = NULL, array $accounts = [], ?TzFixup $tzFixup = NULL + ?bool $sync = null, ?int $after = null, array $accounts = [], ?TzFixup $tzFixup = null ): ?Message\FixCalendarTZResponse { return $this->invoke(new Message\FixCalendarTZRequest( @@ -831,7 +831,7 @@ public function fixCalendarTZ( /** * {@inheritdoc} */ - public function flushCache(?CacheSelector $cache = NULL): ?Message\FlushCacheResponse + public function flushCache(?CacheSelector $cache = null): ?Message\FlushCacheResponse { return $this->invoke(new Message\FlushCacheRequest($cache)); } @@ -840,7 +840,7 @@ public function flushCache(?CacheSelector $cache = NULL): ?Message\FlushCacheRes * {@inheritdoc} */ public function getAccount( - AccountSelector $account, ?bool $applyCos = NULL, ?bool $effectiveQuota = NULL, ?string $attrs = NULL + AccountSelector $account, ?bool $applyCos = null, ?bool $effectiveQuota = null, ?string $attrs = null ): ?Message\GetAccountResponse { return $this->invoke(new Message\GetAccountRequest( @@ -860,7 +860,7 @@ public function getAccountInfo(AccountSelector $account): ?Message\GetAccountInf * {@inheritdoc} */ public function getAccountLoggers( - ?string $id = NULL, ?AccountSelector $account = NULL + ?string $id = null, ?AccountSelector $account = null ): ?Message\GetAccountLoggersResponse { return $this->invoke(new Message\GetAccountLoggersRequest($id, $account)); @@ -878,7 +878,7 @@ public function getAccountMembership(AccountSelector $account): ?Message\GetAcco * {@inheritdoc} */ public function getAdminConsoleUIComp( - ?AccountSelector $account = NULL, ?DistributionListSelector $dl = NULL + ?AccountSelector $account = null, ?DistributionListSelector $dl = null ): ?Message\GetAdminConsoleUICompResponse { return $this->invoke(new Message\GetAdminConsoleUICompRequest($account, $dl)); @@ -920,7 +920,7 @@ public function getAllAccountLoggers(): ?Message\GetAllAccountLoggersResponse * {@inheritdoc} */ public function getAllAccounts( - ?ServerSelector $server = NULL, ?DomainSelector $domain = NULL + ?ServerSelector $server = null, ?DomainSelector $domain = null ): ?Message\GetAllAccountsResponse { return $this->invoke(new Message\GetAllAccountsRequest($server, $domain)); @@ -937,7 +937,7 @@ public function getAllActiveServers(): ?Message\GetAllActiveServersResponse /** * {@inheritdoc} */ - public function getAllAdminAccounts(?bool $applyCos = NULL): ?Message\GetAllAdminAccountsResponse + public function getAllAdminAccounts(?bool $applyCos = null): ?Message\GetAllAdminAccountsResponse { return $this->invoke(new Message\GetAllAdminAccountsRequest($applyCos)); } @@ -954,7 +954,7 @@ public function getAllAlwaysOnClusters(): ?Message\GetAllAlwaysOnClustersRespons * {@inheritdoc} */ public function getAllCalendarResources( - ?ServerSelector $server = NULL, ?DomainSelector $domain = NULL + ?ServerSelector $server = null, ?DomainSelector $domain = null ): ?Message\GetAllCalendarResourcesResponse { return $this->invoke(new Message\GetAllCalendarResourcesRequest($server, $domain)); @@ -980,7 +980,7 @@ public function getAllCos(): ?Message\GetAllCosResponse * {@inheritdoc} */ public function getAllDistributionLists( - ?DomainSelector $domain = NULL + ?DomainSelector $domain = null ): ?Message\GetAllDistributionListsResponse { return $this->invoke(new Message\GetAllDistributionListsRequest($domain)); @@ -989,7 +989,7 @@ public function getAllDistributionLists( /** * {@inheritdoc} */ - public function getAllDomains(?bool $applyConfig = NULL): ?Message\GetAllDomainsResponse + public function getAllDomains(?bool $applyConfig = null): ?Message\GetAllDomainsResponse { return $this->invoke(new Message\GetAllDomainsRequest($applyConfig)); } @@ -998,7 +998,7 @@ public function getAllDomains(?bool $applyConfig = NULL): ?Message\GetAllDomains * {@inheritdoc} */ public function getAllEffectiveRights( - ?GranteeSelector $grantee = NULL, ?bool $expandSetAttrs = NULL, ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, ?bool $expandSetAttrs = null, ?bool $expandGetAttrs = null ): ?Message\GetAllEffectiveRightsResponse { return $this->invoke(new Message\GetAllEffectiveRightsRequest( @@ -1025,7 +1025,7 @@ public function getAllLocales(): ?Message\GetAllLocalesResponse /** * {@inheritdoc} */ - public function getAllMailboxes(?int $limit = NULL, ?int $offset = NULL): ?Message\GetAllMailboxesResponse + public function getAllMailboxes(?int $limit = null, ?int $offset = null): ?Message\GetAllMailboxesResponse { return $this->invoke(new Message\GetAllMailboxesRequest($limit, $offset)); } @@ -1034,7 +1034,7 @@ public function getAllMailboxes(?int $limit = NULL, ?int $offset = NULL): ?Messa * {@inheritdoc} */ public function getAllRights( - ?string $targetType = NULL, ?bool $expandAllAttrs = NULL, ?RightClass $rightClass = NULL + ?string $targetType = null, ?bool $expandAllAttrs = null, ?RightClass $rightClass = null ): ?Message\GetAllRightsResponse { return $this->invoke(new Message\GetAllRightsRequest( @@ -1046,7 +1046,7 @@ public function getAllRights( * {@inheritdoc} */ public function getAllServers( - ?string $service = NULL, ?string $alwaysOnClusterId = NULL, ?bool $applyConfig = NULL + ?string $service = null, ?string $alwaysOnClusterId = null, ?bool $applyConfig = null ): ?Message\GetAllServersResponse { return $this->invoke(new Message\GetAllServersRequest( @@ -1089,7 +1089,7 @@ public function getAllXMPPComponents(): ?Message\GetAllXMPPComponentsResponse /** * {@inheritdoc} */ - public function getAllZimlets(?ZimletExcludeType $exclude = NULL): ?Message\GetAllZimletsResponse + public function getAllZimlets(?ZimletExcludeType $exclude = null): ?Message\GetAllZimletsResponse { return $this->invoke(new Message\GetAllZimletsRequest($exclude)); } @@ -1098,7 +1098,7 @@ public function getAllZimlets(?ZimletExcludeType $exclude = NULL): ?Message\GetA * {@inheritdoc} */ public function getAlwaysOnCluster( - ?AlwaysOnClusterSelector $cluster = NULL, ?string $attrs = NULL + ?AlwaysOnClusterSelector $cluster = null, ?string $attrs = null ): ?Message\GetAlwaysOnClusterResponse { return $this->invoke(new Message\GetAlwaysOnClusterRequest($cluster, $attrs)); @@ -1108,7 +1108,7 @@ public function getAlwaysOnCluster( * {@inheritdoc} */ public function getAttributeInfo( - ?string $attrs = NULL, ?string $entryTypes = NULL + ?string $attrs = null, ?string $entryTypes = null ): ?Message\GetAttributeInfoResponse { return $this->invoke(new Message\GetAttributeInfoRequest($attrs, $entryTypes)); @@ -1118,7 +1118,7 @@ public function getAttributeInfo( * {@inheritdoc} */ public function getCalendarResource( - ?CalendarResourceSelector $calResource = NULL, ?bool $applyCos = NULL, ?string $attrs = NULL + ?CalendarResourceSelector $calResource = null, ?bool $applyCos = null, ?string $attrs = null ): ?Message\GetCalendarResourceResponse { return $this->invoke(new Message\GetCalendarResourceRequest( @@ -1129,7 +1129,7 @@ public function getCalendarResource( /** * {@inheritdoc} */ - public function getConfig(?Attr $attr = NULL): ?Message\GetConfigResponse + public function getConfig(?Attr $attr = null): ?Message\GetConfigResponse { return $this->invoke(new Message\GetConfigRequest($attr)); } @@ -1137,7 +1137,7 @@ public function getConfig(?Attr $attr = NULL): ?Message\GetConfigResponse /** * {@inheritdoc} */ - public function getCos(CosSelector $cos, ?string $attrs = NULL): ?Message\GetCosResponse + public function getCos(CosSelector $cos, ?string $attrs = null): ?Message\GetCosResponse { return $this->invoke(new Message\GetCosRequest($cos, $attrs)); } @@ -1146,7 +1146,7 @@ public function getCos(CosSelector $cos, ?string $attrs = NULL): ?Message\GetCos * {@inheritdoc} */ public function getCreateObjectAttrs( - TargetWithType $target, ?DomainSelector $domain = NULL, ?CosSelector $cos = NULL + TargetWithType $target, ?DomainSelector $domain = null, ?CosSelector $cos = null ): ?Message\GetCreateObjectAttrsResponse { return $this->invoke(new Message\GetCreateObjectAttrsRequest( @@ -1174,7 +1174,7 @@ public function getDataSources(string $id, array $attrs = []): ?Message\GetDataS * {@inheritdoc} */ public function getDelegatedAdminConstraints( - TargetType $type, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + TargetType $type, ?string $id = null, ?string $name = null, array $attrs = [] ): ?Message\GetDelegatedAdminConstraintsResponse { return $this->invoke(new Message\GetDelegatedAdminConstraintsRequest( @@ -1186,11 +1186,11 @@ public function getDelegatedAdminConstraints( * {@inheritdoc} */ public function getDistributionList( - ?DistributionListSelector $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?DistributionListSelector $dl = null, + ?int $limit = null, + ?int $offset = null, + ?bool $sortAscending = null, + ?string $attrs = null ): ?Message\GetDistributionListResponse { return $this->invoke(new Message\GetDistributionListRequest( @@ -1202,9 +1202,9 @@ public function getDistributionList( * {@inheritdoc} */ public function getDistributionListMembership( - ?DistributionListSelector $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL + ?DistributionListSelector $dl = null, + ?int $limit = null, + ?int $offset = null ): ?Message\GetDistributionListMembershipResponse { return $this->invoke(new Message\GetDistributionListMembershipRequest( @@ -1216,9 +1216,9 @@ public function getDistributionListMembership( * {@inheritdoc} */ public function getDomain( - ?DomainSelector $domain = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?DomainSelector $domain = null, + ?bool $applyConfig = null, + ?string $attrs = null ): ?Message\GetDomainResponse { return $this->invoke(new Message\GetDomainRequest( @@ -1230,7 +1230,7 @@ public function getDomain( * {@inheritdoc} */ public function getDomainInfo( - ?DomainSelector $domain = NULL, ?bool $applyConfig = NULL + ?DomainSelector $domain = null, ?bool $applyConfig = null ): ?Message\GetDomainInfoResponse { return $this->invoke(new Message\GetDomainInfoRequest($domain, $applyConfig)); @@ -1241,9 +1241,9 @@ public function getDomainInfo( */ public function getEffectiveRights( EffectiveRightsTargetSelector $target, - ?GranteeSelector $grantee = NULL, - ?bool $expandSetAttrs = NULL, - ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, + ?bool $expandSetAttrs = null, + ?bool $expandGetAttrs = null ): ?Message\GetEffectiveRightsResponse { return $this->invoke(new Message\GetEffectiveRightsRequest( @@ -1256,10 +1256,10 @@ public function getEffectiveRights( */ public function getFilterRules( AdminFilterType $type, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null ): ?Message\GetFilterRulesResponse { return $this->invoke(new Message\GetFilterRulesRequest( @@ -1270,7 +1270,7 @@ public function getFilterRules( /** * {@inheritdoc} */ - public function getFreeBusyQueueInfo(?NamedElement $provider = NULL): ?Message\GetFreeBusyQueueInfoResponse + public function getFreeBusyQueueInfo(?NamedElement $provider = null): ?Message\GetFreeBusyQueueInfoResponse { return $this->invoke(new Message\GetFreeBusyQueueInfoRequest($provider)); } @@ -1279,8 +1279,8 @@ public function getFreeBusyQueueInfo(?NamedElement $provider = NULL): ?Message\G * {@inheritdoc} */ public function getGrants( - ?EffectiveRightsTargetSelector $target = NULL, - ?GranteeSelector $grantee = NULL + ?EffectiveRightsTargetSelector $target = null, + ?GranteeSelector $grantee = null ): ?Message\GetGrantsResponse { return $this->invoke(new Message\GetGrantsRequest($target, $grantee)); @@ -1299,11 +1299,11 @@ public function getIndexStats(MailboxByAccountIdSelector $mbox): ?Message\GetInd */ public function getLDAPEntries( string $ldapSearchBase, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $query = NULL + ?string $sortBy = null, + ?bool $sortAscending = null, + ?int $limit = null, + ?int $offset = null, + ?string $query = null ): ?Message\GetLDAPEntriesResponse { return $this->invoke(new Message\GetLDAPEntriesRequest( @@ -1323,7 +1323,7 @@ public function getLicenseInfo(): ?Message\GetLicenseInfoResponse * {@inheritdoc} */ public function getLoggerStats( - ?HostName $hostName = NULL, ?StatsSpec $stats = NULL, ?TimeAttr $startTime = NULL, ?TimeAttr $endTime = NULL + ?HostName $hostName = null, ?StatsSpec $stats = null, ?TimeAttr $startTime = null, ?TimeAttr $endTime = null ): ?Message\GetLoggerStatsResponse { return $this->invoke(new Message\GetLoggerStatsRequest( @@ -1334,7 +1334,7 @@ public function getLoggerStats( /** * {@inheritdoc} */ - public function getMailbox(?MailboxByAccountIdSelector $mbox = NULL): ?Message\GetMailboxResponse + public function getMailbox(?MailboxByAccountIdSelector $mbox = null): ?Message\GetMailboxResponse { return $this->invoke(new Message\GetMailboxRequest($mbox)); } @@ -1383,13 +1383,13 @@ public function getOutgoingFilterRules(): ?Message\GetOutgoingFilterRulesRespons * {@inheritdoc} */ public function getQuotaUsage( - ?string $domain = NULL, - ?bool $allServers = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?bool $refresh = NULL + ?string $domain = null, + ?bool $allServers = null, + ?int $limit = null, + ?int $offset = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?bool $refresh = null ): ?Message\GetQuotaUsageResponse { return $this->invoke(new Message\GetQuotaUsageRequest( @@ -1400,7 +1400,7 @@ public function getQuotaUsage( /** * {@inheritdoc} */ - public function getRight(string $right, ?bool $expandAllAttrs = NULL): ?Message\GetRightResponse + public function getRight(string $right, ?bool $expandAllAttrs = null): ?Message\GetRightResponse { return $this->invoke(new Message\GetRightRequest($right, $expandAllAttrs)); } @@ -1417,9 +1417,9 @@ public function getRightsDoc(array $pkgs = []): ?Message\GetRightsDocResponse * {@inheritdoc} */ public function getServer( - ?ServerSelector $server = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?ServerSelector $server = null, + ?bool $applyConfig = null, + ?string $attrs = null ): ?Message\GetServerResponse { return $this->invoke(new Message\GetServerRequest( @@ -1430,7 +1430,7 @@ public function getServer( /** * {@inheritdoc} */ - public function getServerNIfs(ServerSelector $server, ?IpType $type = NULL): ?Message\GetServerNIfsResponse + public function getServerNIfs(ServerSelector $server, ?IpType $type = null): ?Message\GetServerNIfsResponse { return $this->invoke(new Message\GetServerNIfsRequest($server, $type)); } @@ -1456,10 +1456,10 @@ public function getServiceStatus(): ?Message\GetServiceStatusResponse */ public function getSessions( SessionType $type, - ?GetSessionsSortBy $sortBy = NULL, - ?int $offset = NULL, - ?int $limit = NULL, - ?bool $refresh = NULL + ?GetSessionsSortBy $sortBy = null, + ?int $offset = null, + ?int $limit = null, + ?bool $refresh = null ): ?Message\GetSessionsResponse { return $this->invoke(new Message\GetSessionsRequest( @@ -1471,7 +1471,7 @@ public function getSessions( * {@inheritdoc} */ public function getShareInfo( - AccountSelector $owner, ?GranteeChooser $grantee = NULL + AccountSelector $owner, ?GranteeChooser $grantee = null ): ?Message\GetShareInfoResponse { return $this->invoke(new Message\GetShareInfoRequest($owner, $grantee)); @@ -1480,7 +1480,7 @@ public function getShareInfo( /** * {@inheritdoc} */ - public function getSystemRetentionPolicy(?CosSelector $cos = NULL): ?Message\GetSystemRetentionPolicyResponse + public function getSystemRetentionPolicy(?CosSelector $cos = null): ?Message\GetSystemRetentionPolicyResponse { return $this->invoke(new Message\GetSystemRetentionPolicyRequest($cos)); } @@ -1488,7 +1488,7 @@ public function getSystemRetentionPolicy(?CosSelector $cos = NULL): ?Message\Get /** * {@inheritdoc} */ - public function getUCService(UcServiceSelector $ucService, ?string $attrs = NULL): ?Message\GetUCServiceResponse + public function getUCService(UcServiceSelector $ucService, ?string $attrs = null): ?Message\GetUCServiceResponse { return $this->invoke(new Message\GetUCServiceRequest($ucService, $attrs)); } @@ -1513,7 +1513,7 @@ public function getVolume(int $id): ?Message\GetVolumeResponse * {@inheritdoc} */ public function getXMPPComponent( - XMPPComponentSelector $component, ?string $attrs = NULL + XMPPComponentSelector $component, ?string $attrs = null ): ?Message\GetXMPPComponentResponse { return $this->invoke(new Message\GetXMPPComponentRequest($component, $attrs)); @@ -1522,7 +1522,7 @@ public function getXMPPComponent( /** * {@inheritdoc} */ - public function getZimlet(NamedElement $zimlet, ?string $attrs = NULL): ?Message\GetZimletResponse + public function getZimlet(NamedElement $zimlet, ?string $attrs = null): ?Message\GetZimletResponse { return $this->invoke(new Message\GetZimletRequest($zimlet, $attrs)); } @@ -1553,7 +1553,7 @@ public function grantRight( * {@inheritdoc} */ public function lockoutMailbox( - AccountNameSelector $account, ?LockoutOperation $operation = NULL + AccountNameSelector $account, ?LockoutOperation $operation = null ): ?Message\LockoutMailboxResponse { return $this->invoke(new Message\LockoutMailboxRequest($account, $operation)); @@ -1647,7 +1647,7 @@ public function modifyDataSource( * {@inheritdoc} */ public function modifyDelegatedAdminConstraints( - ?TargetType $type = NULL, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + ?TargetType $type = null, ?string $id = null, ?string $name = null, array $attrs = [] ): ?Message\ModifyDelegatedAdminConstraintsResponse { return $this->invoke(new Message\ModifyDelegatedAdminConstraintsRequest( @@ -1675,11 +1675,11 @@ public function modifyDomain(string $id, array $attrs = []): ?Message\ModifyDoma * {@inheritdoc} */ public function modifyFilterRules( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $filterRules = [] ): ?Message\ModifyFilterRulesResponse { @@ -1700,11 +1700,11 @@ public function modifyLDAPEntry(string $dn, array $attrs = []): ?Message\ModifyL * {@inheritdoc} */ public function modifyOutgoingFilterRules( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $filterRules = [] ): ?Message\ModifyOutgoingFilterRulesResponse { @@ -1725,7 +1725,7 @@ public function modifyServer(string $id, array $attrs = []): ?Message\ModifyServ * {@inheritdoc} */ public function modifySystemRetentionPolicy( - Policy $policy, ?CosSelector $cos = NULL + Policy $policy, ?CosSelector $cos = null ): ?Message\ModifySystemRetentionPolicyResponse { return $this->invoke(new Message\ModifySystemRetentionPolicyRequest($policy, $cos)); @@ -1782,7 +1782,7 @@ public function purgeAccountCalendarCache(string $id): ?Message\PurgeAccountCale /** * {@inheritdoc} */ - public function purgeFreeBusyQueue(?NamedElement $provider = NULL): ?Message\PurgeFreeBusyQueueResponse + public function purgeFreeBusyQueue(?NamedElement $provider = null): ?Message\PurgeFreeBusyQueueResponse { return $this->invoke(new Message\PurgeFreeBusyQueueRequest($provider)); } @@ -1790,7 +1790,7 @@ public function purgeFreeBusyQueue(?NamedElement $provider = NULL): ?Message\Pur /** * {@inheritdoc} */ - public function purgeMessages(?MailboxByAccountIdSelector $mbox = NULL): ?Message\PurgeMessagesResponse + public function purgeMessages(?MailboxByAccountIdSelector $mbox = null): ?Message\PurgeMessagesResponse { return $this->invoke(new Message\PurgeMessagesRequest($mbox)); } @@ -1798,7 +1798,7 @@ public function purgeMessages(?MailboxByAccountIdSelector $mbox = NULL): ?Messag /** * {@inheritdoc} */ - public function pushFreeBusy(?Names $domains = NULL, array $accounts = []): ?Message\PushFreeBusyResponse + public function pushFreeBusy(?Names $domains = null, array $accounts = []): ?Message\PushFreeBusyResponse { return $this->invoke(new Message\PushFreeBusyRequest($domains, $accounts)); } @@ -1806,7 +1806,7 @@ public function pushFreeBusy(?Names $domains = NULL, array $accounts = []): ?Mes /** * {@inheritdoc} */ - public function queryWaitSet(?string $waitSetId = NULL): ?Message\QueryWaitSetResponse + public function queryWaitSet(?string $waitSetId = null): ?Message\QueryWaitSetResponse { return $this->invoke(new Message\QueryWaitSetRequest($waitSetId)); } @@ -1815,7 +1815,7 @@ public function queryWaitSet(?string $waitSetId = NULL): ?Message\QueryWaitSetRe * {@inheritdoc} */ public function recalculateMailboxCounts( - ?MailboxByAccountIdSelector $mbox = NULL + ?MailboxByAccountIdSelector $mbox = null ): ?Message\RecalculateMailboxCountsResponse { return $this->invoke(new Message\RecalculateMailboxCountsRequest($mbox)); @@ -1835,7 +1835,7 @@ public function refreshRegisteredAuthTokens( * {@inheritdoc} */ public function reIndex( - ReindexMailboxInfo $mbox, ?ReIndexAction $action = NULL + ReindexMailboxInfo $mbox, ?ReIndexAction $action = null ): ?Message\ReIndexResponse { return $this->invoke(new Message\ReIndexRequest($mbox, $action)); @@ -1869,7 +1869,7 @@ public function removeAccountAlias(string $id, string $alias): ?Message\RemoveAc * {@inheritdoc} */ public function removeAccountLogger( - ?LoggerInfo $logger = NULL, ?AccountSelector $account = NULL, ?string $id = NULL + ?LoggerInfo $logger = null, ?AccountSelector $account = null, ?string $id = null ): ?Message\RemoveAccountLoggerResponse { return $this->invoke(new Message\RemoveAccountLoggerRequest( @@ -1990,14 +1990,14 @@ public function runUnitTests(array $tests = []): ?Message\RunUnitTestsResponse */ public function searchAccounts( string $query, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $attrs = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $attrs = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null ): ?Message\SearchAccountsResponse { return $this->invoke(new Message\SearchAccountsRequest( @@ -2019,13 +2019,13 @@ public function searchAccounts( public function searchAutoProvDirectory( DomainSelector $domain, string $keyAttr = '', - ?string $query = NULL, - ?string $name = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $refresh = NULL, - ?string $attrs = NULL + ?string $query = null, + ?string $name = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?bool $refresh = null, + ?string $attrs = null ): ?Message\SearchAutoProvDirectoryResponse { return $this->invoke(new Message\SearchAutoProvDirectoryRequest( @@ -2045,14 +2045,14 @@ public function searchAutoProvDirectory( * {@inheritdoc} */ public function searchCalendarResources( - ?EntrySearchFilterInfo $searchFilter = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?EntrySearchFilterInfo $searchFilter = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?string $attrs = null ): ?Message\SearchCalendarResourcesResponse { return $this->invoke(new Message\SearchCalendarResourcesRequest( @@ -2071,18 +2071,18 @@ public function searchCalendarResources( * {@inheritdoc} */ public function searchDirectory( - ?string $query = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?bool $applyConfig = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL, - ?bool $isCountOnly = NULL, - ?string $attrs = NULL + ?string $query = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?bool $applyConfig = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null, + ?bool $isCountOnly = null, + ?string $attrs = null ): ?Message\SearchDirectoryResponse { return $this->invoke(new Message\SearchDirectoryRequest( @@ -2106,10 +2106,10 @@ public function searchDirectory( */ public function searchGal( string $domain, - ?string $name = NULL, - ?int $limit = NULL, - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL + ?string $name = null, + ?int $limit = null, + ?GalSearchType $type = null, + ?string $galAccountId = null ): ?Message\SearchGalResponse { return $this->invoke(new Message\SearchGalRequest( @@ -2137,7 +2137,7 @@ public function setLocalServerOnline(): ?Message\SetLocalServerOnlineResponse * {@inheritdoc} */ public function setPassword( - string $id, string $newPassword, ?bool $dryRun = NULL + string $id, string $newPassword, ?bool $dryRun = null ): ?Message\SetPasswordResponse { return $this->invoke(new Message\SetPasswordRequest($id, $newPassword, $dryRun)); @@ -2147,7 +2147,7 @@ public function setPassword( * {@inheritdoc} */ public function setServerOffline( - ?ServerSelector $server = NULL, ?string $attrs = NULL + ?ServerSelector $server = null, ?string $attrs = null ): ?Message\SetServerOfflineResponse { return $this->invoke(new Message\SetServerOfflineRequest($server, $attrs)); @@ -2164,7 +2164,7 @@ public function syncGalAccount(array $accounts = []): ?Message\SyncGalAccountRes /** * {@inheritdoc} */ - public function undeployZimlet(string $name, ?string $action = NULL): ?Message\UndeployZimletResponse + public function undeployZimlet(string $name, ?string $action = null): ?Message\UndeployZimletResponse { return $this->invoke(new Message\UndeployZimletRequest($name, $action)); } @@ -2172,7 +2172,7 @@ public function undeployZimlet(string $name, ?string $action = NULL): ?Message\U /** * {@inheritdoc} */ - public function verifyIndex(?MailboxByAccountIdSelector $mbox = NULL): ?Message\VerifyIndexResponse + public function verifyIndex(?MailboxByAccountIdSelector $mbox = null): ?Message\VerifyIndexResponse { return $this->invoke(new Message\VerifyIndexRequest($mbox)); } @@ -2181,9 +2181,9 @@ public function verifyIndex(?MailboxByAccountIdSelector $mbox = NULL): ?Message\ * {@inheritdoc} */ public function verifyStoreManager( - ?int $fileSize = NULL, - ?int $num = NULL, - ?bool $checkBlobs = NULL + ?int $fileSize = null, + ?int $num = null, + ?bool $checkBlobs = null ): ?Message\VerifyStoreManagerResponse { return $this->invoke(new Message\VerifyStoreManagerRequest( diff --git a/src/Admin/AdminApiInterface.php b/src/Admin/AdminApiInterface.php index 51703c03f..b85d7dc5f 100644 --- a/src/Admin/AdminApiInterface.php +++ b/src/Admin/AdminApiInterface.php @@ -109,7 +109,7 @@ function addAccountAlias(string $id, string $alias): ?Message\AddAccountAliasRes * @return Message\AddAccountLoggerResponse */ function addAccountLogger( - LoggerInfo $logger, ?AccountSelector $account = NULL, ?string $id = NULL + LoggerInfo $logger, ?AccountSelector $account = null, ?string $id = null ): ?Message\AddAccountLoggerResponse; /** @@ -149,7 +149,7 @@ function addGalSyncDataSource( string $name, string $domain, GalMode $type, - ?string $folder = NULL, + ?string $folder = null, array $attrs = [] ): ?Message\AddGalSyncDataSourceResponse; @@ -164,7 +164,7 @@ function addGalSyncDataSource( * @return Message\AdminCreateWaitSetResponse */ function adminCreateWaitSet( - string $defaultInterests, ?bool $allAccounts = NULL, array $accounts = [] + string $defaultInterests, ?bool $allAccounts = null, array $accounts = [] ): ?Message\AdminCreateWaitSetResponse; /** @@ -194,10 +194,10 @@ function adminDestroyWaitSet(string $waitSetId): ?Message\AdminDestroyWaitSetRes function adminWaitSet( string $waitSetId, string $lastKnownSeqNo, - ?bool $block = NULL, - ?bool $expand = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, + ?bool $block = null, + ?bool $expand = null, + ?string $defaultInterests = null, + ?int $timeout = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] @@ -217,14 +217,14 @@ function adminWaitSet( * @return Message\AuthResponse */ function auth( - ?string $name = NULL, - ?string $password = NULL, - ?string $authToken = NULL, - ?AccountSelector $account = NULL, - ?string $virtualHost = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL + ?string $name = null, + ?string $password = null, + ?string $authToken = null, + ?AccountSelector $account = null, + ?string $virtualHost = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null ): ?Message\AuthResponse; /** @@ -248,9 +248,9 @@ function authByToken(string $authToken): ?Message\AuthResponse; function autoCompleteGal( string $domain, string $name, - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?string $galAccountId = null, + ?int $limit = null ): ?Message\AutoCompleteGalResponse; /** @@ -264,7 +264,7 @@ function autoCompleteGal( function autoProvAccount( DomainSelector $domain, PrincipalSelector $principal, - ?string $password = NULL + ?string $password = null ): ?Message\AutoProvAccountResponse; /** @@ -315,7 +315,7 @@ function checkAuthConfig( * @return Message\CheckBlobConsistencyResponse */ function checkBlobConsistency( - ?bool $checkSize = NULL, ?bool $reportUsedBlobs = NULL, array $volumes = [], array $mailboxes = [] + ?bool $checkSize = null, ?bool $reportUsedBlobs = null, array $volumes = [], array $mailboxes = [] ): ?Message\CheckBlobConsistencyResponse; /** @@ -332,7 +332,7 @@ function checkDirectory(array $paths = []): ?Message\CheckDirectoryResponse; * @param DomainSelector $domain * @return Message\CheckDomainMXRecordResponse */ - function checkDomainMXRecord(DomainSelector $domain = NULL): ?Message\CheckDomainMXRecordResponse; + function checkDomainMXRecord(DomainSelector $domain = null): ?Message\CheckDomainMXRecordResponse; /** * Check Exchange Authorisation @@ -340,7 +340,7 @@ function checkDomainMXRecord(DomainSelector $domain = NULL): ?Message\CheckDomai * @param ExchangeAuthSpec $auth * @return Message\CheckExchangeAuthResponse */ - function checkExchangeAuth(?ExchangeAuthSpec $auth = NULL): ?Message\CheckExchangeAuthResponse; + function checkExchangeAuth(?ExchangeAuthSpec $auth = null): ?Message\CheckExchangeAuthResponse; /** * Check Global Addressbook Configuration @@ -351,7 +351,7 @@ function checkExchangeAuth(?ExchangeAuthSpec $auth = NULL): ?Message\CheckExchan * @return Message\CheckGalConfigResponse */ function checkGalConfig( - ?LimitedQuery $query = NULL, ?string $action = NULL, array $attrs = [] + ?LimitedQuery $query = null, ?string $action = null, array $attrs = [] ): ?Message\CheckGalConfigResponse; /** @@ -367,7 +367,7 @@ function checkHealth(): ?Message\CheckHealthResponse; * @param string $hostname * @return Message\CheckHostnameResolveResponse */ - function checkHostnameResolve(?string $hostname = NULL): ?Message\CheckHostnameResolveResponse; + function checkHostnameResolve(?string $hostname = null): ?Message\CheckHostnameResolveResponse; /** * Check password strength @@ -410,7 +410,7 @@ function clearCookie(array $cookies = []): ?Message\ClearCookieResponse; * @return Message\CompactIndexResponse */ function compactIndex( - MailboxByAccountIdSelector $mbox, ?CompactIndexAction $action = NULL + MailboxByAccountIdSelector $mbox, ?CompactIndexAction $action = null ): ?Message\CompactIndexResponse; /** @@ -435,7 +435,7 @@ function configureZimlet(AttachmentIdAttrib $content): ?Message\ConfigureZimletR * @param ContactBackupOp $op * @return Message\ContactBackupResponse */ - function contactBackup(array $servers = [], ?ContactBackupOp $op = NULL): ?Message\ContactBackupResponse; + function contactBackup(array $servers = [], ?ContactBackupOp $op = null): ?Message\ContactBackupResponse; /** * Copy Class of service (COS) @@ -444,7 +444,7 @@ function contactBackup(array $servers = [], ?ContactBackupOp $op = NULL): ?Messa * @param string $newName * @return Message\CopyCosResponse */ - function copyCos(?CosSelector $cos = NULL, ?string $newName = NULL): ?Message\CopyCosResponse; + function copyCos(?CosSelector $cos = null, ?string $newName = null): ?Message\CopyCosResponse; /** * Count number of accounts by cos in a domain @@ -464,10 +464,10 @@ function countAccount(DomainSelector $domain): ?Message\CountAccountResponse; * @return Message\CountObjectsResponse */ function countObjects( - ?CountObjectsType $type = NULL, + ?CountObjectsType $type = null, array $domains = [], - ?UcServiceSelector $ucService = NULL, - ?bool $onlyRelated = NULL + ?UcServiceSelector $ucService = null, + ?bool $onlyRelated = null ): ?Message\CountObjectsResponse; /** @@ -479,7 +479,7 @@ function countObjects( * @return Message\CreateAccountResponse */ function createAccount( - string $name, ?string $password = NULL, array $attrs = [] + string $name, ?string $password = null, array $attrs = [] ): ?Message\CreateAccountResponse; /** @@ -502,7 +502,7 @@ function createAlwaysOnCluster( * @return Message\CreateCalendarResourceResponse */ function createCalendarResource( - string $name, ?string $password = NULL, array $attrs = [] + string $name, ?string $password = null, array $attrs = [] ): ?Message\CreateCalendarResourceResponse; /** @@ -532,7 +532,7 @@ function createDataSource(DataSourceSpecifier $dataSource, string $id = ''): ?Me * @return Message\CreateDistributionListResponse */ function createDistributionList( - string $name, ?bool $dynamic = NULL, array $attrs = [] + string $name, ?bool $dynamic = null, array $attrs = [] ): ?Message\CreateDistributionListResponse; /** @@ -562,9 +562,9 @@ function createGalSyncAccount( string $name, string $domain, string $mailHost, - ?GalMode $type = NULL, - ?string $password = NULL, - ?string $folder = NULL, + ?GalMode $type = null, + ?string $password = null, + ?string $folder = null, array $attrs = [] ): ?Message\CreateGalSyncAccountResponse; @@ -595,7 +595,7 @@ function createServer(string $name, array $attrs = []): ?Message\CreateServerRes * @return Message\CreateSystemRetentionPolicyResponse */ function createSystemRetentionPolicy( - ?CosSelector $cos = NULL, ?PolicyHolder $keep = NULL, ?PolicyHolder $purge = NULL + ?CosSelector $cos = null, ?PolicyHolder $keep = null, ?PolicyHolder $purge = null ): ?Message\CreateSystemRetentionPolicyResponse; /** @@ -639,7 +639,7 @@ function createZimlet(string $name, array $attrs = []): ?Message\CreateZimletRes * @param array $volumes * @return Message\DedupeBlobsResponse */ - function dedupeBlobs(?DedupAction $action = NULL, array $volumes = []): ?Message\DedupeBlobsResponse; + function dedupeBlobs(?DedupAction $action = null, array $volumes = []): ?Message\DedupeBlobsResponse; /** * Used to request a new auth token that is valid for the specified account. @@ -650,7 +650,7 @@ function dedupeBlobs(?DedupAction $action = NULL, array $volumes = []): ?Message * @param int $duration * @return Message\DelegateAuthResponse */ - function delegateAuth(AccountSelector $account, ?int $duration = NULL): ?Message\DelegateAuthResponse; + function delegateAuth(AccountSelector $account, ?int $duration = null): ?Message\DelegateAuthResponse; /** * Deletes the account with the given id. @@ -704,7 +704,7 @@ function deleteDataSource( * @return Message\DeleteDistributionListResponse */ function deleteDistributionList( - string $id, ?bool $cascadeDelete = NULL + string $id, ?bool $cascadeDelete = null ): ?Message\DeleteDistributionListResponse; /** @@ -738,7 +738,7 @@ function deleteLDAPEntry(string $dn): ?Message\DeleteLDAPEntryResponse; * @return Message\DeleteMailboxResponse */ function deleteMailbox( - ?MailboxByAccountIdSelector $mbox = NULL + ?MailboxByAccountIdSelector $mbox = null ): ?Message\DeleteMailboxResponse; /** @@ -757,7 +757,7 @@ function deleteServer(string $id): ?Message\DeleteServerResponse; * @return Message\DeleteSystemRetentionPolicyResponse */ function deleteSystemRetentionPolicy( - Policy $policy, ?CosSelector $cos = NULL + Policy $policy, ?CosSelector $cos = null ): ?Message\DeleteSystemRetentionPolicyResponse; /** @@ -782,7 +782,7 @@ function deleteVolume(int $id): ?Message\DeleteVolumeResponse; * @param XMPPComponentSelector $component * @return Message\DeleteXMPPComponentResponse */ - function deleteXMPPComponent(?XMPPComponentSelector $component = NULL): ?Message\DeleteXMPPComponentResponse; + function deleteXMPPComponent(?XMPPComponentSelector $component = null): ?Message\DeleteXMPPComponentResponse; /** * Delete a Zimlet @@ -803,9 +803,9 @@ function deleteZimlet(NamedElement $zimlet): ?Message\DeleteZimletResponse; */ function deployZimlet( AttachmentIdAttrib $content, - ?ZimletDeployAction $action = NULL, - ?bool $flushCache = NULL, - ?bool $synchronous = NULL + ?ZimletDeployAction $action = null, + ?bool $flushCache = null, + ?bool $synchronous = null ): ?Message\DeployZimletResponse; /** @@ -816,7 +816,7 @@ function deployZimlet( * @return Message\DumpSessionsResponse */ function dumpSessions( - ?bool $includeAccounts = NULL, ?bool $groupByAccount = NULL + ?bool $includeAccounts = null, ?bool $groupByAccount = null ): ?Message\DumpSessionsResponse; /** @@ -828,7 +828,7 @@ function dumpSessions( * @return Message\ExportAndDeleteItemsResponse */ function exportAndDeleteItems( - ExportAndDeleteMailboxSpec $mailbox, ?string $exportDir = NULL, ?string $exportFilenamePrefix = NULL + ExportAndDeleteMailboxSpec $mailbox, ?string $exportDir = null, ?string $exportFilenamePrefix = null ): ?Message\ExportAndDeleteItemsResponse; /** @@ -838,7 +838,7 @@ function exportAndDeleteItems( * @param array $accounts * @return Message\FixCalendarEndTimeResponse */ - function fixCalendarEndTime(?bool $sync = NULL, array $accounts = []): ?Message\FixCalendarEndTimeResponse; + function fixCalendarEndTime(?bool $sync = null, array $accounts = []): ?Message\FixCalendarEndTimeResponse; /** * Fix Calendar priority @@ -847,7 +847,7 @@ function fixCalendarEndTime(?bool $sync = NULL, array $accounts = []): ?Message\ * @param array $accounts * @return Message\FixCalendarPriorityResponse */ - function fixCalendarPriority(?bool $sync = NULL, array $accounts = []): ?Message\FixCalendarPriorityResponse; + function fixCalendarPriority(?bool $sync = null, array $accounts = []): ?Message\FixCalendarPriorityResponse; /** * Fix timezone definitions in appointments and tasks to reflect changes in daylight savings time rules in various timezones. @@ -859,7 +859,7 @@ function fixCalendarPriority(?bool $sync = NULL, array $accounts = []): ?Message * @return Message\FixCalendarTZResponse */ function fixCalendarTZ( - ?bool $sync = NULL, ?int $after = NULL, array $accounts = [], ?TzFixup $tzFixup = NULL + ?bool $sync = null, ?int $after = null, array $accounts = [], ?TzFixup $tzFixup = null ): ?Message\FixCalendarTZResponse; /** @@ -868,7 +868,7 @@ function fixCalendarTZ( * @param CacheSelector $cache * @return Message\FlushCacheResponse */ - function flushCache(?CacheSelector $cache = NULL): ?Message\FlushCacheResponse; + function flushCache(?CacheSelector $cache = null): ?Message\FlushCacheResponse; /** * Get attributes related to an account @@ -880,7 +880,7 @@ function flushCache(?CacheSelector $cache = NULL): ?Message\FlushCacheResponse; * @return Message\GetAccountResponse */ function getAccount( - AccountSelector $account, ?bool $applyCos = NULL, ?bool $effectiveQuota = NULL, ?string $attrs = NULL + AccountSelector $account, ?bool $applyCos = null, ?bool $effectiveQuota = null, ?string $attrs = null ): ?Message\GetAccountResponse; /** @@ -900,7 +900,7 @@ function getAccountInfo(AccountSelector $account): ?Message\GetAccountInfoRespon * @return Message\GetAccountLoggersResponse */ function getAccountLoggers( - ?string $id = NULL, ?AccountSelector $account = NULL + ?string $id = null, ?AccountSelector $account = null ): ?Message\GetAccountLoggersResponse; /** @@ -919,7 +919,7 @@ function getAccountMembership(AccountSelector $account): ?Message\GetAccountMemb * @return Message\GetAdminConsoleUICompResponse */ function getAdminConsoleUIComp( - ?AccountSelector $account = NULL, ?DistributionListSelector $dl = NULL + ?AccountSelector $account = null, ?DistributionListSelector $dl = null ): ?Message\GetAdminConsoleUICompResponse; /** @@ -959,7 +959,7 @@ function getAllAccountLoggers(): ?Message\GetAllAccountLoggersResponse; * @return Message\GetAllAccountsResponse */ function getAllAccounts( - ?ServerSelector $server = NULL, ?DomainSelector $domain = NULL + ?ServerSelector $server = null, ?DomainSelector $domain = null ): ?Message\GetAllAccountsResponse; /** @@ -975,7 +975,7 @@ function getAllActiveServers(): ?Message\GetAllActiveServersResponse; * @param bool $applyCos * @return Message\GetAllAdminAccountsResponse */ - function getAllAdminAccounts(?bool $applyCos = NULL): ?Message\GetAllAdminAccountsResponse; + function getAllAdminAccounts(?bool $applyCos = null): ?Message\GetAllAdminAccountsResponse; /** * Get all alwaysOnClusters @@ -992,7 +992,7 @@ function getAllAlwaysOnClusters(): ?Message\GetAllAlwaysOnClustersResponse; * @return Message\GetAllCalendarResourcesResponse */ function getAllCalendarResources( - ?ServerSelector $server = NULL, ?DomainSelector $domain = NULL + ?ServerSelector $server = null, ?DomainSelector $domain = null ): ?Message\GetAllCalendarResourcesResponse; /** @@ -1016,7 +1016,7 @@ function getAllCos(): ?Message\GetAllCosResponse; * @return Message\GetAllDistributionListsResponse */ function getAllDistributionLists( - ?DomainSelector $domain = NULL + ?DomainSelector $domain = null ): ?Message\GetAllDistributionListsResponse; /** @@ -1025,7 +1025,7 @@ function getAllDistributionLists( * @param bool $applyConfig * @return Message\GetAllDomainsResponse */ - function getAllDomains(?bool $applyConfig = NULL): ?Message\GetAllDomainsResponse; + function getAllDomains(?bool $applyConfig = null): ?Message\GetAllDomainsResponse; /** * Get all effective Admin rights @@ -1036,7 +1036,7 @@ function getAllDomains(?bool $applyConfig = NULL): ?Message\GetAllDomainsRespons * @return Message\GetAllEffectiveRightsResponse */ function getAllEffectiveRights( - ?GranteeSelector $grantee = NULL, ?bool $expandSetAttrs = NULL, ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, ?bool $expandSetAttrs = null, ?bool $expandGetAttrs = null ): ?Message\GetAllEffectiveRightsResponse; /** @@ -1060,7 +1060,7 @@ function getAllLocales(): ?Message\GetAllLocalesResponse; * @param int $offset * @return Message\GetAllMailboxesResponse */ - function getAllMailboxes(?int $limit = NULL, ?int $offset = NULL): ?Message\GetAllMailboxesResponse; + function getAllMailboxes(?int $limit = null, ?int $offset = null): ?Message\GetAllMailboxesResponse; /** * Get all system defined rights @@ -1071,7 +1071,7 @@ function getAllMailboxes(?int $limit = NULL, ?int $offset = NULL): ?Message\GetA * @return Message\GetAllRightsResponse */ function getAllRights( - ?string $targetType = NULL, ?bool $expandAllAttrs = NULL, ?RightClass $rightClass = NULL + ?string $targetType = null, ?bool $expandAllAttrs = null, ?RightClass $rightClass = null ): ?Message\GetAllRightsResponse; /** @@ -1083,7 +1083,7 @@ function getAllRights( * @return Message\GetAllServersResponse */ function getAllServers( - ?string $service = NULL, ?string $alwaysOnClusterId = NULL, ?bool $applyConfig = NULL + ?string $service = null, ?string $alwaysOnClusterId = null, ?bool $applyConfig = null ): ?Message\GetAllServersResponse; /** @@ -1120,7 +1120,7 @@ function getAllXMPPComponents(): ?Message\GetAllXMPPComponentsResponse; * @param ZimletExcludeType $exclude * @return Message\GetAllZimletsResponse */ - function getAllZimlets(?ZimletExcludeType $exclude = NULL): ?Message\GetAllZimletsResponse; + function getAllZimlets(?ZimletExcludeType $exclude = null): ?Message\GetAllZimletsResponse; /** * Get Always On Cluster @@ -1130,7 +1130,7 @@ function getAllZimlets(?ZimletExcludeType $exclude = NULL): ?Message\GetAllZimle * @return Message\GetAlwaysOnClusterResponse */ function getAlwaysOnCluster( - ?AlwaysOnClusterSelector $cluster = NULL, ?string $attrs = NULL + ?AlwaysOnClusterSelector $cluster = null, ?string $attrs = null ): ?Message\GetAlwaysOnClusterResponse; /** @@ -1141,7 +1141,7 @@ function getAlwaysOnCluster( * @return Message\GetAttributeInfoResponse */ function getAttributeInfo( - ?string $attrs = NULL, ?string $entryTypes = NULL + ?string $attrs = null, ?string $entryTypes = null ): ?Message\GetAttributeInfoResponse; /** @@ -1153,7 +1153,7 @@ function getAttributeInfo( * @return Message\GetCalendarResourceResponse */ function getCalendarResource( - ?CalendarResourceSelector $calResource = NULL, ?bool $applyCos = NULL, ?string $attrs = NULL + ?CalendarResourceSelector $calResource = null, ?bool $applyCos = null, ?string $attrs = null ): ?Message\GetCalendarResourceResponse; /** @@ -1162,7 +1162,7 @@ function getCalendarResource( * @param Attr $attr * @return Message\GetConfigResponse */ - function getConfig(?Attr $attr = NULL): ?Message\GetConfigResponse; + function getConfig(?Attr $attr = null): ?Message\GetConfigResponse; /** * Get Class Of Service (COS) @@ -1171,7 +1171,7 @@ function getConfig(?Attr $attr = NULL): ?Message\GetConfigResponse; * @param string $attrs * @return Message\GetCosResponse */ - function getCos(CosSelector $cos, ?string $attrs = NULL): ?Message\GetCosResponse; + function getCos(CosSelector $cos, ?string $attrs = null): ?Message\GetCosResponse; /** * Returns attributes, with defaults and constraints if any, that can be set by the admin when an object is created. @@ -1182,7 +1182,7 @@ function getCos(CosSelector $cos, ?string $attrs = NULL): ?Message\GetCosRespons * @return Message\GetCreateObjectAttrsResponse */ function getCreateObjectAttrs( - TargetWithType $target, ?DomainSelector $domain = NULL, ?CosSelector $cos = NULL + TargetWithType $target, ?DomainSelector $domain = null, ?CosSelector $cos = null ): ?Message\GetCreateObjectAttrsResponse; /** @@ -1214,7 +1214,7 @@ function getDataSources(string $id, array $attrs = []): ?Message\GetDataSourcesR * @return Message\GetDelegatedAdminConstraintsResponse */ function getDelegatedAdminConstraints( - TargetType $type, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + TargetType $type, ?string $id = null, ?string $name = null, array $attrs = [] ): ?Message\GetDelegatedAdminConstraintsResponse; /** @@ -1228,11 +1228,11 @@ function getDelegatedAdminConstraints( * @return Message\GetDistributionListResponse */ function getDistributionList( - ?DistributionListSelector $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?DistributionListSelector $dl = null, + ?int $limit = null, + ?int $offset = null, + ?bool $sortAscending = null, + ?string $attrs = null ): ?Message\GetDistributionListResponse; /** @@ -1244,9 +1244,9 @@ function getDistributionList( * @return Message\GetDistributionListMembershipResponse */ function getDistributionListMembership( - ?DistributionListSelector $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL + ?DistributionListSelector $dl = null, + ?int $limit = null, + ?int $offset = null ): ?Message\GetDistributionListMembershipResponse; /** @@ -1258,9 +1258,9 @@ function getDistributionListMembership( * @return Message\GetDomainResponse */ function getDomain( - ?DomainSelector $domain = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?DomainSelector $domain = null, + ?bool $applyConfig = null, + ?string $attrs = null ): ?Message\GetDomainResponse; /** @@ -1274,7 +1274,7 @@ function getDomain( * @return Message\GetDomainInfoResponse */ function getDomainInfo( - ?DomainSelector $domain = NULL, ?bool $applyConfig = NULL + ?DomainSelector $domain = null, ?bool $applyConfig = null ): ?Message\GetDomainInfoResponse; /** @@ -1294,9 +1294,9 @@ function getDomainInfo( */ function getEffectiveRights( EffectiveRightsTargetSelector $target, - ?GranteeSelector $grantee = NULL, - ?bool $expandSetAttrs = NULL, - ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, + ?bool $expandSetAttrs = null, + ?bool $expandGetAttrs = null ): ?Message\GetEffectiveRightsResponse; /** @@ -1311,10 +1311,10 @@ function getEffectiveRights( */ function getFilterRules( AdminFilterType $type, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null ): ?Message\GetFilterRulesResponse; /** @@ -1325,7 +1325,7 @@ function getFilterRules( * @param NamedElement $provider * @return Message\GetFreeBusyQueueInfoResponse */ - function getFreeBusyQueueInfo(?NamedElement $provider = NULL): ?Message\GetFreeBusyQueueInfoResponse; + function getFreeBusyQueueInfo(?NamedElement $provider = null): ?Message\GetFreeBusyQueueInfoResponse; /** * Returns all grants on the specified target entry, or all grants granted to the specified grantee entry. @@ -1338,8 +1338,8 @@ function getFreeBusyQueueInfo(?NamedElement $provider = NULL): ?Message\GetFreeB * @return Message\GetGrantsResponse */ function getGrants( - ?EffectiveRightsTargetSelector $target = NULL, - ?GranteeSelector $grantee = NULL + ?EffectiveRightsTargetSelector $target = null, + ?GranteeSelector $grantee = null ): ?Message\GetGrantsResponse; /** @@ -1363,11 +1363,11 @@ function getIndexStats(MailboxByAccountIdSelector $mbox): ?Message\GetIndexStats */ function getLDAPEntries( string $ldapSearchBase, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $query = NULL + ?string $sortBy = null, + ?bool $sortAscending = null, + ?int $limit = null, + ?int $offset = null, + ?string $query = null ): ?Message\GetLDAPEntriesResponse; /** @@ -1392,7 +1392,7 @@ function getLicenseInfo(): ?Message\GetLicenseInfoResponse; * @return Message\GetLoggerStatsResponse */ function getLoggerStats( - ?HostName $hostName = NULL, ?StatsSpec $stats = NULL, ?TimeAttr $startTime = NULL, ?TimeAttr $endTime = NULL + ?HostName $hostName = null, ?StatsSpec $stats = null, ?TimeAttr $startTime = null, ?TimeAttr $endTime = null ): ?Message\GetLoggerStatsResponse; /** @@ -1401,7 +1401,7 @@ function getLoggerStats( * @param MailboxByAccountIdSelector $mbox * @return Message\GetMailboxResponse */ - function getMailbox(?MailboxByAccountIdSelector $mbox = NULL): ?Message\GetMailboxResponse; + function getMailbox(?MailboxByAccountIdSelector $mbox = null): ?Message\GetMailboxResponse; /** * Get MailBox Statistics @@ -1453,13 +1453,13 @@ function getOutgoingFilterRules(): ?Message\GetOutgoingFilterRulesResponse; * @return Message\GetQuotaUsageResponse */ function getQuotaUsage( - ?string $domain = NULL, - ?bool $allServers = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?bool $refresh = NULL + ?string $domain = null, + ?bool $allServers = null, + ?int $limit = null, + ?int $offset = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?bool $refresh = null ): ?Message\GetQuotaUsageResponse; /** @@ -1469,7 +1469,7 @@ function getQuotaUsage( * @param bool $expandAllAttrs * @return Message\GetRightResponse */ - function getRight(string $right, ?bool $expandAllAttrs = NULL): ?Message\GetRightResponse; + function getRight(string $right, ?bool $expandAllAttrs = null): ?Message\GetRightResponse; /** * Get Rights Document @@ -1488,9 +1488,9 @@ function getRightsDoc(array $pkgs = []): ?Message\GetRightsDocResponse; * @return Message\GetServerResponse */ function getServer( - ?ServerSelector $server = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?ServerSelector $server = null, + ?bool $applyConfig = null, + ?string $attrs = null ): ?Message\GetServerResponse; /** @@ -1500,7 +1500,7 @@ function getServer( * @param IpType $type * @return Message\GetServerNIfsResponse */ - function getServerNIfs(ServerSelector $server, ?IpType $type = NULL): ?Message\GetServerNIfsResponse; + function getServerNIfs(ServerSelector $server, ?IpType $type = null): ?Message\GetServerNIfsResponse; /** * Returns server monitoring stats. @@ -1531,10 +1531,10 @@ function getServiceStatus(): ?Message\GetServiceStatusResponse; */ function getSessions( SessionType $type, - ?GetSessionsSortBy $sortBy = NULL, - ?int $offset = NULL, - ?int $limit = NULL, - ?bool $refresh = NULL + ?GetSessionsSortBy $sortBy = null, + ?int $offset = null, + ?int $limit = null, + ?bool $refresh = null ): ?Message\GetSessionsResponse; /** @@ -1545,7 +1545,7 @@ function getSessions( * @return Message\GetShareInfoResponse */ function getShareInfo( - AccountSelector $owner, ?GranteeChooser $grantee = NULL + AccountSelector $owner, ?GranteeChooser $grantee = null ): ?Message\GetShareInfoResponse; /** @@ -1556,7 +1556,7 @@ function getShareInfo( * @param CosSelector $cos * @return Message\GetSystemRetentionPolicyResponse */ - function getSystemRetentionPolicy(?CosSelector $cos = NULL): ?Message\GetSystemRetentionPolicyResponse; + function getSystemRetentionPolicy(?CosSelector $cos = null): ?Message\GetSystemRetentionPolicyResponse; /** * Get UC Service @@ -1565,7 +1565,7 @@ function getSystemRetentionPolicy(?CosSelector $cos = NULL): ?Message\GetSystemR * @param string $attrs * @return Message\GetUCServiceResponse */ - function getUCService(UcServiceSelector $ucService, ?string $attrs = NULL): ?Message\GetUCServiceResponse; + function getUCService(UcServiceSelector $ucService, ?string $attrs = null): ?Message\GetUCServiceResponse; /** * Get version information @@ -1590,7 +1590,7 @@ function getVolume(int $id): ?Message\GetVolumeResponse; * @return Message\GetXMPPComponentResponse */ function getXMPPComponent( - XMPPComponentSelector $component, ?string $attrs = NULL + XMPPComponentSelector $component, ?string $attrs = null ): ?Message\GetXMPPComponentResponse; /** @@ -1600,7 +1600,7 @@ function getXMPPComponent( * @param string $attrs * @return Message\GetZimletResponse */ - function getZimlet(NamedElement $zimlet, ?string $attrs = NULL): ?Message\GetZimletResponse; + function getZimlet(NamedElement $zimlet, ?string $attrs = null): ?Message\GetZimletResponse; /** * Get status for Zimlets @@ -1631,7 +1631,7 @@ function grantRight( * @return Message\LockoutMailboxResponse */ function lockoutMailbox( - AccountNameSelector $account, ?LockoutOperation $operation = NULL + AccountNameSelector $account, ?LockoutOperation $operation = null ): ?Message\LockoutMailboxResponse; /** @@ -1738,7 +1738,7 @@ function modifyDataSource( * @return Message\ModifyDelegatedAdminConstraintsResponse */ function modifyDelegatedAdminConstraints( - ?TargetType $type = NULL, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + ?TargetType $type = null, ?string $id = null, ?string $name = null, array $attrs = [] ): ?Message\ModifyDelegatedAdminConstraintsResponse; /** @@ -1771,11 +1771,11 @@ function modifyDomain(string $id, array $attrs = []): ?Message\ModifyDomainRespo * @return Message\ModifyFilterRulesResponse */ function modifyFilterRules( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $filterRules = [] ): ?Message\ModifyFilterRulesResponse; @@ -1800,11 +1800,11 @@ function modifyLDAPEntry(string $dn, array $attrs = []): ?Message\ModifyLDAPEntr * @return Message\ModifyOutgoingFilterRulesResponse */ function modifyOutgoingFilterRules( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $filterRules = [] ): ?Message\ModifyOutgoingFilterRulesResponse; @@ -1825,7 +1825,7 @@ function modifyServer(string $id, array $attrs = []): ?Message\ModifyServerRespo * @return Message\ModifySystemRetentionPolicyResponse */ function modifySystemRetentionPolicy( - Policy $policy, ?CosSelector $cos = NULL + Policy $policy, ?CosSelector $cos = null ): ?Message\ModifySystemRetentionPolicyResponse; /** @@ -1881,7 +1881,7 @@ function purgeAccountCalendarCache(string $id): ?Message\PurgeAccountCalendarCac * @param NamedElement $provider * @return Message\PurgeFreeBusyQueueResponse */ - function purgeFreeBusyQueue(?NamedElement $provider = NULL): ?Message\PurgeFreeBusyQueueResponse; + function purgeFreeBusyQueue(?NamedElement $provider = null): ?Message\PurgeFreeBusyQueueResponse; /** * Purges aged messages out of trash, spam, and entire mailbox @@ -1889,7 +1889,7 @@ function purgeFreeBusyQueue(?NamedElement $provider = NULL): ?Message\PurgeFreeB * @param MailboxByAccountIdSelector $mbox * @return Message\PurgeMessagesResponse */ - function purgeMessages(?MailboxByAccountIdSelector $mbox = NULL): ?Message\PurgeMessagesResponse; + function purgeMessages(?MailboxByAccountIdSelector $mbox = null): ?Message\PurgeMessagesResponse; /** * Push Free/Busy. @@ -1899,7 +1899,7 @@ function purgeMessages(?MailboxByAccountIdSelector $mbox = NULL): ?Message\Purge * @param array $accounts * @return Message\PushFreeBusyResponse */ - function pushFreeBusy(?Names $domains = NULL, array $accounts = []): ?Message\PushFreeBusyResponse; + function pushFreeBusy(?Names $domains = null, array $accounts = []): ?Message\PushFreeBusyResponse; /** * Query WaitSet @@ -1907,7 +1907,7 @@ function pushFreeBusy(?Names $domains = NULL, array $accounts = []): ?Message\Pu * @param string $waitSetId * @return Message\QueryWaitSetResponse */ - function queryWaitSet(?string $waitSetId = NULL): ?Message\QueryWaitSetResponse; + function queryWaitSet(?string $waitSetId = null): ?Message\QueryWaitSetResponse; /** * Recalculate Mailbox counts. @@ -1916,7 +1916,7 @@ function queryWaitSet(?string $waitSetId = NULL): ?Message\QueryWaitSetResponse; * @return Message\RecalculateMailboxCountsResponse */ function recalculateMailboxCounts( - ?MailboxByAccountIdSelector $mbox = NULL + ?MailboxByAccountIdSelector $mbox = null ): ?Message\RecalculateMailboxCountsResponse; /** @@ -1937,7 +1937,7 @@ function refreshRegisteredAuthTokens( * @return Message\ReIndexResponse */ function reIndex( - ReindexMailboxInfo $mbox, ?ReIndexAction $action = NULL + ReindexMailboxInfo $mbox, ?ReIndexAction $action = null ): ?Message\ReIndexResponse; /** @@ -1978,7 +1978,7 @@ function removeAccountAlias(string $id, string $alias): ?Message\RemoveAccountAl * @return Message\RemoveAccountLoggerResponse */ function removeAccountLogger( - ?LoggerInfo $logger = NULL, ?AccountSelector $account = NULL, ?string $id = NULL + ?LoggerInfo $logger = null, ?AccountSelector $account = null, ?string $id = null ): ?Message\RemoveAccountLoggerResponse; /** @@ -2113,14 +2113,14 @@ function runUnitTests(array $tests = []): ?Message\RunUnitTestsResponse; */ function searchAccounts( string $query, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $attrs = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $attrs = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null ): ?Message\SearchAccountsResponse; /** @@ -2140,13 +2140,13 @@ function searchAccounts( function searchAutoProvDirectory( DomainSelector $domain, string $keyAttr = '', - ?string $query = NULL, - ?string $name = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $refresh = NULL, - ?string $attrs = NULL + ?string $query = null, + ?string $name = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?bool $refresh = null, + ?string $attrs = null ): ?Message\SearchAutoProvDirectoryResponse; /** @@ -2163,14 +2163,14 @@ function searchAutoProvDirectory( * @return Message\SearchCalendarResourcesResponse */ function searchCalendarResources( - ?EntrySearchFilterInfo $searchFilter = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?EntrySearchFilterInfo $searchFilter = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?string $attrs = null ): ?Message\SearchCalendarResourcesResponse; /** @@ -2191,18 +2191,18 @@ function searchCalendarResources( * @return Message\SearchDirectoryResponse */ function searchDirectory( - ?string $query = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?bool $applyConfig = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL, - ?bool $isCountOnly = NULL, - ?string $attrs = NULL + ?string $query = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?bool $applyConfig = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null, + ?bool $isCountOnly = null, + ?string $attrs = null ): ?Message\SearchDirectoryResponse; /** @@ -2217,10 +2217,10 @@ function searchDirectory( */ function searchGal( string $domain, - ?string $name = NULL, - ?int $limit = NULL, - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL + ?string $name = null, + ?int $limit = null, + ?GalSearchType $type = null, + ?string $galAccountId = null ): ?Message\SearchGalResponse; /** @@ -2248,7 +2248,7 @@ function setLocalServerOnline(): ?Message\SetLocalServerOnlineResponse; * @return Message\SetPasswordResponse */ function setPassword( - string $id, string $newPassword, ?bool $dryRun = NULL + string $id, string $newPassword, ?bool $dryRun = null ): ?Message\SetPasswordResponse; /** @@ -2259,7 +2259,7 @@ function setPassword( * @return Message\SetServerOfflineResponse */ function setServerOffline( - ?ServerSelector $server = NULL, ?string $attrs = NULL + ?ServerSelector $server = null, ?string $attrs = null ): ?Message\SetServerOfflineResponse; /** @@ -2281,7 +2281,7 @@ function syncGalAccount(array $accounts = []): ?Message\SyncGalAccountResponse; * @param string $action * @return Message\UndeployZimletResponse */ - function undeployZimlet(string $name, ?string $action = NULL): ?Message\UndeployZimletResponse; + function undeployZimlet(string $name, ?string $action = null): ?Message\UndeployZimletResponse; /** * Verify index @@ -2289,7 +2289,7 @@ function undeployZimlet(string $name, ?string $action = NULL): ?Message\Undeploy * @param MailboxByAccountIdSelector $mbox * @return Message\VerifyIndexResponse */ - function verifyIndex(?MailboxByAccountIdSelector $mbox = NULL): ?Message\VerifyIndexResponse; + function verifyIndex(?MailboxByAccountIdSelector $mbox = null): ?Message\VerifyIndexResponse; /** * Verify Store Manager @@ -2300,8 +2300,8 @@ function verifyIndex(?MailboxByAccountIdSelector $mbox = NULL): ?Message\VerifyI * @return Message\VerifyStoreManagerResponse */ function verifyStoreManager( - ?int $fileSize = NULL, - ?int $num = NULL, - ?bool $checkBlobs = NULL + ?int $fileSize = null, + ?int $num = null, + ?bool $checkBlobs = null ): ?Message\VerifyStoreManagerResponse; } diff --git a/src/Admin/Message/AddAccountAliasBody.php b/src/Admin/Message/AddAccountAliasBody.php index 064d87071..4166df074 100644 --- a/src/Admin/Message/AddAccountAliasBody.php +++ b/src/Admin/Message/AddAccountAliasBody.php @@ -33,7 +33,7 @@ class AddAccountAliasBody extends SoapBody #[SerializedName('AddAccountAliasRequest')] #[Type(AddAccountAliasRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddAccountAliasBody extends SoapBody #[SerializedName('AddAccountAliasResponse')] #[Type(AddAccountAliasResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddAccountAliasBody extends SoapBody * @return self */ public function __construct( - ?AddAccountAliasRequest $request = NULL, ?AddAccountAliasResponse $response = NULL + ?AddAccountAliasRequest $request = null, ?AddAccountAliasResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AddAccountAliasEnvelope.php b/src/Admin/Message/AddAccountAliasEnvelope.php index 5610a263d..54c963354 100644 --- a/src/Admin/Message/AddAccountAliasEnvelope.php +++ b/src/Admin/Message/AddAccountAliasEnvelope.php @@ -35,7 +35,7 @@ class AddAccountAliasEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddAccountAliasBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddAccountAliasEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddAccountAliasBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddAccountAliasBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AddAccountLoggerBody.php b/src/Admin/Message/AddAccountLoggerBody.php index 540d953c8..84199b29e 100644 --- a/src/Admin/Message/AddAccountLoggerBody.php +++ b/src/Admin/Message/AddAccountLoggerBody.php @@ -33,7 +33,7 @@ class AddAccountLoggerBody extends SoapBody #[SerializedName('AddAccountLoggerRequest')] #[Type(AddAccountLoggerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddAccountLoggerBody extends SoapBody #[SerializedName('AddAccountLoggerResponse')] #[Type(AddAccountLoggerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddAccountLoggerBody extends SoapBody * @return self */ public function __construct( - ?AddAccountLoggerRequest $request = NULL, ?AddAccountLoggerResponse $response = NULL + ?AddAccountLoggerRequest $request = null, ?AddAccountLoggerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AddAccountLoggerEnvelope.php b/src/Admin/Message/AddAccountLoggerEnvelope.php index da176d40a..94b4355fa 100644 --- a/src/Admin/Message/AddAccountLoggerEnvelope.php +++ b/src/Admin/Message/AddAccountLoggerEnvelope.php @@ -35,7 +35,7 @@ class AddAccountLoggerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddAccountLoggerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddAccountLoggerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddAccountLoggerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddAccountLoggerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AddAccountLoggerRequest.php b/src/Admin/Message/AddAccountLoggerRequest.php index d47b0ce84..c6b048491 100644 --- a/src/Admin/Message/AddAccountLoggerRequest.php +++ b/src/Admin/Message/AddAccountLoggerRequest.php @@ -71,12 +71,12 @@ class AddAccountLoggerRequest extends SoapRequest * @return self */ public function __construct( - LoggerInfo $logger, ?AccountSelector $account = NULL, ?string $id = NULL + LoggerInfo $logger, ?AccountSelector $account = null, ?string $id = null ) { $this->setLogger($logger); $this->account = $account; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Admin/Message/AddDistributionListAliasBody.php b/src/Admin/Message/AddDistributionListAliasBody.php index 4511042fc..aff5d5c05 100644 --- a/src/Admin/Message/AddDistributionListAliasBody.php +++ b/src/Admin/Message/AddDistributionListAliasBody.php @@ -33,7 +33,7 @@ class AddDistributionListAliasBody extends SoapBody #[SerializedName('AddDistributionListAliasRequest')] #[Type(AddDistributionListAliasRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddDistributionListAliasBody extends SoapBody #[SerializedName('AddDistributionListAliasResponse')] #[Type(AddDistributionListAliasResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddDistributionListAliasBody extends SoapBody * @return self */ public function __construct( - ?AddDistributionListAliasRequest $request = NULL, ?AddDistributionListAliasResponse $response = NULL + ?AddDistributionListAliasRequest $request = null, ?AddDistributionListAliasResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AddDistributionListAliasEnvelope.php b/src/Admin/Message/AddDistributionListAliasEnvelope.php index 3b85c7a46..5df7c282a 100644 --- a/src/Admin/Message/AddDistributionListAliasEnvelope.php +++ b/src/Admin/Message/AddDistributionListAliasEnvelope.php @@ -35,7 +35,7 @@ class AddDistributionListAliasEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddDistributionListAliasBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddDistributionListAliasEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddDistributionListAliasBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddDistributionListAliasBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AddDistributionListMemberBody.php b/src/Admin/Message/AddDistributionListMemberBody.php index 86a6f473b..0d6716334 100644 --- a/src/Admin/Message/AddDistributionListMemberBody.php +++ b/src/Admin/Message/AddDistributionListMemberBody.php @@ -33,7 +33,7 @@ class AddDistributionListMemberBody extends SoapBody #[SerializedName('AddDistributionListMemberRequest')] #[Type(AddDistributionListMemberRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddDistributionListMemberBody extends SoapBody #[SerializedName('AddDistributionListMemberResponse')] #[Type(AddDistributionListMemberResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddDistributionListMemberBody extends SoapBody * @return self */ public function __construct( - ?AddDistributionListMemberRequest $request = NULL, ?AddDistributionListMemberResponse $response = NULL + ?AddDistributionListMemberRequest $request = null, ?AddDistributionListMemberResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AddDistributionListMemberEnvelope.php b/src/Admin/Message/AddDistributionListMemberEnvelope.php index 5d0a46c93..b2bf5bbbe 100644 --- a/src/Admin/Message/AddDistributionListMemberEnvelope.php +++ b/src/Admin/Message/AddDistributionListMemberEnvelope.php @@ -35,7 +35,7 @@ class AddDistributionListMemberEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddDistributionListMemberBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddDistributionListMemberEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddDistributionListMemberBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddDistributionListMemberBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AddGalSyncDataSourceBody.php b/src/Admin/Message/AddGalSyncDataSourceBody.php index 87017fc8e..2c6f26e89 100644 --- a/src/Admin/Message/AddGalSyncDataSourceBody.php +++ b/src/Admin/Message/AddGalSyncDataSourceBody.php @@ -33,7 +33,7 @@ class AddGalSyncDataSourceBody extends SoapBody #[SerializedName('AddGalSyncDataSourceRequest')] #[Type(AddGalSyncDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddGalSyncDataSourceBody extends SoapBody #[SerializedName('AddGalSyncDataSourceResponse')] #[Type(AddGalSyncDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddGalSyncDataSourceBody extends SoapBody * @return self */ public function __construct( - ?AddGalSyncDataSourceRequest $request = NULL, ?AddGalSyncDataSourceResponse $response = NULL + ?AddGalSyncDataSourceRequest $request = null, ?AddGalSyncDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AddGalSyncDataSourceEnvelope.php b/src/Admin/Message/AddGalSyncDataSourceEnvelope.php index 184d50bcf..42797f53d 100644 --- a/src/Admin/Message/AddGalSyncDataSourceEnvelope.php +++ b/src/Admin/Message/AddGalSyncDataSourceEnvelope.php @@ -35,7 +35,7 @@ class AddGalSyncDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddGalSyncDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddGalSyncDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddGalSyncDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddGalSyncDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AddGalSyncDataSourceRequest.php b/src/Admin/Message/AddGalSyncDataSourceRequest.php index 90c958738..32112cc99 100644 --- a/src/Admin/Message/AddGalSyncDataSourceRequest.php +++ b/src/Admin/Message/AddGalSyncDataSourceRequest.php @@ -97,8 +97,8 @@ public function __construct( AccountSelector $account, string $name = '', string $domain = '', - ?GalMode $type = NULL, - ?string $folder = NULL, + ?GalMode $type = null, + ?string $folder = null, array $attrs = [] ) { @@ -106,7 +106,7 @@ public function __construct( ->setName($name) ->setDomain($domain) ->setType($type ?? GalMode::BOTH); - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } $this->setAttrs($attrs); diff --git a/src/Admin/Message/AddGalSyncDataSourceResponse.php b/src/Admin/Message/AddGalSyncDataSourceResponse.php index 757c2d9a0..752d3226c 100644 --- a/src/Admin/Message/AddGalSyncDataSourceResponse.php +++ b/src/Admin/Message/AddGalSyncDataSourceResponse.php @@ -42,7 +42,7 @@ class AddGalSyncDataSourceResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/AdminCreateWaitSetBody.php b/src/Admin/Message/AdminCreateWaitSetBody.php index 2779feedf..01e55ff51 100644 --- a/src/Admin/Message/AdminCreateWaitSetBody.php +++ b/src/Admin/Message/AdminCreateWaitSetBody.php @@ -33,7 +33,7 @@ class AdminCreateWaitSetBody extends SoapBody #[SerializedName('AdminCreateWaitSetRequest')] #[Type(AdminCreateWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AdminCreateWaitSetBody extends SoapBody #[SerializedName('AdminCreateWaitSetResponse')] #[Type(AdminCreateWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AdminCreateWaitSetBody extends SoapBody * @return self */ public function __construct( - ?AdminCreateWaitSetRequest $request = NULL, ?AdminCreateWaitSetResponse $response = NULL + ?AdminCreateWaitSetRequest $request = null, ?AdminCreateWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AdminCreateWaitSetEnvelope.php b/src/Admin/Message/AdminCreateWaitSetEnvelope.php index 7ec5e65d4..7c89f467f 100644 --- a/src/Admin/Message/AdminCreateWaitSetEnvelope.php +++ b/src/Admin/Message/AdminCreateWaitSetEnvelope.php @@ -35,7 +35,7 @@ class AdminCreateWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AdminCreateWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AdminCreateWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AdminCreateWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AdminCreateWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AdminCreateWaitSetRequest.php b/src/Admin/Message/AdminCreateWaitSetRequest.php index a9a20b4bd..23b048c4a 100644 --- a/src/Admin/Message/AdminCreateWaitSetRequest.php +++ b/src/Admin/Message/AdminCreateWaitSetRequest.php @@ -71,13 +71,13 @@ class AdminCreateWaitSetRequest extends SoapRequest */ public function __construct( string $defaultInterests = '', - ?bool $allAccounts = NULL, + ?bool $allAccounts = null, array $accounts = [] ) { $this->setDefaultInterests($defaultInterests) ->setAccounts($accounts); - if (NULL !== $allAccounts) { + if (null !== $allAccounts) { $this->setAllAccounts($allAccounts); } } diff --git a/src/Admin/Message/AdminDestroyWaitSetBody.php b/src/Admin/Message/AdminDestroyWaitSetBody.php index 92bf8031b..497676707 100644 --- a/src/Admin/Message/AdminDestroyWaitSetBody.php +++ b/src/Admin/Message/AdminDestroyWaitSetBody.php @@ -33,7 +33,7 @@ class AdminDestroyWaitSetBody extends SoapBody #[SerializedName('AdminDestroyWaitSetRequest')] #[Type(AdminDestroyWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AdminDestroyWaitSetBody extends SoapBody #[SerializedName('AdminDestroyWaitSetResponse')] #[Type(AdminDestroyWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AdminDestroyWaitSetBody extends SoapBody * @return self */ public function __construct( - ?AdminDestroyWaitSetRequest $request = NULL, ?AdminDestroyWaitSetResponse $response = NULL + ?AdminDestroyWaitSetRequest $request = null, ?AdminDestroyWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AdminDestroyWaitSetEnvelope.php b/src/Admin/Message/AdminDestroyWaitSetEnvelope.php index 028d3e5e9..3b4819409 100644 --- a/src/Admin/Message/AdminDestroyWaitSetEnvelope.php +++ b/src/Admin/Message/AdminDestroyWaitSetEnvelope.php @@ -35,7 +35,7 @@ class AdminDestroyWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AdminDestroyWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AdminDestroyWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AdminDestroyWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AdminDestroyWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AdminWaitSetBody.php b/src/Admin/Message/AdminWaitSetBody.php index e81f144ac..8358c4fb4 100644 --- a/src/Admin/Message/AdminWaitSetBody.php +++ b/src/Admin/Message/AdminWaitSetBody.php @@ -33,7 +33,7 @@ class AdminWaitSetBody extends SoapBody #[SerializedName('AdminWaitSetRequest')] #[Type(AdminWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AdminWaitSetBody extends SoapBody #[SerializedName('AdminWaitSetResponse')] #[Type(AdminWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AdminWaitSetBody extends SoapBody * @return self */ public function __construct( - ?AdminWaitSetRequest $request = NULL, ?AdminWaitSetResponse $response = NULL + ?AdminWaitSetRequest $request = null, ?AdminWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AdminWaitSetEnvelope.php b/src/Admin/Message/AdminWaitSetEnvelope.php index ebc8ffed9..493e0862c 100644 --- a/src/Admin/Message/AdminWaitSetEnvelope.php +++ b/src/Admin/Message/AdminWaitSetEnvelope.php @@ -36,7 +36,7 @@ class AdminWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AdminWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class AdminWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AdminWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AdminWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AdminWaitSetRequest.php b/src/Admin/Message/AdminWaitSetRequest.php index 156ae84f6..c8e86ca0c 100644 --- a/src/Admin/Message/AdminWaitSetRequest.php +++ b/src/Admin/Message/AdminWaitSetRequest.php @@ -157,10 +157,10 @@ class AdminWaitSetRequest extends SoapRequest public function __construct( string $waitSetId = '', string $lastKnownSeqNo = '', - ?bool $block = NULL, - ?bool $expand = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, + ?bool $block = null, + ?bool $expand = null, + ?string $defaultInterests = null, + ?int $timeout = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] @@ -171,16 +171,16 @@ public function __construct( ->setAddAccounts($addAccounts) ->setUpdateAccounts($updateAccounts) ->setRemoveAccounts($removeAccounts); - if (NULL !== $block) { + if (null !== $block) { $this->setBlock($block); } - if (NULL !== $expand) { + if (null !== $expand) { $this->setExpand($expand); } - if (NULL !== $defaultInterests) { + if (null !== $defaultInterests) { $this->setDefaultInterests($defaultInterests); } - if (NULL !== $timeout) { + if (null !== $timeout) { $this->setTimeout($timeout); } } diff --git a/src/Admin/Message/AdminWaitSetResponse.php b/src/Admin/Message/AdminWaitSetResponse.php index 8a97de57c..b89ede6bc 100644 --- a/src/Admin/Message/AdminWaitSetResponse.php +++ b/src/Admin/Message/AdminWaitSetResponse.php @@ -90,8 +90,8 @@ class AdminWaitSetResponse extends SoapResponse */ public function __construct( string $waitSetId = '', - ?bool $canceled = NULL, - ?string $seqNo = NULL, + ?bool $canceled = null, + ?string $seqNo = null, array $signalledAccounts = [], array $errors = [] ) @@ -99,10 +99,10 @@ public function __construct( $this->setWaitSetId($waitSetId) ->setSignalledAccounts($signalledAccounts) ->setErrors($errors); - if (NULL !== $canceled) { + if (null !== $canceled) { $this->setCanceled($canceled); } - if (NULL !== $seqNo) { + if (null !== $seqNo) { $this->setSeqNo($seqNo); } } diff --git a/src/Admin/Message/AuthBody.php b/src/Admin/Message/AuthBody.php index 11704f283..b483b98d6 100644 --- a/src/Admin/Message/AuthBody.php +++ b/src/Admin/Message/AuthBody.php @@ -33,7 +33,7 @@ class AuthBody extends SoapBody #[SerializedName('AuthRequest')] #[Type(AuthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AuthBody extends SoapBody #[SerializedName('AuthResponse')] #[Type(AuthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AuthBody extends SoapBody * @return self */ public function __construct( - ?AuthRequest $request = NULL, ?AuthResponse $response = NULL + ?AuthRequest $request = null, ?AuthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AuthEnvelope.php b/src/Admin/Message/AuthEnvelope.php index 5ffcb3664..2626281c8 100644 --- a/src/Admin/Message/AuthEnvelope.php +++ b/src/Admin/Message/AuthEnvelope.php @@ -35,7 +35,7 @@ class AuthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AuthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AuthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AuthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AuthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AuthRequest.php b/src/Admin/Message/AuthRequest.php index bd3757c72..1ecb54f89 100644 --- a/src/Admin/Message/AuthRequest.php +++ b/src/Admin/Message/AuthRequest.php @@ -127,36 +127,36 @@ class AuthRequest extends SoapRequest * @return self */ public function __construct( - ?string $name = NULL, - ?string $password = NULL, - ?string $authToken = NULL, - ?AccountSelector $account = NULL, - ?string $virtualHost = NULL, - ?bool $persistAuthTokenCookie = NULL, - ?bool $csrfSupported = NULL, - ?string $twoFactorCode = NULL + ?string $name = null, + ?string $password = null, + ?string $authToken = null, + ?AccountSelector $account = null, + ?string $virtualHost = null, + ?bool $persistAuthTokenCookie = null, + ?bool $csrfSupported = null, + ?string $twoFactorCode = null ) { $this->account = $account; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $password){ + if (null !== $password){ $this->setPassword($password); } - if (NULL !== $authToken) { + if (null !== $authToken) { $this->setAuthToken($authToken); } - if (NULL !== $virtualHost) { + if (null !== $virtualHost) { $this->setVirtualHost($virtualHost); } - if (NULL !== $persistAuthTokenCookie) { + if (null !== $persistAuthTokenCookie) { $this->setPersistAuthTokenCookie($persistAuthTokenCookie); } - if (NULL !== $csrfSupported) { + if (null !== $csrfSupported) { $this->setCsrfSupported($csrfSupported); } - if (NULL !== $twoFactorCode) { + if (null !== $twoFactorCode) { $this->setTwoFactorCode($twoFactorCode); } } diff --git a/src/Admin/Message/AuthResponse.php b/src/Admin/Message/AuthResponse.php index 7274f5b90..e6229d892 100644 --- a/src/Admin/Message/AuthResponse.php +++ b/src/Admin/Message/AuthResponse.php @@ -79,22 +79,22 @@ class AuthResponse extends SoapResponse * @return self */ public function __construct( - ?string $authToken = NULL, - ?string $csrfToken = NULL, - ?int $lifetime = NULL, - ?bool $twoFactorAuthRequired = NULL + ?string $authToken = null, + ?string $csrfToken = null, + ?int $lifetime = null, + ?bool $twoFactorAuthRequired = null ) { - if (NULL !== $authToken) { + if (null !== $authToken) { $this->setAuthToken($authToken); } - if (NULL !== $csrfToken) { + if (null !== $csrfToken) { $this->setCsrfToken($csrfToken); } - if (NULL !== $lifetime) { + if (null !== $lifetime) { $this->setLifetime($lifetime); } - if (NULL !== $twoFactorAuthRequired) { + if (null !== $twoFactorAuthRequired) { $this->setTwoFactorAuthRequired($twoFactorAuthRequired); } } diff --git a/src/Admin/Message/AutoCompleteGalBody.php b/src/Admin/Message/AutoCompleteGalBody.php index 949384bb2..da0df5f70 100644 --- a/src/Admin/Message/AutoCompleteGalBody.php +++ b/src/Admin/Message/AutoCompleteGalBody.php @@ -33,7 +33,7 @@ class AutoCompleteGalBody extends SoapBody #[SerializedName('AutoCompleteGalRequest')] #[Type(AutoCompleteGalRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AutoCompleteGalBody extends SoapBody #[SerializedName('AutoCompleteGalResponse')] #[Type(AutoCompleteGalResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AutoCompleteGalBody extends SoapBody * @return self */ public function __construct( - ?AutoCompleteGalRequest $request = NULL, ?AutoCompleteGalResponse $response = NULL + ?AutoCompleteGalRequest $request = null, ?AutoCompleteGalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AutoCompleteGalEnvelope.php b/src/Admin/Message/AutoCompleteGalEnvelope.php index be8666d6f..fb3b9f83a 100644 --- a/src/Admin/Message/AutoCompleteGalEnvelope.php +++ b/src/Admin/Message/AutoCompleteGalEnvelope.php @@ -35,7 +35,7 @@ class AutoCompleteGalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AutoCompleteGalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AutoCompleteGalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AutoCompleteGalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AutoCompleteGalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AutoCompleteGalRequest.php b/src/Admin/Message/AutoCompleteGalRequest.php index c70ac12d1..8166c31f6 100644 --- a/src/Admin/Message/AutoCompleteGalRequest.php +++ b/src/Admin/Message/AutoCompleteGalRequest.php @@ -93,18 +93,18 @@ class AutoCompleteGalRequest extends SoapRequest public function __construct( string $domain = '', string $name = '', - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL, - ?int $limit = NULL + ?GalSearchType $type = null, + ?string $galAccountId = null, + ?int $limit = null ) { $this->setDomain($domain) ->setName($name); $this->type = $type; - if (NULL !== $galAccountId) { + if (null !== $galAccountId) { $this->setGalAccountId($galAccountId); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } } diff --git a/src/Admin/Message/AutoCompleteGalResponse.php b/src/Admin/Message/AutoCompleteGalResponse.php index ecc7b9127..18a3027ed 100644 --- a/src/Admin/Message/AutoCompleteGalResponse.php +++ b/src/Admin/Message/AutoCompleteGalResponse.php @@ -78,16 +78,16 @@ class AutoCompleteGalResponse extends SoapResponse * @return self */ public function __construct( - ?bool $more = NULL, ?bool $tokenizeKey = NULL, ?bool $pagingSupported = NULL, array $contacts = [] + ?bool $more = null, ?bool $tokenizeKey = null, ?bool $pagingSupported = null, array $contacts = [] ) { - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $tokenizeKey) { + if (null !== $tokenizeKey) { $this->setTokenizeKey($tokenizeKey); } - if (NULL !== $pagingSupported) { + if (null !== $pagingSupported) { $this->setPagingSupported($pagingSupported); } $this->setContacts($contacts); diff --git a/src/Admin/Message/AutoProvAccountBody.php b/src/Admin/Message/AutoProvAccountBody.php index 190f8d6f0..d8e921e99 100644 --- a/src/Admin/Message/AutoProvAccountBody.php +++ b/src/Admin/Message/AutoProvAccountBody.php @@ -33,7 +33,7 @@ class AutoProvAccountBody extends SoapBody #[SerializedName('AutoProvAccountRequest')] #[Type(AutoProvAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AutoProvAccountBody extends SoapBody #[SerializedName('AutoProvAccountResponse')] #[Type(AutoProvAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AutoProvAccountBody extends SoapBody * @return self */ public function __construct( - ?AutoProvAccountRequest $request = NULL, ?AutoProvAccountResponse $response = NULL + ?AutoProvAccountRequest $request = null, ?AutoProvAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AutoProvAccountEnvelope.php b/src/Admin/Message/AutoProvAccountEnvelope.php index 368d8d22e..4d2facf0d 100644 --- a/src/Admin/Message/AutoProvAccountEnvelope.php +++ b/src/Admin/Message/AutoProvAccountEnvelope.php @@ -35,7 +35,7 @@ class AutoProvAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AutoProvAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -44,7 +44,7 @@ class AutoProvAccountEnvelope extends SoapEnvelope * @param SoapHeaderInterface $header * @return self */ - public function __construct(?AutoProvAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL) + public function __construct(?AutoProvAccountBody $body = null, ?SoapHeaderInterface $header = null) { parent::__construct($body, $header); } diff --git a/src/Admin/Message/AutoProvAccountRequest.php b/src/Admin/Message/AutoProvAccountRequest.php index 470662978..636114680 100644 --- a/src/Admin/Message/AutoProvAccountRequest.php +++ b/src/Admin/Message/AutoProvAccountRequest.php @@ -70,12 +70,12 @@ class AutoProvAccountRequest extends SoapRequest public function __construct( DomainSelector $domain, PrincipalSelector $principal, - ?string $password = NULL + ?string $password = null ) { $this->setDomain($domain) ->setPrincipal($principal); - if (NULL !== $password){ + if (null !== $password){ $this->setPassword($password); } } diff --git a/src/Admin/Message/AutoProvAccountResponse.php b/src/Admin/Message/AutoProvAccountResponse.php index 7d352b35d..9fb9d50ec 100644 --- a/src/Admin/Message/AutoProvAccountResponse.php +++ b/src/Admin/Message/AutoProvAccountResponse.php @@ -43,7 +43,7 @@ class AutoProvAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/AutoProvTaskControlBody.php b/src/Admin/Message/AutoProvTaskControlBody.php index da3f390c3..4924a2f1f 100644 --- a/src/Admin/Message/AutoProvTaskControlBody.php +++ b/src/Admin/Message/AutoProvTaskControlBody.php @@ -33,7 +33,7 @@ class AutoProvTaskControlBody extends SoapBody #[SerializedName('AutoProvTaskControlRequest')] #[Type(AutoProvTaskControlRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AutoProvTaskControlBody extends SoapBody #[SerializedName('AutoProvTaskControlResponse')] #[Type(AutoProvTaskControlResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AutoProvTaskControlBody extends SoapBody * @return self */ public function __construct( - ?AutoProvTaskControlRequest $request = NULL, ?AutoProvTaskControlResponse $response = NULL + ?AutoProvTaskControlRequest $request = null, ?AutoProvTaskControlResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/AutoProvTaskControlEnvelope.php b/src/Admin/Message/AutoProvTaskControlEnvelope.php index 1f2c11aef..72bf5dd68 100644 --- a/src/Admin/Message/AutoProvTaskControlEnvelope.php +++ b/src/Admin/Message/AutoProvTaskControlEnvelope.php @@ -35,7 +35,7 @@ class AutoProvTaskControlEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AutoProvTaskControlBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AutoProvTaskControlEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AutoProvTaskControlBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AutoProvTaskControlBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/AutoProvTaskControlRequest.php b/src/Admin/Message/AutoProvTaskControlRequest.php index 81f0f27d6..cb40d3368 100644 --- a/src/Admin/Message/AutoProvTaskControlRequest.php +++ b/src/Admin/Message/AutoProvTaskControlRequest.php @@ -45,7 +45,7 @@ class AutoProvTaskControlRequest extends SoapRequest * @param AutoProvTaskAction $action * @return self */ - public function __construct(?AutoProvTaskAction $action = NULL) + public function __construct(?AutoProvTaskAction $action = null) { $this->setAction($action ?? AutoProvTaskAction::STATUS); } diff --git a/src/Admin/Message/AutoProvTaskControlResponse.php b/src/Admin/Message/AutoProvTaskControlResponse.php index badc83a15..32f26f6a6 100644 --- a/src/Admin/Message/AutoProvTaskControlResponse.php +++ b/src/Admin/Message/AutoProvTaskControlResponse.php @@ -41,7 +41,7 @@ class AutoProvTaskControlResponse extends SoapResponse * @param AutoProvTaskStatus $status * @return self */ - public function __construct(?AutoProvTaskStatus $status = NULL) + public function __construct(?AutoProvTaskStatus $status = null) { $this->status = $status; } diff --git a/src/Admin/Message/ChangePrimaryEmailBody.php b/src/Admin/Message/ChangePrimaryEmailBody.php index c54e0d418..e4daa6bd7 100644 --- a/src/Admin/Message/ChangePrimaryEmailBody.php +++ b/src/Admin/Message/ChangePrimaryEmailBody.php @@ -33,7 +33,7 @@ class ChangePrimaryEmailBody extends SoapBody #[SerializedName('ChangePrimaryEmailRequest')] #[Type(ChangePrimaryEmailRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ChangePrimaryEmailBody extends SoapBody #[SerializedName('ChangePrimaryEmailResponse')] #[Type(ChangePrimaryEmailResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ChangePrimaryEmailBody extends SoapBody * @return self */ public function __construct( - ?ChangePrimaryEmailRequest $request = NULL, ?ChangePrimaryEmailResponse $response = NULL + ?ChangePrimaryEmailRequest $request = null, ?ChangePrimaryEmailResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ChangePrimaryEmailEnvelope.php b/src/Admin/Message/ChangePrimaryEmailEnvelope.php index df29f4d45..f38140455 100644 --- a/src/Admin/Message/ChangePrimaryEmailEnvelope.php +++ b/src/Admin/Message/ChangePrimaryEmailEnvelope.php @@ -35,7 +35,7 @@ class ChangePrimaryEmailEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ChangePrimaryEmailBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ChangePrimaryEmailEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ChangePrimaryEmailBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ChangePrimaryEmailBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ChangePrimaryEmailResponse.php b/src/Admin/Message/ChangePrimaryEmailResponse.php index b2a91a756..ee59bd566 100644 --- a/src/Admin/Message/ChangePrimaryEmailResponse.php +++ b/src/Admin/Message/ChangePrimaryEmailResponse.php @@ -42,7 +42,7 @@ class ChangePrimaryEmailResponse extends SoapResponse * @param Account $account * @return self */ - public function __construct(?Account $account = NULL) + public function __construct(?Account $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/CheckAuthConfigBody.php b/src/Admin/Message/CheckAuthConfigBody.php index cef81d69d..573718404 100644 --- a/src/Admin/Message/CheckAuthConfigBody.php +++ b/src/Admin/Message/CheckAuthConfigBody.php @@ -33,7 +33,7 @@ class CheckAuthConfigBody extends SoapBody #[SerializedName('CheckAuthConfigRequest')] #[Type(CheckAuthConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckAuthConfigBody extends SoapBody #[SerializedName('CheckAuthConfigResponse')] #[Type(CheckAuthConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckAuthConfigBody extends SoapBody * @return self */ public function __construct( - ?CheckAuthConfigRequest $request = NULL, ?CheckAuthConfigResponse $response = NULL + ?CheckAuthConfigRequest $request = null, ?CheckAuthConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckAuthConfigEnvelope.php b/src/Admin/Message/CheckAuthConfigEnvelope.php index e8b56940e..739dd3c08 100644 --- a/src/Admin/Message/CheckAuthConfigEnvelope.php +++ b/src/Admin/Message/CheckAuthConfigEnvelope.php @@ -35,7 +35,7 @@ class CheckAuthConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckAuthConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckAuthConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckAuthConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckAuthConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckAuthConfigResponse.php b/src/Admin/Message/CheckAuthConfigResponse.php index e4c7fca11..468a0f45a 100644 --- a/src/Admin/Message/CheckAuthConfigResponse.php +++ b/src/Admin/Message/CheckAuthConfigResponse.php @@ -68,12 +68,12 @@ class CheckAuthConfigResponse extends SoapResponse public function __construct( string $code = '', string $bindDn = '', - ?string $message = NULL + ?string $message = null ) { $this->setCode($code) ->setBindDn($bindDn); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Message/CheckBlobConsistencyBody.php b/src/Admin/Message/CheckBlobConsistencyBody.php index c5cc08ce3..d3d54edbc 100644 --- a/src/Admin/Message/CheckBlobConsistencyBody.php +++ b/src/Admin/Message/CheckBlobConsistencyBody.php @@ -33,7 +33,7 @@ class CheckBlobConsistencyBody extends SoapBody #[SerializedName('CheckBlobConsistencyRequest')] #[Type(CheckBlobConsistencyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckBlobConsistencyBody extends SoapBody #[SerializedName('CheckBlobConsistencyResponse')] #[Type(CheckBlobConsistencyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckBlobConsistencyBody extends SoapBody * @return self */ public function __construct( - ?CheckBlobConsistencyRequest $request = NULL, ?CheckBlobConsistencyResponse $response = NULL + ?CheckBlobConsistencyRequest $request = null, ?CheckBlobConsistencyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckBlobConsistencyEnvelope.php b/src/Admin/Message/CheckBlobConsistencyEnvelope.php index b2905491b..02950e328 100644 --- a/src/Admin/Message/CheckBlobConsistencyEnvelope.php +++ b/src/Admin/Message/CheckBlobConsistencyEnvelope.php @@ -35,7 +35,7 @@ class CheckBlobConsistencyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckBlobConsistencyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckBlobConsistencyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckBlobConsistencyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckBlobConsistencyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckBlobConsistencyRequest.php b/src/Admin/Message/CheckBlobConsistencyRequest.php index 4d4fe1494..2c4562276 100644 --- a/src/Admin/Message/CheckBlobConsistencyRequest.php +++ b/src/Admin/Message/CheckBlobConsistencyRequest.php @@ -82,15 +82,15 @@ class CheckBlobConsistencyRequest extends SoapRequest * @return self */ public function __construct( - ?bool $checkSize = NULL, ?bool $reportUsedBlobs = NULL, array $volumes = [], array $mailboxes = [] + ?bool $checkSize = null, ?bool $reportUsedBlobs = null, array $volumes = [], array $mailboxes = [] ) { $this->setVolumes($volumes) ->setMailboxes($mailboxes); - if (NULL !== $checkSize) { + if (null !== $checkSize) { $this->setCheckSize($checkSize); } - if (NULL !== $reportUsedBlobs){ + if (null !== $reportUsedBlobs){ $this->setReportUsedBlobs($reportUsedBlobs); } } diff --git a/src/Admin/Message/CheckDirectoryBody.php b/src/Admin/Message/CheckDirectoryBody.php index 31c1f2be2..8fc101711 100644 --- a/src/Admin/Message/CheckDirectoryBody.php +++ b/src/Admin/Message/CheckDirectoryBody.php @@ -33,7 +33,7 @@ class CheckDirectoryBody extends SoapBody #[SerializedName('CheckDirectoryRequest')] #[Type(CheckDirectoryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckDirectoryBody extends SoapBody #[SerializedName('CheckDirectoryResponse')] #[Type(CheckDirectoryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckDirectoryBody extends SoapBody * @return self */ public function __construct( - ?CheckDirectoryRequest $request = NULL, ?CheckDirectoryResponse $response = NULL + ?CheckDirectoryRequest $request = null, ?CheckDirectoryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckDirectoryEnvelope.php b/src/Admin/Message/CheckDirectoryEnvelope.php index c97043501..5a763cca5 100644 --- a/src/Admin/Message/CheckDirectoryEnvelope.php +++ b/src/Admin/Message/CheckDirectoryEnvelope.php @@ -35,7 +35,7 @@ class CheckDirectoryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckDirectoryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckDirectoryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckDirectoryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckDirectoryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckDomainMXRecordBody.php b/src/Admin/Message/CheckDomainMXRecordBody.php index f1d49b0dc..e57090933 100644 --- a/src/Admin/Message/CheckDomainMXRecordBody.php +++ b/src/Admin/Message/CheckDomainMXRecordBody.php @@ -33,7 +33,7 @@ class CheckDomainMXRecordBody extends SoapBody #[SerializedName('CheckDomainMXRecordRequest')] #[Type(CheckDomainMXRecordRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckDomainMXRecordBody extends SoapBody #[SerializedName('CheckDomainMXRecordResponse')] #[Type(CheckDomainMXRecordResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckDomainMXRecordBody extends SoapBody * @return self */ public function __construct( - ?CheckDomainMXRecordRequest $request = NULL, ?CheckDomainMXRecordResponse $response = NULL + ?CheckDomainMXRecordRequest $request = null, ?CheckDomainMXRecordResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckDomainMXRecordEnvelope.php b/src/Admin/Message/CheckDomainMXRecordEnvelope.php index af2d8d069..34f790f63 100644 --- a/src/Admin/Message/CheckDomainMXRecordEnvelope.php +++ b/src/Admin/Message/CheckDomainMXRecordEnvelope.php @@ -35,7 +35,7 @@ class CheckDomainMXRecordEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckDomainMXRecordBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckDomainMXRecordEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckDomainMXRecordBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckDomainMXRecordBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckDomainMXRecordRequest.php b/src/Admin/Message/CheckDomainMXRecordRequest.php index 2e3653342..3893f47fe 100644 --- a/src/Admin/Message/CheckDomainMXRecordRequest.php +++ b/src/Admin/Message/CheckDomainMXRecordRequest.php @@ -43,7 +43,7 @@ class CheckDomainMXRecordRequest extends SoapRequest * @param DomainSelector $domain * @return self */ - public function __construct(?DomainSelector $domain = NULL) + public function __construct(?DomainSelector $domain = null) { $this->domain = $domain; } diff --git a/src/Admin/Message/CheckDomainMXRecordResponse.php b/src/Admin/Message/CheckDomainMXRecordResponse.php index 7346dd415..8303884ae 100644 --- a/src/Admin/Message/CheckDomainMXRecordResponse.php +++ b/src/Admin/Message/CheckDomainMXRecordResponse.php @@ -67,12 +67,12 @@ class CheckDomainMXRecordResponse extends SoapResponse public function __construct( array $entries = [], string $code = '', - ?string $message = NULL + ?string $message = null ) { $this->setEntries($entries) ->setCode($code); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Message/CheckExchangeAuthBody.php b/src/Admin/Message/CheckExchangeAuthBody.php index 7f1a6a270..c8c02c194 100644 --- a/src/Admin/Message/CheckExchangeAuthBody.php +++ b/src/Admin/Message/CheckExchangeAuthBody.php @@ -33,7 +33,7 @@ class CheckExchangeAuthBody extends SoapBody #[SerializedName('CheckExchangeAuthRequest')] #[Type(CheckExchangeAuthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckExchangeAuthBody extends SoapBody #[SerializedName('CheckExchangeAuthResponse')] #[Type(CheckExchangeAuthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckExchangeAuthBody extends SoapBody * @return self */ public function __construct( - ?CheckExchangeAuthRequest $request = NULL, ?CheckExchangeAuthResponse $response = NULL + ?CheckExchangeAuthRequest $request = null, ?CheckExchangeAuthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckExchangeAuthEnvelope.php b/src/Admin/Message/CheckExchangeAuthEnvelope.php index 0dc924aae..5953aa456 100644 --- a/src/Admin/Message/CheckExchangeAuthEnvelope.php +++ b/src/Admin/Message/CheckExchangeAuthEnvelope.php @@ -35,7 +35,7 @@ class CheckExchangeAuthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckExchangeAuthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckExchangeAuthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckExchangeAuthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckExchangeAuthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckExchangeAuthRequest.php b/src/Admin/Message/CheckExchangeAuthRequest.php index a7dca3449..111a3a379 100644 --- a/src/Admin/Message/CheckExchangeAuthRequest.php +++ b/src/Admin/Message/CheckExchangeAuthRequest.php @@ -43,7 +43,7 @@ class CheckExchangeAuthRequest extends SoapRequest * @param ExchangeAuthSpec $auth * @return self */ - public function __construct(?ExchangeAuthSpec $auth = NULL) + public function __construct(?ExchangeAuthSpec $auth = null) { $this->auth = $auth; } diff --git a/src/Admin/Message/CheckExchangeAuthResponse.php b/src/Admin/Message/CheckExchangeAuthResponse.php index d773325cb..77b629804 100644 --- a/src/Admin/Message/CheckExchangeAuthResponse.php +++ b/src/Admin/Message/CheckExchangeAuthResponse.php @@ -55,11 +55,11 @@ class CheckExchangeAuthResponse extends SoapResponse */ public function __construct( string $code = '', - ?string $message = NULL + ?string $message = null ) { $this->setCode($code); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Message/CheckGalConfigBody.php b/src/Admin/Message/CheckGalConfigBody.php index ec5f49afc..37a446095 100644 --- a/src/Admin/Message/CheckGalConfigBody.php +++ b/src/Admin/Message/CheckGalConfigBody.php @@ -33,7 +33,7 @@ class CheckGalConfigBody extends SoapBody #[SerializedName('CheckGalConfigRequest')] #[Type(CheckGalConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckGalConfigBody extends SoapBody #[SerializedName('CheckGalConfigResponse')] #[Type(CheckGalConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckGalConfigBody extends SoapBody * @return self */ public function __construct( - ?CheckGalConfigRequest $request = NULL, ?CheckGalConfigResponse $response = NULL + ?CheckGalConfigRequest $request = null, ?CheckGalConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckGalConfigEnvelope.php b/src/Admin/Message/CheckGalConfigEnvelope.php index ccafe22cc..2d02c7609 100644 --- a/src/Admin/Message/CheckGalConfigEnvelope.php +++ b/src/Admin/Message/CheckGalConfigEnvelope.php @@ -35,7 +35,7 @@ class CheckGalConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckGalConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckGalConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckGalConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckGalConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckGalConfigRequest.php b/src/Admin/Message/CheckGalConfigRequest.php index 3daf92943..9fcb5d1f9 100644 --- a/src/Admin/Message/CheckGalConfigRequest.php +++ b/src/Admin/Message/CheckGalConfigRequest.php @@ -59,12 +59,12 @@ class CheckGalConfigRequest extends SoapRequest implements AdminAttrs * @return self */ public function __construct( - ?LimitedQuery $query = NULL, ?string $action = NULL, array $attrs = [] + ?LimitedQuery $query = null, ?string $action = null, array $attrs = [] ) { $this->setAttrs($attrs); $this->query = $query; - if (NULL !== $action) { + if (null !== $action) { $this->setAction($action); } } diff --git a/src/Admin/Message/CheckGalConfigResponse.php b/src/Admin/Message/CheckGalConfigResponse.php index 06c34df04..7b4e5a3a5 100644 --- a/src/Admin/Message/CheckGalConfigResponse.php +++ b/src/Admin/Message/CheckGalConfigResponse.php @@ -67,12 +67,12 @@ class CheckGalConfigResponse extends SoapResponse */ public function __construct( string $code = '', - ?string $message = NULL, + ?string $message = null, array $galContacts = [] ) { $this->setCode($code); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } $this->setGalContacts($galContacts); diff --git a/src/Admin/Message/CheckHealthBody.php b/src/Admin/Message/CheckHealthBody.php index 992086d38..2aa68d6ca 100644 --- a/src/Admin/Message/CheckHealthBody.php +++ b/src/Admin/Message/CheckHealthBody.php @@ -33,7 +33,7 @@ class CheckHealthBody extends SoapBody #[SerializedName('CheckHealthRequest')] #[Type(CheckHealthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckHealthBody extends SoapBody #[SerializedName('CheckHealthResponse')] #[Type(CheckHealthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckHealthBody extends SoapBody * @return self */ public function __construct( - ?CheckHealthRequest $request = NULL, ?CheckHealthResponse $response = NULL + ?CheckHealthRequest $request = null, ?CheckHealthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckHealthEnvelope.php b/src/Admin/Message/CheckHealthEnvelope.php index 3facf2904..e2b2d06bc 100644 --- a/src/Admin/Message/CheckHealthEnvelope.php +++ b/src/Admin/Message/CheckHealthEnvelope.php @@ -35,7 +35,7 @@ class CheckHealthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckHealthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckHealthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckHealthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckHealthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckHealthResponse.php b/src/Admin/Message/CheckHealthResponse.php index add130481..2dbf39415 100644 --- a/src/Admin/Message/CheckHealthResponse.php +++ b/src/Admin/Message/CheckHealthResponse.php @@ -41,7 +41,7 @@ class CheckHealthResponse extends SoapResponse * @param bool $healthy * @return self */ - public function __construct(bool $healthy = FALSE) + public function __construct(bool $healthy = false) { $this->setHealthy($healthy); } diff --git a/src/Admin/Message/CheckHostnameResolveBody.php b/src/Admin/Message/CheckHostnameResolveBody.php index 73543f2e8..701d93cb3 100644 --- a/src/Admin/Message/CheckHostnameResolveBody.php +++ b/src/Admin/Message/CheckHostnameResolveBody.php @@ -33,7 +33,7 @@ class CheckHostnameResolveBody extends SoapBody #[SerializedName('CheckHostnameResolveRequest')] #[Type(CheckHostnameResolveRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckHostnameResolveBody extends SoapBody #[SerializedName('CheckHostnameResolveResponse')] #[Type(CheckHostnameResolveResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckHostnameResolveBody extends SoapBody * @return self */ public function __construct( - ?CheckHostnameResolveRequest $request = NULL, ?CheckHostnameResolveResponse $response = NULL + ?CheckHostnameResolveRequest $request = null, ?CheckHostnameResolveResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckHostnameResolveEnvelope.php b/src/Admin/Message/CheckHostnameResolveEnvelope.php index db5f543d9..432df4f06 100644 --- a/src/Admin/Message/CheckHostnameResolveEnvelope.php +++ b/src/Admin/Message/CheckHostnameResolveEnvelope.php @@ -35,7 +35,7 @@ class CheckHostnameResolveEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckHostnameResolveBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckHostnameResolveEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckHostnameResolveBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckHostnameResolveBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckHostnameResolveRequest.php b/src/Admin/Message/CheckHostnameResolveRequest.php index 0a4e54972..d07793927 100644 --- a/src/Admin/Message/CheckHostnameResolveRequest.php +++ b/src/Admin/Message/CheckHostnameResolveRequest.php @@ -42,9 +42,9 @@ class CheckHostnameResolveRequest extends SoapRequest * @param string $hostname * @return self */ - public function __construct(?string $hostname = NULL) + public function __construct(?string $hostname = null) { - if (NULL !== $hostname) { + if (null !== $hostname) { $this->setHostname($hostname); } } diff --git a/src/Admin/Message/CheckHostnameResolveResponse.php b/src/Admin/Message/CheckHostnameResolveResponse.php index f5179fa21..bed5132df 100644 --- a/src/Admin/Message/CheckHostnameResolveResponse.php +++ b/src/Admin/Message/CheckHostnameResolveResponse.php @@ -55,11 +55,11 @@ class CheckHostnameResolveResponse extends SoapResponse */ public function __construct( string $code = '', - ?string $message = NULL + ?string $message = null ) { $this->setCode($code); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Message/CheckPasswordStrengthBody.php b/src/Admin/Message/CheckPasswordStrengthBody.php index 8e5714029..9e6c3f9e5 100644 --- a/src/Admin/Message/CheckPasswordStrengthBody.php +++ b/src/Admin/Message/CheckPasswordStrengthBody.php @@ -33,7 +33,7 @@ class CheckPasswordStrengthBody extends SoapBody #[SerializedName('CheckPasswordStrengthRequest')] #[Type(CheckPasswordStrengthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckPasswordStrengthBody extends SoapBody #[SerializedName('CheckPasswordStrengthResponse')] #[Type(CheckPasswordStrengthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckPasswordStrengthBody extends SoapBody * @return self */ public function __construct( - ?CheckPasswordStrengthRequest $request = NULL, ?CheckPasswordStrengthResponse $response = NULL + ?CheckPasswordStrengthRequest $request = null, ?CheckPasswordStrengthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckPasswordStrengthEnvelope.php b/src/Admin/Message/CheckPasswordStrengthEnvelope.php index 9bbbff191..c44415312 100644 --- a/src/Admin/Message/CheckPasswordStrengthEnvelope.php +++ b/src/Admin/Message/CheckPasswordStrengthEnvelope.php @@ -35,7 +35,7 @@ class CheckPasswordStrengthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckPasswordStrengthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckPasswordStrengthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckPasswordStrengthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckPasswordStrengthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckRightBody.php b/src/Admin/Message/CheckRightBody.php index b62d9a53c..2269a6bca 100644 --- a/src/Admin/Message/CheckRightBody.php +++ b/src/Admin/Message/CheckRightBody.php @@ -33,7 +33,7 @@ class CheckRightBody extends SoapBody #[SerializedName('CheckRightRequest')] #[Type(CheckRightRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckRightBody extends SoapBody #[SerializedName('CheckRightResponse')] #[Type(CheckRightResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckRightBody extends SoapBody * @return self */ public function __construct( - ?CheckRightRequest $request = NULL, ?CheckRightResponse $response = NULL + ?CheckRightRequest $request = null, ?CheckRightResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CheckRightEnvelope.php b/src/Admin/Message/CheckRightEnvelope.php index 65f2482de..89794dde9 100644 --- a/src/Admin/Message/CheckRightEnvelope.php +++ b/src/Admin/Message/CheckRightEnvelope.php @@ -35,7 +35,7 @@ class CheckRightEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckRightBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckRightEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckRightBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckRightBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CheckRightResponse.php b/src/Admin/Message/CheckRightResponse.php index 4d4011780..0a284500f 100644 --- a/src/Admin/Message/CheckRightResponse.php +++ b/src/Admin/Message/CheckRightResponse.php @@ -55,7 +55,7 @@ class CheckRightResponse extends SoapResponse * @param RightViaInfo $via * @return self */ - public function __construct(bool $allow = FALSE, ?RightViaInfo $via = NULL) + public function __construct(bool $allow = false, ?RightViaInfo $via = null) { $this->setAllow($allow); $this->via = $via; diff --git a/src/Admin/Message/ClearCookieBody.php b/src/Admin/Message/ClearCookieBody.php index d47302b7c..43e699ae7 100644 --- a/src/Admin/Message/ClearCookieBody.php +++ b/src/Admin/Message/ClearCookieBody.php @@ -33,7 +33,7 @@ class ClearCookieBody extends SoapBody #[SerializedName('ClearCookieRequest')] #[Type(ClearCookieRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ClearCookieBody extends SoapBody #[SerializedName('ClearCookieResponse')] #[Type(ClearCookieResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ClearCookieBody extends SoapBody * @return self */ public function __construct( - ?ClearCookieRequest $request = NULL, ?ClearCookieResponse $response = NULL + ?ClearCookieRequest $request = null, ?ClearCookieResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ClearCookieEnvelope.php b/src/Admin/Message/ClearCookieEnvelope.php index 1988e0c24..79734e822 100644 --- a/src/Admin/Message/ClearCookieEnvelope.php +++ b/src/Admin/Message/ClearCookieEnvelope.php @@ -35,7 +35,7 @@ class ClearCookieEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ClearCookieBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ClearCookieEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ClearCookieBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ClearCookieBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CompactIndexBody.php b/src/Admin/Message/CompactIndexBody.php index c8ba77c33..7d7125ca7 100644 --- a/src/Admin/Message/CompactIndexBody.php +++ b/src/Admin/Message/CompactIndexBody.php @@ -33,7 +33,7 @@ class CompactIndexBody extends SoapBody #[SerializedName('CompactIndexRequest')] #[Type(CompactIndexRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CompactIndexBody extends SoapBody #[SerializedName('CompactIndexResponse')] #[Type(CompactIndexResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CompactIndexBody extends SoapBody * @return self */ public function __construct( - ?CompactIndexRequest $request = NULL, ?CompactIndexResponse $response = NULL + ?CompactIndexRequest $request = null, ?CompactIndexResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CompactIndexEnvelope.php b/src/Admin/Message/CompactIndexEnvelope.php index 5a620727d..c40a562b3 100644 --- a/src/Admin/Message/CompactIndexEnvelope.php +++ b/src/Admin/Message/CompactIndexEnvelope.php @@ -35,7 +35,7 @@ class CompactIndexEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CompactIndexBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CompactIndexEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CompactIndexBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CompactIndexBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CompactIndexRequest.php b/src/Admin/Message/CompactIndexRequest.php index d49ef9974..3f2976165 100644 --- a/src/Admin/Message/CompactIndexRequest.php +++ b/src/Admin/Message/CompactIndexRequest.php @@ -57,7 +57,7 @@ class CompactIndexRequest extends SoapRequest * @param Action $action * @return self */ - public function __construct(Mailbox $mbox, ?Action $action = NULL) + public function __construct(Mailbox $mbox, ?Action $action = null) { $this->setMbox($mbox); $this->action = $action; diff --git a/src/Admin/Message/CompactIndexResponse.php b/src/Admin/Message/CompactIndexResponse.php index e6f5a8cae..8f5ebe36b 100644 --- a/src/Admin/Message/CompactIndexResponse.php +++ b/src/Admin/Message/CompactIndexResponse.php @@ -41,7 +41,7 @@ class CompactIndexResponse extends SoapResponse * @param Status $status * @return self */ - public function __construct(?Status $status = NULL) + public function __construct(?Status $status = null) { $this->status = $status; } diff --git a/src/Admin/Message/ComputeAggregateQuotaUsageBody.php b/src/Admin/Message/ComputeAggregateQuotaUsageBody.php index 7187036dd..6e0ae82a0 100644 --- a/src/Admin/Message/ComputeAggregateQuotaUsageBody.php +++ b/src/Admin/Message/ComputeAggregateQuotaUsageBody.php @@ -33,7 +33,7 @@ class ComputeAggregateQuotaUsageBody extends SoapBody #[SerializedName('ComputeAggregateQuotaUsageRequest')] #[Type(ComputeAggregateQuotaUsageRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ComputeAggregateQuotaUsageBody extends SoapBody #[SerializedName('ComputeAggregateQuotaUsageResponse')] #[Type(ComputeAggregateQuotaUsageResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ComputeAggregateQuotaUsageBody extends SoapBody * @return self */ public function __construct( - ?ComputeAggregateQuotaUsageRequest $request = NULL, ?ComputeAggregateQuotaUsageResponse $response = NULL + ?ComputeAggregateQuotaUsageRequest $request = null, ?ComputeAggregateQuotaUsageResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ComputeAggregateQuotaUsageEnvelope.php b/src/Admin/Message/ComputeAggregateQuotaUsageEnvelope.php index cc3c2ba2a..1600fb9d5 100644 --- a/src/Admin/Message/ComputeAggregateQuotaUsageEnvelope.php +++ b/src/Admin/Message/ComputeAggregateQuotaUsageEnvelope.php @@ -35,7 +35,7 @@ class ComputeAggregateQuotaUsageEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ComputeAggregateQuotaUsageBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ComputeAggregateQuotaUsageEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ComputeAggregateQuotaUsageBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ComputeAggregateQuotaUsageBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ConfigureZimletBody.php b/src/Admin/Message/ConfigureZimletBody.php index 2db34d089..7134f35b7 100644 --- a/src/Admin/Message/ConfigureZimletBody.php +++ b/src/Admin/Message/ConfigureZimletBody.php @@ -33,7 +33,7 @@ class ConfigureZimletBody extends SoapBody #[SerializedName('ConfigureZimletRequest')] #[Type(ConfigureZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ConfigureZimletBody extends SoapBody #[SerializedName('ConfigureZimletResponse')] #[Type(ConfigureZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ConfigureZimletBody extends SoapBody * @return self */ public function __construct( - ?ConfigureZimletRequest $request = NULL, ?ConfigureZimletResponse $response = NULL + ?ConfigureZimletRequest $request = null, ?ConfigureZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ConfigureZimletEnvelope.php b/src/Admin/Message/ConfigureZimletEnvelope.php index be3d1340b..cf7398893 100644 --- a/src/Admin/Message/ConfigureZimletEnvelope.php +++ b/src/Admin/Message/ConfigureZimletEnvelope.php @@ -35,7 +35,7 @@ class ConfigureZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ConfigureZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ConfigureZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ConfigureZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ConfigureZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ContactBackupBody.php b/src/Admin/Message/ContactBackupBody.php index 93d998037..73de1f127 100644 --- a/src/Admin/Message/ContactBackupBody.php +++ b/src/Admin/Message/ContactBackupBody.php @@ -33,7 +33,7 @@ class ContactBackupBody extends SoapBody #[SerializedName('ContactBackupRequest')] #[Type(ContactBackupRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ContactBackupBody extends SoapBody #[SerializedName('ContactBackupResponse')] #[Type(ContactBackupResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ContactBackupBody extends SoapBody * @return self */ public function __construct( - ?ContactBackupRequest $request = NULL, ?ContactBackupResponse $response = NULL + ?ContactBackupRequest $request = null, ?ContactBackupResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ContactBackupEnvelope.php b/src/Admin/Message/ContactBackupEnvelope.php index 0bdfb267c..5f75975b0 100644 --- a/src/Admin/Message/ContactBackupEnvelope.php +++ b/src/Admin/Message/ContactBackupEnvelope.php @@ -35,7 +35,7 @@ class ContactBackupEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ContactBackupBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ContactBackupEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ContactBackupBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ContactBackupBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ContactBackupRequest.php b/src/Admin/Message/ContactBackupRequest.php index e2c98e926..69d9cb545 100644 --- a/src/Admin/Message/ContactBackupRequest.php +++ b/src/Admin/Message/ContactBackupRequest.php @@ -56,7 +56,7 @@ class ContactBackupRequest extends SoapRequest * @param ContactBackupOp $op * @return self */ - public function __construct(array $servers = [], ?ContactBackupOp $op = NULL) + public function __construct(array $servers = [], ?ContactBackupOp $op = null) { $this->setServers($servers) ->setOp($op ?? ContactBackupOp::START); diff --git a/src/Admin/Message/CopyCosBody.php b/src/Admin/Message/CopyCosBody.php index 8829ddf21..79af3be7a 100644 --- a/src/Admin/Message/CopyCosBody.php +++ b/src/Admin/Message/CopyCosBody.php @@ -33,7 +33,7 @@ class CopyCosBody extends SoapBody #[SerializedName('CopyCosRequest')] #[Type(CopyCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CopyCosBody extends SoapBody #[SerializedName('CopyCosResponse')] #[Type(CopyCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CopyCosBody extends SoapBody * @return self */ public function __construct( - ?CopyCosRequest $request = NULL, ?CopyCosResponse $response = NULL + ?CopyCosRequest $request = null, ?CopyCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CopyCosEnvelope.php b/src/Admin/Message/CopyCosEnvelope.php index 66d81df7f..4679211ea 100644 --- a/src/Admin/Message/CopyCosEnvelope.php +++ b/src/Admin/Message/CopyCosEnvelope.php @@ -35,7 +35,7 @@ class CopyCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CopyCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CopyCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CopyCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CopyCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CopyCosRequest.php b/src/Admin/Message/CopyCosRequest.php index 4771e4d05..ca3a331c1 100644 --- a/src/Admin/Message/CopyCosRequest.php +++ b/src/Admin/Message/CopyCosRequest.php @@ -55,10 +55,10 @@ class CopyCosRequest extends SoapRequest * @param string $newName * @return self */ - public function __construct(?CosSelector $cos = NULL, ?string $newName = NULL) + public function __construct(?CosSelector $cos = null, ?string $newName = null) { $this->cos = $cos; - if (NULL !== $newName) { + if (null !== $newName) { $this->setNewName($newName); } } diff --git a/src/Admin/Message/CopyCosResponse.php b/src/Admin/Message/CopyCosResponse.php index c0d70cac7..8a4e967c5 100644 --- a/src/Admin/Message/CopyCosResponse.php +++ b/src/Admin/Message/CopyCosResponse.php @@ -42,7 +42,7 @@ class CopyCosResponse extends SoapResponse * @param CosInfo $cos * @return self */ - public function __construct(?CosInfo $cos = NULL) + public function __construct(?CosInfo $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/CountAccountBody.php b/src/Admin/Message/CountAccountBody.php index 4b74a5796..7b48a0ba5 100644 --- a/src/Admin/Message/CountAccountBody.php +++ b/src/Admin/Message/CountAccountBody.php @@ -33,7 +33,7 @@ class CountAccountBody extends SoapBody #[SerializedName('CountAccountRequest')] #[Type(CountAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CountAccountBody extends SoapBody #[SerializedName('CountAccountResponse')] #[Type(CountAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CountAccountBody extends SoapBody * @return self */ public function __construct( - ?CountAccountRequest $request = NULL, ?CountAccountResponse $response = NULL + ?CountAccountRequest $request = null, ?CountAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CountAccountEnvelope.php b/src/Admin/Message/CountAccountEnvelope.php index 56bacd90a..fe2e3bc8c 100644 --- a/src/Admin/Message/CountAccountEnvelope.php +++ b/src/Admin/Message/CountAccountEnvelope.php @@ -35,7 +35,7 @@ class CountAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CountAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CountAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CountAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CountAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CountAccountRequest.php b/src/Admin/Message/CountAccountRequest.php index d268520f1..5a5eb52a9 100644 --- a/src/Admin/Message/CountAccountRequest.php +++ b/src/Admin/Message/CountAccountRequest.php @@ -17,7 +17,7 @@ /** * CountAccountRequest class * Count number of accounts by cos in a domain - * Note, it doesn't include any account with zimbraIsSystemResource=TRUE, nor does it include any calendar resources. + * Note, it doesn't include any account with zimbraIsSystemResource=true, nor does it include any calendar resources. * * @package Zimbra * @subpackage Admin diff --git a/src/Admin/Message/CountObjectsBody.php b/src/Admin/Message/CountObjectsBody.php index 45ebc7595..a2ac38c1e 100644 --- a/src/Admin/Message/CountObjectsBody.php +++ b/src/Admin/Message/CountObjectsBody.php @@ -33,7 +33,7 @@ class CountObjectsBody extends SoapBody #[SerializedName('CountObjectsRequest')] #[Type(CountObjectsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CountObjectsBody extends SoapBody #[SerializedName('CountObjectsResponse')] #[Type(CountObjectsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CountObjectsBody extends SoapBody * @return self */ public function __construct( - ?CountObjectsRequest $request = NULL, ?CountObjectsResponse $response = NULL + ?CountObjectsRequest $request = null, ?CountObjectsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CountObjectsEnvelope.php b/src/Admin/Message/CountObjectsEnvelope.php index 20ba02111..a44b001a0 100644 --- a/src/Admin/Message/CountObjectsEnvelope.php +++ b/src/Admin/Message/CountObjectsEnvelope.php @@ -35,7 +35,7 @@ class CountObjectsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CountObjectsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CountObjectsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CountObjectsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CountObjectsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CountObjectsRequest.php b/src/Admin/Message/CountObjectsRequest.php index 1f3523b39..d285aa279 100644 --- a/src/Admin/Message/CountObjectsRequest.php +++ b/src/Admin/Message/CountObjectsRequest.php @@ -89,16 +89,16 @@ class CountObjectsRequest extends SoapRequest * @return self */ public function __construct( - ?CountObjectsType $type = NULL, + ?CountObjectsType $type = null, array $domains = [], - ?UcServiceSelector $ucService = NULL, - ?bool $onlyRelated = NULL + ?UcServiceSelector $ucService = null, + ?bool $onlyRelated = null ) { $this->setType($type ?? CountObjectsType::ACCOUNT) ->setDomains($domains); $this->ucService = $ucService; - if (NULL !== $onlyRelated) { + if (null !== $onlyRelated) { $this->setOnlyRelated($onlyRelated); } } diff --git a/src/Admin/Message/CreateAccountBody.php b/src/Admin/Message/CreateAccountBody.php index 6d75f4a2e..3af9db3ce 100644 --- a/src/Admin/Message/CreateAccountBody.php +++ b/src/Admin/Message/CreateAccountBody.php @@ -33,7 +33,7 @@ class CreateAccountBody extends SoapBody #[SerializedName('CreateAccountRequest')] #[Type(CreateAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateAccountBody extends SoapBody #[SerializedName('CreateAccountResponse')] #[Type(CreateAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateAccountBody extends SoapBody * @return self */ public function __construct( - ?CreateAccountRequest $request = NULL, ?CreateAccountResponse $response = NULL + ?CreateAccountRequest $request = null, ?CreateAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateAccountEnvelope.php b/src/Admin/Message/CreateAccountEnvelope.php index ca667b9eb..7db67b7f8 100644 --- a/src/Admin/Message/CreateAccountEnvelope.php +++ b/src/Admin/Message/CreateAccountEnvelope.php @@ -35,7 +35,7 @@ class CreateAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateAccountRequest.php b/src/Admin/Message/CreateAccountRequest.php index 38a288fd4..bead1b95f 100644 --- a/src/Admin/Message/CreateAccountRequest.php +++ b/src/Admin/Message/CreateAccountRequest.php @@ -63,12 +63,12 @@ class CreateAccountRequest extends SoapRequest implements AdminAttrs * @return self */ public function __construct( - string $name = '', ?string $password = NULL, array $attrs = [] + string $name = '', ?string $password = null, array $attrs = [] ) { $this->setName($name) ->setAttrs($attrs); - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } } diff --git a/src/Admin/Message/CreateAccountResponse.php b/src/Admin/Message/CreateAccountResponse.php index 511777dbb..4c02e4602 100644 --- a/src/Admin/Message/CreateAccountResponse.php +++ b/src/Admin/Message/CreateAccountResponse.php @@ -42,7 +42,7 @@ class CreateAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/CreateAlwaysOnClusterBody.php b/src/Admin/Message/CreateAlwaysOnClusterBody.php index f38eef8c9..1ed03c2df 100644 --- a/src/Admin/Message/CreateAlwaysOnClusterBody.php +++ b/src/Admin/Message/CreateAlwaysOnClusterBody.php @@ -33,7 +33,7 @@ class CreateAlwaysOnClusterBody extends SoapBody #[SerializedName('CreateAlwaysOnClusterRequest')] #[Type(CreateAlwaysOnClusterRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateAlwaysOnClusterBody extends SoapBody #[SerializedName('CreateAlwaysOnClusterResponse')] #[Type(CreateAlwaysOnClusterResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateAlwaysOnClusterBody extends SoapBody * @return self */ public function __construct( - ?CreateAlwaysOnClusterRequest $request = NULL, ?CreateAlwaysOnClusterResponse $response = NULL + ?CreateAlwaysOnClusterRequest $request = null, ?CreateAlwaysOnClusterResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateAlwaysOnClusterEnvelope.php b/src/Admin/Message/CreateAlwaysOnClusterEnvelope.php index c7e1072df..8260ae39b 100644 --- a/src/Admin/Message/CreateAlwaysOnClusterEnvelope.php +++ b/src/Admin/Message/CreateAlwaysOnClusterEnvelope.php @@ -35,7 +35,7 @@ class CreateAlwaysOnClusterEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateAlwaysOnClusterBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateAlwaysOnClusterEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateAlwaysOnClusterBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateAlwaysOnClusterBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateAlwaysOnClusterResponse.php b/src/Admin/Message/CreateAlwaysOnClusterResponse.php index 6d1c272e7..bd5964dfe 100644 --- a/src/Admin/Message/CreateAlwaysOnClusterResponse.php +++ b/src/Admin/Message/CreateAlwaysOnClusterResponse.php @@ -42,7 +42,7 @@ class CreateAlwaysOnClusterResponse extends SoapResponse * @param AlwaysOnClusterInfo $cluster * @return self */ - public function __construct(?AlwaysOnClusterInfo $cluster = NULL) + public function __construct(?AlwaysOnClusterInfo $cluster = null) { $this->cluster = $cluster; } diff --git a/src/Admin/Message/CreateCalendarResourceBody.php b/src/Admin/Message/CreateCalendarResourceBody.php index a6bcb4532..07d4cf84b 100644 --- a/src/Admin/Message/CreateCalendarResourceBody.php +++ b/src/Admin/Message/CreateCalendarResourceBody.php @@ -33,7 +33,7 @@ class CreateCalendarResourceBody extends SoapBody #[SerializedName('CreateCalendarResourceRequest')] #[Type(CreateCalendarResourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateCalendarResourceBody extends SoapBody #[SerializedName('CreateCalendarResourceResponse')] #[Type(CreateCalendarResourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateCalendarResourceBody extends SoapBody * @return self */ public function __construct( - ?CreateCalendarResourceRequest $request = NULL, ?CreateCalendarResourceResponse $response = NULL + ?CreateCalendarResourceRequest $request = null, ?CreateCalendarResourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateCalendarResourceEnvelope.php b/src/Admin/Message/CreateCalendarResourceEnvelope.php index 6286d0b27..eaf870026 100644 --- a/src/Admin/Message/CreateCalendarResourceEnvelope.php +++ b/src/Admin/Message/CreateCalendarResourceEnvelope.php @@ -35,7 +35,7 @@ class CreateCalendarResourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateCalendarResourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateCalendarResourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateCalendarResourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateCalendarResourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateCalendarResourceRequest.php b/src/Admin/Message/CreateCalendarResourceRequest.php index 3d52ff50f..054fb56c3 100644 --- a/src/Admin/Message/CreateCalendarResourceRequest.php +++ b/src/Admin/Message/CreateCalendarResourceRequest.php @@ -63,12 +63,12 @@ class CreateCalendarResourceRequest extends SoapRequest implements AdminAttrs * @return self */ public function __construct( - string $name = '', ?string $password = NULL, array $attrs = [] + string $name = '', ?string $password = null, array $attrs = [] ) { $this->setName($name) ->setAttrs($attrs); - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } } diff --git a/src/Admin/Message/CreateCalendarResourceResponse.php b/src/Admin/Message/CreateCalendarResourceResponse.php index 78b4bcb22..d78d8944d 100644 --- a/src/Admin/Message/CreateCalendarResourceResponse.php +++ b/src/Admin/Message/CreateCalendarResourceResponse.php @@ -42,7 +42,7 @@ class CreateCalendarResourceResponse extends SoapResponse * @param CalendarResourceInfo $calResource * @return self */ - public function __construct(?CalendarResourceInfo $calResource = NULL) + public function __construct(?CalendarResourceInfo $calResource = null) { $this->calResource = $calResource; } diff --git a/src/Admin/Message/CreateCosBody.php b/src/Admin/Message/CreateCosBody.php index ef66a2e86..85ee9237d 100644 --- a/src/Admin/Message/CreateCosBody.php +++ b/src/Admin/Message/CreateCosBody.php @@ -33,7 +33,7 @@ class CreateCosBody extends SoapBody #[SerializedName('CreateCosRequest')] #[Type(CreateCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateCosBody extends SoapBody #[SerializedName('CreateCosResponse')] #[Type(CreateCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateCosBody extends SoapBody * @return self */ public function __construct( - ?CreateCosRequest $request = NULL, ?CreateCosResponse $response = NULL + ?CreateCosRequest $request = null, ?CreateCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateCosEnvelope.php b/src/Admin/Message/CreateCosEnvelope.php index d82ca6a16..a05b270ba 100644 --- a/src/Admin/Message/CreateCosEnvelope.php +++ b/src/Admin/Message/CreateCosEnvelope.php @@ -35,7 +35,7 @@ class CreateCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateCosResponse.php b/src/Admin/Message/CreateCosResponse.php index 133c87387..e16a73dfe 100644 --- a/src/Admin/Message/CreateCosResponse.php +++ b/src/Admin/Message/CreateCosResponse.php @@ -42,7 +42,7 @@ class CreateCosResponse extends SoapResponse * @param CosInfo $cos * @return self */ - public function __construct(?CosInfo $cos = NULL) + public function __construct(?CosInfo $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/CreateDataSourceBody.php b/src/Admin/Message/CreateDataSourceBody.php index 24a679922..913174941 100644 --- a/src/Admin/Message/CreateDataSourceBody.php +++ b/src/Admin/Message/CreateDataSourceBody.php @@ -33,7 +33,7 @@ class CreateDataSourceBody extends SoapBody #[SerializedName('CreateDataSourceRequest')] #[Type(CreateDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateDataSourceBody extends SoapBody #[SerializedName('CreateDataSourceResponse')] #[Type(CreateDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateDataSourceBody extends SoapBody * @return self */ public function __construct( - ?CreateDataSourceRequest $request = NULL, ?CreateDataSourceResponse $response = NULL + ?CreateDataSourceRequest $request = null, ?CreateDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateDataSourceEnvelope.php b/src/Admin/Message/CreateDataSourceEnvelope.php index 5a4befb33..bb44ba20a 100644 --- a/src/Admin/Message/CreateDataSourceEnvelope.php +++ b/src/Admin/Message/CreateDataSourceEnvelope.php @@ -35,7 +35,7 @@ class CreateDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateDataSourceResponse.php b/src/Admin/Message/CreateDataSourceResponse.php index df3303ef0..c9af84eba 100644 --- a/src/Admin/Message/CreateDataSourceResponse.php +++ b/src/Admin/Message/CreateDataSourceResponse.php @@ -42,7 +42,7 @@ class CreateDataSourceResponse extends SoapResponse * @param DataSourceInfo $dataSource * @return self */ - public function __construct(?DataSourceInfo $dataSource = NULL) + public function __construct(?DataSourceInfo $dataSource = null) { $this->dataSource = $dataSource; } diff --git a/src/Admin/Message/CreateDistributionListBody.php b/src/Admin/Message/CreateDistributionListBody.php index 4d8783f93..6b8b173f7 100644 --- a/src/Admin/Message/CreateDistributionListBody.php +++ b/src/Admin/Message/CreateDistributionListBody.php @@ -33,7 +33,7 @@ class CreateDistributionListBody extends SoapBody #[SerializedName('CreateDistributionListRequest')] #[Type(CreateDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateDistributionListBody extends SoapBody #[SerializedName('CreateDistributionListResponse')] #[Type(CreateDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateDistributionListBody extends SoapBody * @return self */ public function __construct( - ?CreateDistributionListRequest $request = NULL, ?CreateDistributionListResponse $response = NULL + ?CreateDistributionListRequest $request = null, ?CreateDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateDistributionListEnvelope.php b/src/Admin/Message/CreateDistributionListEnvelope.php index 54a9f23e9..95cd091fb 100644 --- a/src/Admin/Message/CreateDistributionListEnvelope.php +++ b/src/Admin/Message/CreateDistributionListEnvelope.php @@ -35,7 +35,7 @@ class CreateDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateDistributionListRequest.php b/src/Admin/Message/CreateDistributionListRequest.php index 7fd8a42bf..64a08b894 100644 --- a/src/Admin/Message/CreateDistributionListRequest.php +++ b/src/Admin/Message/CreateDistributionListRequest.php @@ -62,12 +62,12 @@ class CreateDistributionListRequest extends SoapRequest implements AdminAttrs * @return self */ public function __construct( - string $name = '', ?bool $dynamic = NULL, array $attrs = [] + string $name = '', ?bool $dynamic = null, array $attrs = [] ) { $this->setName($name) ->setAttrs($attrs); - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } } diff --git a/src/Admin/Message/CreateDistributionListResponse.php b/src/Admin/Message/CreateDistributionListResponse.php index e5ef3d13f..344950c1f 100644 --- a/src/Admin/Message/CreateDistributionListResponse.php +++ b/src/Admin/Message/CreateDistributionListResponse.php @@ -42,7 +42,7 @@ class CreateDistributionListResponse extends SoapResponse * @param DLInfo $dl * @return self */ - public function __construct(?DLInfo $dl = NULL) + public function __construct(?DLInfo $dl = null) { $this->dl = $dl; } diff --git a/src/Admin/Message/CreateDomainBody.php b/src/Admin/Message/CreateDomainBody.php index 4c814834c..c49e89312 100644 --- a/src/Admin/Message/CreateDomainBody.php +++ b/src/Admin/Message/CreateDomainBody.php @@ -33,7 +33,7 @@ class CreateDomainBody extends SoapBody #[SerializedName('CreateDomainRequest')] #[Type(CreateDomainRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateDomainBody extends SoapBody #[SerializedName('CreateDomainResponse')] #[Type(CreateDomainResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateDomainBody extends SoapBody * @return self */ public function __construct( - ?CreateDomainRequest $request = NULL, ?CreateDomainResponse $response = NULL + ?CreateDomainRequest $request = null, ?CreateDomainResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateDomainEnvelope.php b/src/Admin/Message/CreateDomainEnvelope.php index 8bcd65a60..4e3304341 100644 --- a/src/Admin/Message/CreateDomainEnvelope.php +++ b/src/Admin/Message/CreateDomainEnvelope.php @@ -35,7 +35,7 @@ class CreateDomainEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateDomainBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateDomainEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateDomainBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateDomainBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateDomainResponse.php b/src/Admin/Message/CreateDomainResponse.php index 2b50aa310..09dc2450d 100644 --- a/src/Admin/Message/CreateDomainResponse.php +++ b/src/Admin/Message/CreateDomainResponse.php @@ -42,7 +42,7 @@ class CreateDomainResponse extends SoapResponse * @param DomainInfo $domain * @return self */ - public function __construct(?DomainInfo $domain = NULL) + public function __construct(?DomainInfo $domain = null) { $this->domain = $domain; } diff --git a/src/Admin/Message/CreateGalSyncAccountBody.php b/src/Admin/Message/CreateGalSyncAccountBody.php index d4a8eee7d..522b06d6a 100644 --- a/src/Admin/Message/CreateGalSyncAccountBody.php +++ b/src/Admin/Message/CreateGalSyncAccountBody.php @@ -33,7 +33,7 @@ class CreateGalSyncAccountBody extends SoapBody #[SerializedName('CreateGalSyncAccountRequest')] #[Type(CreateGalSyncAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateGalSyncAccountBody extends SoapBody #[SerializedName('CreateGalSyncAccountResponse')] #[Type(CreateGalSyncAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateGalSyncAccountBody extends SoapBody * @return self */ public function __construct( - ?CreateGalSyncAccountRequest $request = NULL, ?CreateGalSyncAccountResponse $response = NULL + ?CreateGalSyncAccountRequest $request = null, ?CreateGalSyncAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateGalSyncAccountEnvelope.php b/src/Admin/Message/CreateGalSyncAccountEnvelope.php index a9494432f..68a2910cd 100644 --- a/src/Admin/Message/CreateGalSyncAccountEnvelope.php +++ b/src/Admin/Message/CreateGalSyncAccountEnvelope.php @@ -35,7 +35,7 @@ class CreateGalSyncAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateGalSyncAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateGalSyncAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateGalSyncAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateGalSyncAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateGalSyncAccountRequest.php b/src/Admin/Message/CreateGalSyncAccountRequest.php index 609c04361..c0d836646 100644 --- a/src/Admin/Message/CreateGalSyncAccountRequest.php +++ b/src/Admin/Message/CreateGalSyncAccountRequest.php @@ -123,9 +123,9 @@ public function __construct( string $name = '', string $domain = '', string $mailHost = '', - ?GalMode $type = NULL, - ?string $password = NULL, - ?string $folder = NULL, + ?GalMode $type = null, + ?string $password = null, + ?string $folder = null, array $attrs = [] ) { @@ -135,10 +135,10 @@ public function __construct( ->setMailHost($mailHost) ->setType($type ?? GalMode::BOTH) ->setAttrs($attrs); - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } } diff --git a/src/Admin/Message/CreateGalSyncAccountResponse.php b/src/Admin/Message/CreateGalSyncAccountResponse.php index 823cf87a4..0b3347bd7 100644 --- a/src/Admin/Message/CreateGalSyncAccountResponse.php +++ b/src/Admin/Message/CreateGalSyncAccountResponse.php @@ -42,7 +42,7 @@ class CreateGalSyncAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/CreateLDAPEntryBody.php b/src/Admin/Message/CreateLDAPEntryBody.php index 3f0b1f665..663054405 100644 --- a/src/Admin/Message/CreateLDAPEntryBody.php +++ b/src/Admin/Message/CreateLDAPEntryBody.php @@ -33,7 +33,7 @@ class CreateLDAPEntryBody extends SoapBody #[SerializedName('CreateLDAPEntryRequest')] #[Type(CreateLDAPEntryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateLDAPEntryBody extends SoapBody #[SerializedName('CreateLDAPEntryResponse')] #[Type(CreateLDAPEntryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateLDAPEntryBody extends SoapBody * @return self */ public function __construct( - ?CreateLDAPEntryRequest $request = NULL, ?CreateLDAPEntryResponse $response = NULL + ?CreateLDAPEntryRequest $request = null, ?CreateLDAPEntryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateLDAPEntryEnvelope.php b/src/Admin/Message/CreateLDAPEntryEnvelope.php index ad24a5ebd..3cdc167ea 100644 --- a/src/Admin/Message/CreateLDAPEntryEnvelope.php +++ b/src/Admin/Message/CreateLDAPEntryEnvelope.php @@ -35,7 +35,7 @@ class CreateLDAPEntryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateLDAPEntryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateLDAPEntryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateLDAPEntryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateLDAPEntryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateLDAPEntryResponse.php b/src/Admin/Message/CreateLDAPEntryResponse.php index 9a2db9a67..c33460a1c 100644 --- a/src/Admin/Message/CreateLDAPEntryResponse.php +++ b/src/Admin/Message/CreateLDAPEntryResponse.php @@ -42,7 +42,7 @@ class CreateLDAPEntryResponse extends SoapResponse * @param LDAPEntryInfo $LDAPEntry * @return self */ - public function __construct(?LDAPEntryInfo $LDAPEntry = NULL) + public function __construct(?LDAPEntryInfo $LDAPEntry = null) { $this->LDAPEntry = $LDAPEntry; } diff --git a/src/Admin/Message/CreateServerBody.php b/src/Admin/Message/CreateServerBody.php index ec479fed6..dd45273b3 100644 --- a/src/Admin/Message/CreateServerBody.php +++ b/src/Admin/Message/CreateServerBody.php @@ -33,7 +33,7 @@ class CreateServerBody extends SoapBody #[SerializedName('CreateServerRequest')] #[Type(CreateServerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateServerBody extends SoapBody #[SerializedName('CreateServerResponse')] #[Type(CreateServerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateServerBody extends SoapBody * @return self */ public function __construct( - ?CreateServerRequest $request = NULL, ?CreateServerResponse $response = NULL + ?CreateServerRequest $request = null, ?CreateServerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateServerEnvelope.php b/src/Admin/Message/CreateServerEnvelope.php index 58de36f51..2003bf723 100644 --- a/src/Admin/Message/CreateServerEnvelope.php +++ b/src/Admin/Message/CreateServerEnvelope.php @@ -35,7 +35,7 @@ class CreateServerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateServerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateServerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateServerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateServerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateServerResponse.php b/src/Admin/Message/CreateServerResponse.php index 20c2a9560..403c09ec3 100644 --- a/src/Admin/Message/CreateServerResponse.php +++ b/src/Admin/Message/CreateServerResponse.php @@ -42,7 +42,7 @@ class CreateServerResponse extends SoapResponse * @param ServerInfo $server * @return self */ - public function __construct(?ServerInfo $server = NULL) + public function __construct(?ServerInfo $server = null) { $this->server = $server; } diff --git a/src/Admin/Message/CreateSystemRetentionPolicyBody.php b/src/Admin/Message/CreateSystemRetentionPolicyBody.php index 69f89f15b..992caec76 100644 --- a/src/Admin/Message/CreateSystemRetentionPolicyBody.php +++ b/src/Admin/Message/CreateSystemRetentionPolicyBody.php @@ -33,7 +33,7 @@ class CreateSystemRetentionPolicyBody extends SoapBody #[SerializedName('CreateSystemRetentionPolicyRequest')] #[Type(CreateSystemRetentionPolicyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateSystemRetentionPolicyBody extends SoapBody #[SerializedName('CreateSystemRetentionPolicyResponse')] #[Type(CreateSystemRetentionPolicyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,8 +54,8 @@ class CreateSystemRetentionPolicyBody extends SoapBody * @return self */ public function __construct( - ?CreateSystemRetentionPolicyRequest $request = NULL, - ?CreateSystemRetentionPolicyResponse $response = NULL + ?CreateSystemRetentionPolicyRequest $request = null, + ?CreateSystemRetentionPolicyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateSystemRetentionPolicyEnvelope.php b/src/Admin/Message/CreateSystemRetentionPolicyEnvelope.php index 470a269bd..3bfea688c 100644 --- a/src/Admin/Message/CreateSystemRetentionPolicyEnvelope.php +++ b/src/Admin/Message/CreateSystemRetentionPolicyEnvelope.php @@ -36,7 +36,7 @@ class CreateSystemRetentionPolicyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateSystemRetentionPolicyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class CreateSystemRetentionPolicyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateSystemRetentionPolicyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateSystemRetentionPolicyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateSystemRetentionPolicyRequest.php b/src/Admin/Message/CreateSystemRetentionPolicyRequest.php index aa3c2eba7..2264f21ac 100644 --- a/src/Admin/Message/CreateSystemRetentionPolicyRequest.php +++ b/src/Admin/Message/CreateSystemRetentionPolicyRequest.php @@ -65,7 +65,7 @@ class CreateSystemRetentionPolicyRequest extends SoapRequest * @return self */ public function __construct( - ?CosSelector $cos = NULL, ?PolicyHolder $keep = NULL, ?PolicyHolder $purge = NULL + ?CosSelector $cos = null, ?PolicyHolder $keep = null, ?PolicyHolder $purge = null ) { $this->cos = $cos; @@ -75,12 +75,12 @@ public function __construct( public static function newKeepRequest(Policy $policy): CreateSystemRetentionPolicyRequest { - return new self(NULL, new PolicyHolder($policy)); + return new self(null, new PolicyHolder($policy)); } public static function newPurgeRequest(Policy $policy): CreateSystemRetentionPolicyRequest { - return new self(NULL, NULL, new PolicyHolder($policy)); + return new self(null, null, new PolicyHolder($policy)); } /** diff --git a/src/Admin/Message/CreateSystemRetentionPolicyResponse.php b/src/Admin/Message/CreateSystemRetentionPolicyResponse.php index 9c99b788b..301a1078d 100644 --- a/src/Admin/Message/CreateSystemRetentionPolicyResponse.php +++ b/src/Admin/Message/CreateSystemRetentionPolicyResponse.php @@ -42,7 +42,7 @@ class CreateSystemRetentionPolicyResponse extends SoapResponse * @param Policy $policy * @return self */ - public function __construct(?Policy $policy = NULL) + public function __construct(?Policy $policy = null) { $this->policy = $policy; } diff --git a/src/Admin/Message/CreateUCServiceBody.php b/src/Admin/Message/CreateUCServiceBody.php index c99555672..8422a124a 100644 --- a/src/Admin/Message/CreateUCServiceBody.php +++ b/src/Admin/Message/CreateUCServiceBody.php @@ -33,7 +33,7 @@ class CreateUCServiceBody extends SoapBody #[SerializedName('CreateUCServiceRequest')] #[Type(CreateUCServiceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateUCServiceBody extends SoapBody #[SerializedName('CreateUCServiceResponse')] #[Type(CreateUCServiceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateUCServiceBody extends SoapBody * @return self */ public function __construct( - ?CreateUCServiceRequest $request = NULL, ?CreateUCServiceResponse $response = NULL + ?CreateUCServiceRequest $request = null, ?CreateUCServiceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateUCServiceEnvelope.php b/src/Admin/Message/CreateUCServiceEnvelope.php index 16650a995..0882f552e 100644 --- a/src/Admin/Message/CreateUCServiceEnvelope.php +++ b/src/Admin/Message/CreateUCServiceEnvelope.php @@ -35,7 +35,7 @@ class CreateUCServiceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateUCServiceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateUCServiceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateUCServiceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateUCServiceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateUCServiceResponse.php b/src/Admin/Message/CreateUCServiceResponse.php index cf6b687f2..dd4ca3439 100644 --- a/src/Admin/Message/CreateUCServiceResponse.php +++ b/src/Admin/Message/CreateUCServiceResponse.php @@ -42,7 +42,7 @@ class CreateUCServiceResponse extends SoapResponse * @param UCServiceInfo $ucService * @return self */ - public function __construct(?UCServiceInfo $ucService = NULL) + public function __construct(?UCServiceInfo $ucService = null) { $this->ucService = $ucService; } diff --git a/src/Admin/Message/CreateVolumeBody.php b/src/Admin/Message/CreateVolumeBody.php index 3a1a2721d..9bac338b7 100644 --- a/src/Admin/Message/CreateVolumeBody.php +++ b/src/Admin/Message/CreateVolumeBody.php @@ -33,7 +33,7 @@ class CreateVolumeBody extends SoapBody #[SerializedName('CreateVolumeRequest')] #[Type(CreateVolumeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateVolumeBody extends SoapBody #[SerializedName('CreateVolumeResponse')] #[Type(CreateVolumeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateVolumeBody extends SoapBody * @return self */ public function __construct( - ?CreateVolumeRequest $request = NULL, ?CreateVolumeResponse $response = NULL + ?CreateVolumeRequest $request = null, ?CreateVolumeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateVolumeEnvelope.php b/src/Admin/Message/CreateVolumeEnvelope.php index ca527c480..328e8d274 100644 --- a/src/Admin/Message/CreateVolumeEnvelope.php +++ b/src/Admin/Message/CreateVolumeEnvelope.php @@ -35,7 +35,7 @@ class CreateVolumeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateVolumeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateVolumeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateVolumeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateVolumeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateVolumeResponse.php b/src/Admin/Message/CreateVolumeResponse.php index 6d11f183e..28cd965b4 100644 --- a/src/Admin/Message/CreateVolumeResponse.php +++ b/src/Admin/Message/CreateVolumeResponse.php @@ -42,7 +42,7 @@ class CreateVolumeResponse extends SoapResponse * @param VolumeInfo $volume * @return self */ - public function __construct(?VolumeInfo $volume = NULL) + public function __construct(?VolumeInfo $volume = null) { $this->volume = $volume; } diff --git a/src/Admin/Message/CreateXMPPComponentBody.php b/src/Admin/Message/CreateXMPPComponentBody.php index 0b3f0789b..8ecdb5e29 100644 --- a/src/Admin/Message/CreateXMPPComponentBody.php +++ b/src/Admin/Message/CreateXMPPComponentBody.php @@ -33,7 +33,7 @@ class CreateXMPPComponentBody extends SoapBody #[SerializedName('CreateXMPPComponentRequest')] #[Type(CreateXMPPComponentRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateXMPPComponentBody extends SoapBody #[SerializedName('CreateXMPPComponentResponse')] #[Type(CreateXMPPComponentResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateXMPPComponentBody extends SoapBody * @return self */ public function __construct( - ?CreateXMPPComponentRequest $request = NULL, ?CreateXMPPComponentResponse $response = NULL + ?CreateXMPPComponentRequest $request = null, ?CreateXMPPComponentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateXMPPComponentEnvelope.php b/src/Admin/Message/CreateXMPPComponentEnvelope.php index 65abc878c..808893b14 100644 --- a/src/Admin/Message/CreateXMPPComponentEnvelope.php +++ b/src/Admin/Message/CreateXMPPComponentEnvelope.php @@ -35,7 +35,7 @@ class CreateXMPPComponentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateXMPPComponentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateXMPPComponentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateXMPPComponentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateXMPPComponentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateXMPPComponentResponse.php b/src/Admin/Message/CreateXMPPComponentResponse.php index 6af2f9ced..2ee58f1a5 100644 --- a/src/Admin/Message/CreateXMPPComponentResponse.php +++ b/src/Admin/Message/CreateXMPPComponentResponse.php @@ -42,7 +42,7 @@ class CreateXMPPComponentResponse extends SoapResponse * @param XMPPComponentInfo $component * @return self */ - public function __construct(?XMPPComponentInfo $component = NULL) + public function __construct(?XMPPComponentInfo $component = null) { $this->component = $component; } diff --git a/src/Admin/Message/CreateZimletBody.php b/src/Admin/Message/CreateZimletBody.php index 47c50f2b1..bd7c3b385 100644 --- a/src/Admin/Message/CreateZimletBody.php +++ b/src/Admin/Message/CreateZimletBody.php @@ -33,7 +33,7 @@ class CreateZimletBody extends SoapBody #[SerializedName('CreateZimletRequest')] #[Type(CreateZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateZimletBody extends SoapBody #[SerializedName('CreateZimletResponse')] #[Type(CreateZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateZimletBody extends SoapBody * @return self */ public function __construct( - ?CreateZimletRequest $request = NULL, ?CreateZimletResponse $response = NULL + ?CreateZimletRequest $request = null, ?CreateZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/CreateZimletEnvelope.php b/src/Admin/Message/CreateZimletEnvelope.php index 2ee60c6fb..fa397e353 100644 --- a/src/Admin/Message/CreateZimletEnvelope.php +++ b/src/Admin/Message/CreateZimletEnvelope.php @@ -35,7 +35,7 @@ class CreateZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/CreateZimletResponse.php b/src/Admin/Message/CreateZimletResponse.php index e61675195..367b4d98e 100644 --- a/src/Admin/Message/CreateZimletResponse.php +++ b/src/Admin/Message/CreateZimletResponse.php @@ -42,7 +42,7 @@ class CreateZimletResponse extends SoapResponse * @param ZimletInfo $zimlet * @return self */ - public function __construct(?ZimletInfo $zimlet = NULL) + public function __construct(?ZimletInfo $zimlet = null) { $this->zimlet = $zimlet; } diff --git a/src/Admin/Message/DedupeBlobsBody.php b/src/Admin/Message/DedupeBlobsBody.php index 629e10a25..957ca290b 100644 --- a/src/Admin/Message/DedupeBlobsBody.php +++ b/src/Admin/Message/DedupeBlobsBody.php @@ -33,7 +33,7 @@ class DedupeBlobsBody extends SoapBody #[SerializedName('DedupeBlobsRequest')] #[Type(DedupeBlobsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DedupeBlobsBody extends SoapBody #[SerializedName('DedupeBlobsResponse')] #[Type(DedupeBlobsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DedupeBlobsBody extends SoapBody * @return self */ public function __construct( - ?DedupeBlobsRequest $request = NULL, ?DedupeBlobsResponse $response = NULL + ?DedupeBlobsRequest $request = null, ?DedupeBlobsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DedupeBlobsEnvelope.php b/src/Admin/Message/DedupeBlobsEnvelope.php index fad693f7a..efb6f00c6 100644 --- a/src/Admin/Message/DedupeBlobsEnvelope.php +++ b/src/Admin/Message/DedupeBlobsEnvelope.php @@ -35,7 +35,7 @@ class DedupeBlobsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DedupeBlobsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DedupeBlobsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DedupeBlobsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DedupeBlobsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DedupeBlobsRequest.php b/src/Admin/Message/DedupeBlobsRequest.php index cd745c83a..36edbbdcd 100644 --- a/src/Admin/Message/DedupeBlobsRequest.php +++ b/src/Admin/Message/DedupeBlobsRequest.php @@ -54,7 +54,7 @@ class DedupeBlobsRequest extends SoapRequest * @param array $volumes * @return self */ - public function __construct(?DedupAction $action = NULL, array $volumes = []) + public function __construct(?DedupAction $action = null, array $volumes = []) { $this->setAction($action ?? DedupAction::START) ->setVolumes($volumes); diff --git a/src/Admin/Message/DedupeBlobsResponse.php b/src/Admin/Message/DedupeBlobsResponse.php index 0e2aea805..530cc7353 100644 --- a/src/Admin/Message/DedupeBlobsResponse.php +++ b/src/Admin/Message/DedupeBlobsResponse.php @@ -89,9 +89,9 @@ class DedupeBlobsResponse extends SoapResponse * @return self */ public function __construct( - ?DedupStatus $status = NULL, - ?int $totalSize = NULL, - ?int $totalCount = NULL, + ?DedupStatus $status = null, + ?int $totalSize = null, + ?int $totalCount = null, array $volumeBlobsProgress = [], array $blobDigestsProgress = [] ) @@ -99,10 +99,10 @@ public function __construct( $this->setVolumeBlobsProgress($volumeBlobsProgress) ->setBlobDigestsProgress($blobDigestsProgress); $this->status = $status; - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } - if (NULL !== $totalCount) { + if (null !== $totalCount) { $this->setTotalCount($totalCount); } } diff --git a/src/Admin/Message/DelegateAuthBody.php b/src/Admin/Message/DelegateAuthBody.php index 668785871..a403135e2 100644 --- a/src/Admin/Message/DelegateAuthBody.php +++ b/src/Admin/Message/DelegateAuthBody.php @@ -33,7 +33,7 @@ class DelegateAuthBody extends SoapBody #[SerializedName('DelegateAuthRequest')] #[Type(DelegateAuthRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DelegateAuthBody extends SoapBody #[SerializedName('DelegateAuthResponse')] #[Type(DelegateAuthResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DelegateAuthBody extends SoapBody * @return self */ public function __construct( - ?DelegateAuthRequest $request = NULL, ?DelegateAuthResponse $response = NULL + ?DelegateAuthRequest $request = null, ?DelegateAuthResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DelegateAuthEnvelope.php b/src/Admin/Message/DelegateAuthEnvelope.php index 07cfbb2ad..ae09d91ec 100644 --- a/src/Admin/Message/DelegateAuthEnvelope.php +++ b/src/Admin/Message/DelegateAuthEnvelope.php @@ -35,7 +35,7 @@ class DelegateAuthEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DelegateAuthBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DelegateAuthEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DelegateAuthBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DelegateAuthBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DelegateAuthRequest.php b/src/Admin/Message/DelegateAuthRequest.php index fba8d7e82..36c47ffb0 100644 --- a/src/Admin/Message/DelegateAuthRequest.php +++ b/src/Admin/Message/DelegateAuthRequest.php @@ -57,10 +57,10 @@ class DelegateAuthRequest extends SoapRequest * @param int $duration * @return self */ - public function __construct(AccountSelector $account, ?int $duration = NULL) + public function __construct(AccountSelector $account, ?int $duration = null) { $this->setAccount($account); - if (NULL !== $duration) { + if (null !== $duration) { $this->setDuration($duration); } } diff --git a/src/Admin/Message/DeleteAccountBody.php b/src/Admin/Message/DeleteAccountBody.php index 637b65d7b..07475e40f 100644 --- a/src/Admin/Message/DeleteAccountBody.php +++ b/src/Admin/Message/DeleteAccountBody.php @@ -33,7 +33,7 @@ class DeleteAccountBody extends SoapBody #[SerializedName('DeleteAccountRequest')] #[Type(DeleteAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteAccountBody extends SoapBody #[SerializedName('DeleteAccountResponse')] #[Type(DeleteAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteAccountBody extends SoapBody * @return self */ public function __construct( - ?DeleteAccountRequest $request = NULL, ?DeleteAccountResponse $response = NULL + ?DeleteAccountRequest $request = null, ?DeleteAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteAccountEnvelope.php b/src/Admin/Message/DeleteAccountEnvelope.php index 8a5d20307..008858917 100644 --- a/src/Admin/Message/DeleteAccountEnvelope.php +++ b/src/Admin/Message/DeleteAccountEnvelope.php @@ -35,7 +35,7 @@ class DeleteAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteAlwaysOnClusterBody.php b/src/Admin/Message/DeleteAlwaysOnClusterBody.php index 8637a6fec..1e92e5ddb 100644 --- a/src/Admin/Message/DeleteAlwaysOnClusterBody.php +++ b/src/Admin/Message/DeleteAlwaysOnClusterBody.php @@ -33,7 +33,7 @@ class DeleteAlwaysOnClusterBody extends SoapBody #[SerializedName('DeleteAlwaysOnClusterRequest')] #[Type(DeleteAlwaysOnClusterRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteAlwaysOnClusterBody extends SoapBody #[SerializedName('DeleteAlwaysOnClusterResponse')] #[Type(DeleteAlwaysOnClusterResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteAlwaysOnClusterBody extends SoapBody * @return self */ public function __construct( - ?DeleteAlwaysOnClusterRequest $request = NULL, ?DeleteAlwaysOnClusterResponse $response = NULL + ?DeleteAlwaysOnClusterRequest $request = null, ?DeleteAlwaysOnClusterResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteAlwaysOnClusterEnvelope.php b/src/Admin/Message/DeleteAlwaysOnClusterEnvelope.php index 88902ef42..1ed9e6e34 100644 --- a/src/Admin/Message/DeleteAlwaysOnClusterEnvelope.php +++ b/src/Admin/Message/DeleteAlwaysOnClusterEnvelope.php @@ -35,7 +35,7 @@ class DeleteAlwaysOnClusterEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteAlwaysOnClusterBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteAlwaysOnClusterEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteAlwaysOnClusterBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteAlwaysOnClusterBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteCalendarResourceBody.php b/src/Admin/Message/DeleteCalendarResourceBody.php index 6541fb18d..a1412bbee 100644 --- a/src/Admin/Message/DeleteCalendarResourceBody.php +++ b/src/Admin/Message/DeleteCalendarResourceBody.php @@ -33,7 +33,7 @@ class DeleteCalendarResourceBody extends SoapBody #[SerializedName('DeleteCalendarResourceRequest')] #[Type(DeleteCalendarResourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteCalendarResourceBody extends SoapBody #[SerializedName('DeleteCalendarResourceResponse')] #[Type(DeleteCalendarResourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteCalendarResourceBody extends SoapBody * @return self */ public function __construct( - ?DeleteCalendarResourceRequest $request = NULL, ?DeleteCalendarResourceResponse $response = NULL + ?DeleteCalendarResourceRequest $request = null, ?DeleteCalendarResourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteCalendarResourceEnvelope.php b/src/Admin/Message/DeleteCalendarResourceEnvelope.php index 8d09df41b..43320ccbd 100644 --- a/src/Admin/Message/DeleteCalendarResourceEnvelope.php +++ b/src/Admin/Message/DeleteCalendarResourceEnvelope.php @@ -35,7 +35,7 @@ class DeleteCalendarResourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteCalendarResourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteCalendarResourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteCalendarResourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteCalendarResourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteCosBody.php b/src/Admin/Message/DeleteCosBody.php index 69fb75ba4..1a70d919e 100644 --- a/src/Admin/Message/DeleteCosBody.php +++ b/src/Admin/Message/DeleteCosBody.php @@ -33,7 +33,7 @@ class DeleteCosBody extends SoapBody #[SerializedName('DeleteCosRequest')] #[Type(DeleteCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteCosBody extends SoapBody #[SerializedName('DeleteCosResponse')] #[Type(DeleteCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteCosBody extends SoapBody * @return self */ public function __construct( - ?DeleteCosRequest $request = NULL, ?DeleteCosResponse $response = NULL + ?DeleteCosRequest $request = null, ?DeleteCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteCosEnvelope.php b/src/Admin/Message/DeleteCosEnvelope.php index 95d864c33..1207a4591 100644 --- a/src/Admin/Message/DeleteCosEnvelope.php +++ b/src/Admin/Message/DeleteCosEnvelope.php @@ -35,7 +35,7 @@ class DeleteCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteDataSourceBody.php b/src/Admin/Message/DeleteDataSourceBody.php index f923d7339..ed2f27359 100644 --- a/src/Admin/Message/DeleteDataSourceBody.php +++ b/src/Admin/Message/DeleteDataSourceBody.php @@ -33,7 +33,7 @@ class DeleteDataSourceBody extends SoapBody #[SerializedName('DeleteDataSourceRequest')] #[Type(DeleteDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteDataSourceBody extends SoapBody #[SerializedName('DeleteDataSourceResponse')] #[Type(DeleteDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteDataSourceBody extends SoapBody * @return self */ public function __construct( - ?DeleteDataSourceRequest $request = NULL, ?DeleteDataSourceResponse $response = NULL + ?DeleteDataSourceRequest $request = null, ?DeleteDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteDataSourceEnvelope.php b/src/Admin/Message/DeleteDataSourceEnvelope.php index 773fd6732..d10a96cab 100644 --- a/src/Admin/Message/DeleteDataSourceEnvelope.php +++ b/src/Admin/Message/DeleteDataSourceEnvelope.php @@ -35,7 +35,7 @@ class DeleteDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteDistributionListBody.php b/src/Admin/Message/DeleteDistributionListBody.php index b0648684c..5fb0455dc 100644 --- a/src/Admin/Message/DeleteDistributionListBody.php +++ b/src/Admin/Message/DeleteDistributionListBody.php @@ -33,7 +33,7 @@ class DeleteDistributionListBody extends SoapBody #[SerializedName('DeleteDistributionListRequest')] #[Type(DeleteDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteDistributionListBody extends SoapBody #[SerializedName('DeleteDistributionListResponse')] #[Type(DeleteDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteDistributionListBody extends SoapBody * @return self */ public function __construct( - ?DeleteDistributionListRequest $request = NULL, ?DeleteDistributionListResponse $response = NULL + ?DeleteDistributionListRequest $request = null, ?DeleteDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteDistributionListEnvelope.php b/src/Admin/Message/DeleteDistributionListEnvelope.php index 080ccbbfd..343f22b72 100644 --- a/src/Admin/Message/DeleteDistributionListEnvelope.php +++ b/src/Admin/Message/DeleteDistributionListEnvelope.php @@ -35,7 +35,7 @@ class DeleteDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteDistributionListRequest.php b/src/Admin/Message/DeleteDistributionListRequest.php index 98d3dd460..4e8d51e4c 100644 --- a/src/Admin/Message/DeleteDistributionListRequest.php +++ b/src/Admin/Message/DeleteDistributionListRequest.php @@ -54,10 +54,10 @@ class DeleteDistributionListRequest extends SoapRequest * @param bool $cascadeDelete * @return self */ - public function __construct(string $id = '', ?bool $cascadeDelete = NULL) + public function __construct(string $id = '', ?bool $cascadeDelete = null) { $this->setId($id); - if (NULL !== $cascadeDelete) { + if (null !== $cascadeDelete) { $this->setCascadeDelete($cascadeDelete); } } diff --git a/src/Admin/Message/DeleteDomainBody.php b/src/Admin/Message/DeleteDomainBody.php index 135f463e9..232937d38 100644 --- a/src/Admin/Message/DeleteDomainBody.php +++ b/src/Admin/Message/DeleteDomainBody.php @@ -33,7 +33,7 @@ class DeleteDomainBody extends SoapBody #[SerializedName('DeleteDomainRequest')] #[Type(DeleteDomainRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteDomainBody extends SoapBody #[SerializedName('DeleteDomainResponse')] #[Type(DeleteDomainResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteDomainBody extends SoapBody * @return self */ public function __construct( - ?DeleteDomainRequest $request = NULL, ?DeleteDomainResponse $response = NULL + ?DeleteDomainRequest $request = null, ?DeleteDomainResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteDomainEnvelope.php b/src/Admin/Message/DeleteDomainEnvelope.php index da82126ba..fdd449470 100644 --- a/src/Admin/Message/DeleteDomainEnvelope.php +++ b/src/Admin/Message/DeleteDomainEnvelope.php @@ -35,7 +35,7 @@ class DeleteDomainEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteDomainBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteDomainEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteDomainBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteDomainBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteGalSyncAccountBody.php b/src/Admin/Message/DeleteGalSyncAccountBody.php index ffa5861aa..f8e7044f1 100644 --- a/src/Admin/Message/DeleteGalSyncAccountBody.php +++ b/src/Admin/Message/DeleteGalSyncAccountBody.php @@ -33,7 +33,7 @@ class DeleteGalSyncAccountBody extends SoapBody #[SerializedName('DeleteGalSyncAccountRequest')] #[Type(DeleteGalSyncAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteGalSyncAccountBody extends SoapBody #[SerializedName('DeleteGalSyncAccountResponse')] #[Type(DeleteGalSyncAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteGalSyncAccountBody extends SoapBody * @return self */ public function __construct( - ?DeleteGalSyncAccountRequest $request = NULL, ?DeleteGalSyncAccountResponse $response = NULL + ?DeleteGalSyncAccountRequest $request = null, ?DeleteGalSyncAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteGalSyncAccountEnvelope.php b/src/Admin/Message/DeleteGalSyncAccountEnvelope.php index 91abcf57c..511a7b308 100644 --- a/src/Admin/Message/DeleteGalSyncAccountEnvelope.php +++ b/src/Admin/Message/DeleteGalSyncAccountEnvelope.php @@ -35,7 +35,7 @@ class DeleteGalSyncAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteGalSyncAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteGalSyncAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteGalSyncAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteGalSyncAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteLDAPEntryBody.php b/src/Admin/Message/DeleteLDAPEntryBody.php index 26a266e94..8570b806b 100644 --- a/src/Admin/Message/DeleteLDAPEntryBody.php +++ b/src/Admin/Message/DeleteLDAPEntryBody.php @@ -33,7 +33,7 @@ class DeleteLDAPEntryBody extends SoapBody #[SerializedName('DeleteLDAPEntryRequest')] #[Type(DeleteLDAPEntryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteLDAPEntryBody extends SoapBody #[SerializedName('DeleteLDAPEntryResponse')] #[Type(DeleteLDAPEntryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteLDAPEntryBody extends SoapBody * @return self */ public function __construct( - ?DeleteLDAPEntryRequest $request = NULL, ?DeleteLDAPEntryResponse $response = NULL + ?DeleteLDAPEntryRequest $request = null, ?DeleteLDAPEntryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteLDAPEntryEnvelope.php b/src/Admin/Message/DeleteLDAPEntryEnvelope.php index fe0d9757c..67435eb96 100644 --- a/src/Admin/Message/DeleteLDAPEntryEnvelope.php +++ b/src/Admin/Message/DeleteLDAPEntryEnvelope.php @@ -35,7 +35,7 @@ class DeleteLDAPEntryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteLDAPEntryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteLDAPEntryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteLDAPEntryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteLDAPEntryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteMailboxBody.php b/src/Admin/Message/DeleteMailboxBody.php index bd14fbaf4..7642e01a6 100644 --- a/src/Admin/Message/DeleteMailboxBody.php +++ b/src/Admin/Message/DeleteMailboxBody.php @@ -33,7 +33,7 @@ class DeleteMailboxBody extends SoapBody #[SerializedName('DeleteMailboxRequest')] #[Type(DeleteMailboxRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteMailboxBody extends SoapBody #[SerializedName('DeleteMailboxResponse')] #[Type(DeleteMailboxResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteMailboxBody extends SoapBody * @return self */ public function __construct( - ?DeleteMailboxRequest $request = NULL, ?DeleteMailboxResponse $response = NULL + ?DeleteMailboxRequest $request = null, ?DeleteMailboxResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteMailboxEnvelope.php b/src/Admin/Message/DeleteMailboxEnvelope.php index 4e91ce2ba..2352fc34f 100644 --- a/src/Admin/Message/DeleteMailboxEnvelope.php +++ b/src/Admin/Message/DeleteMailboxEnvelope.php @@ -35,7 +35,7 @@ class DeleteMailboxEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteMailboxBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteMailboxEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteMailboxBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteMailboxBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteMailboxRequest.php b/src/Admin/Message/DeleteMailboxRequest.php index 4d0c90a58..443c05fce 100644 --- a/src/Admin/Message/DeleteMailboxRequest.php +++ b/src/Admin/Message/DeleteMailboxRequest.php @@ -46,7 +46,7 @@ class DeleteMailboxRequest extends SoapRequest * @param Mailbox $mbox * @return self */ - public function __construct(?Mailbox $mbox = NULL) + public function __construct(?Mailbox $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/DeleteMailboxResponse.php b/src/Admin/Message/DeleteMailboxResponse.php index 12dd1db7c..a5bee6d95 100644 --- a/src/Admin/Message/DeleteMailboxResponse.php +++ b/src/Admin/Message/DeleteMailboxResponse.php @@ -42,7 +42,7 @@ class DeleteMailboxResponse extends SoapResponse * @param MailboxId $mbox * @return self */ - public function __construct(?MailboxId $mbox = NULL) + public function __construct(?MailboxId $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/DeleteServerBody.php b/src/Admin/Message/DeleteServerBody.php index 43a3d0a6a..f29b77004 100644 --- a/src/Admin/Message/DeleteServerBody.php +++ b/src/Admin/Message/DeleteServerBody.php @@ -33,7 +33,7 @@ class DeleteServerBody extends SoapBody #[SerializedName('DeleteServerRequest')] #[Type(DeleteServerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteServerBody extends SoapBody #[SerializedName('DeleteServerResponse')] #[Type(DeleteServerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteServerBody extends SoapBody * @return self */ public function __construct( - ?DeleteServerRequest $request = NULL, ?DeleteServerResponse $response = NULL + ?DeleteServerRequest $request = null, ?DeleteServerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteServerEnvelope.php b/src/Admin/Message/DeleteServerEnvelope.php index 598a864fe..a5da1ba7d 100644 --- a/src/Admin/Message/DeleteServerEnvelope.php +++ b/src/Admin/Message/DeleteServerEnvelope.php @@ -35,7 +35,7 @@ class DeleteServerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteServerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteServerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteServerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteServerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteSystemRetentionPolicyBody.php b/src/Admin/Message/DeleteSystemRetentionPolicyBody.php index a11fc0a8c..bda1b0f5c 100644 --- a/src/Admin/Message/DeleteSystemRetentionPolicyBody.php +++ b/src/Admin/Message/DeleteSystemRetentionPolicyBody.php @@ -33,7 +33,7 @@ class DeleteSystemRetentionPolicyBody extends SoapBody #[SerializedName('DeleteSystemRetentionPolicyRequest')] #[Type(DeleteSystemRetentionPolicyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteSystemRetentionPolicyBody extends SoapBody #[SerializedName('DeleteSystemRetentionPolicyResponse')] #[Type(DeleteSystemRetentionPolicyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteSystemRetentionPolicyBody extends SoapBody * @return self */ public function __construct( - ?DeleteSystemRetentionPolicyRequest $request = NULL, ?DeleteSystemRetentionPolicyResponse $response = NULL + ?DeleteSystemRetentionPolicyRequest $request = null, ?DeleteSystemRetentionPolicyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteSystemRetentionPolicyEnvelope.php b/src/Admin/Message/DeleteSystemRetentionPolicyEnvelope.php index 1f005ff9d..b47cbb3c2 100644 --- a/src/Admin/Message/DeleteSystemRetentionPolicyEnvelope.php +++ b/src/Admin/Message/DeleteSystemRetentionPolicyEnvelope.php @@ -36,7 +36,7 @@ class DeleteSystemRetentionPolicyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteSystemRetentionPolicyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class DeleteSystemRetentionPolicyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteSystemRetentionPolicyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteSystemRetentionPolicyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteSystemRetentionPolicyRequest.php b/src/Admin/Message/DeleteSystemRetentionPolicyRequest.php index 6636d9e42..deed083a5 100644 --- a/src/Admin/Message/DeleteSystemRetentionPolicyRequest.php +++ b/src/Admin/Message/DeleteSystemRetentionPolicyRequest.php @@ -56,7 +56,7 @@ class DeleteSystemRetentionPolicyRequest extends SoapRequest * @param CosSelector $cos * @return self */ - public function __construct(Policy $policy, ?CosSelector $cos = NULL) + public function __construct(Policy $policy, ?CosSelector $cos = null) { $this->setPolicy($policy); $this->cos = $cos; diff --git a/src/Admin/Message/DeleteUCServiceBody.php b/src/Admin/Message/DeleteUCServiceBody.php index a1e37aad5..77dd1b32a 100644 --- a/src/Admin/Message/DeleteUCServiceBody.php +++ b/src/Admin/Message/DeleteUCServiceBody.php @@ -33,7 +33,7 @@ class DeleteUCServiceBody extends SoapBody #[SerializedName('DeleteUCServiceRequest')] #[Type(DeleteUCServiceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteUCServiceBody extends SoapBody #[SerializedName('DeleteUCServiceResponse')] #[Type(DeleteUCServiceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteUCServiceBody extends SoapBody * @return self */ public function __construct( - ?DeleteUCServiceRequest $request = NULL, ?DeleteUCServiceResponse $response = NULL + ?DeleteUCServiceRequest $request = null, ?DeleteUCServiceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteUCServiceEnvelope.php b/src/Admin/Message/DeleteUCServiceEnvelope.php index 4f50069ce..232e8241e 100644 --- a/src/Admin/Message/DeleteUCServiceEnvelope.php +++ b/src/Admin/Message/DeleteUCServiceEnvelope.php @@ -35,7 +35,7 @@ class DeleteUCServiceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteUCServiceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteUCServiceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteUCServiceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteUCServiceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteVolumeBody.php b/src/Admin/Message/DeleteVolumeBody.php index 90cfd84c0..9d568efac 100644 --- a/src/Admin/Message/DeleteVolumeBody.php +++ b/src/Admin/Message/DeleteVolumeBody.php @@ -33,7 +33,7 @@ class DeleteVolumeBody extends SoapBody #[SerializedName('DeleteVolumeRequest')] #[Type(DeleteVolumeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteVolumeBody extends SoapBody #[SerializedName('DeleteVolumeResponse')] #[Type(DeleteVolumeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteVolumeBody extends SoapBody * @return self */ public function __construct( - ?DeleteVolumeRequest $request = NULL, ?DeleteVolumeResponse $response = NULL + ?DeleteVolumeRequest $request = null, ?DeleteVolumeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteVolumeEnvelope.php b/src/Admin/Message/DeleteVolumeEnvelope.php index ac08b75fc..950adfb05 100644 --- a/src/Admin/Message/DeleteVolumeEnvelope.php +++ b/src/Admin/Message/DeleteVolumeEnvelope.php @@ -35,7 +35,7 @@ class DeleteVolumeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteVolumeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteVolumeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteVolumeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteVolumeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteXMPPComponentBody.php b/src/Admin/Message/DeleteXMPPComponentBody.php index 18baa78c6..6e21de874 100644 --- a/src/Admin/Message/DeleteXMPPComponentBody.php +++ b/src/Admin/Message/DeleteXMPPComponentBody.php @@ -33,7 +33,7 @@ class DeleteXMPPComponentBody extends SoapBody #[SerializedName('DeleteXMPPComponentRequest')] #[Type(DeleteXMPPComponentRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteXMPPComponentBody extends SoapBody #[SerializedName('DeleteXMPPComponentResponse')] #[Type(DeleteXMPPComponentResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteXMPPComponentBody extends SoapBody * @return self */ public function __construct( - ?DeleteXMPPComponentRequest $request = NULL, ?DeleteXMPPComponentResponse $response = NULL + ?DeleteXMPPComponentRequest $request = null, ?DeleteXMPPComponentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteXMPPComponentEnvelope.php b/src/Admin/Message/DeleteXMPPComponentEnvelope.php index d5285bd39..7465b7eaa 100644 --- a/src/Admin/Message/DeleteXMPPComponentEnvelope.php +++ b/src/Admin/Message/DeleteXMPPComponentEnvelope.php @@ -35,7 +35,7 @@ class DeleteXMPPComponentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteXMPPComponentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteXMPPComponentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteXMPPComponentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteXMPPComponentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeleteXMPPComponentRequest.php b/src/Admin/Message/DeleteXMPPComponentRequest.php index cdb94ad0f..2ed366e88 100644 --- a/src/Admin/Message/DeleteXMPPComponentRequest.php +++ b/src/Admin/Message/DeleteXMPPComponentRequest.php @@ -43,7 +43,7 @@ class DeleteXMPPComponentRequest extends SoapRequest * @param Component $component * @return self */ - public function __construct(?Component $component = NULL) + public function __construct(?Component $component = null) { $this->component = $component; } diff --git a/src/Admin/Message/DeleteZimletBody.php b/src/Admin/Message/DeleteZimletBody.php index a9af8ee17..b381660e4 100644 --- a/src/Admin/Message/DeleteZimletBody.php +++ b/src/Admin/Message/DeleteZimletBody.php @@ -33,7 +33,7 @@ class DeleteZimletBody extends SoapBody #[SerializedName('DeleteZimletRequest')] #[Type(DeleteZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteZimletBody extends SoapBody #[SerializedName('DeleteZimletResponse')] #[Type(DeleteZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteZimletBody extends SoapBody * @return self */ public function __construct( - ?DeleteZimletRequest $request = NULL, ?DeleteZimletResponse $response = NULL + ?DeleteZimletRequest $request = null, ?DeleteZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeleteZimletEnvelope.php b/src/Admin/Message/DeleteZimletEnvelope.php index 2b46b8de2..5204d2981 100644 --- a/src/Admin/Message/DeleteZimletEnvelope.php +++ b/src/Admin/Message/DeleteZimletEnvelope.php @@ -35,7 +35,7 @@ class DeleteZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeployZimletBody.php b/src/Admin/Message/DeployZimletBody.php index 2493e4a7f..510181d28 100644 --- a/src/Admin/Message/DeployZimletBody.php +++ b/src/Admin/Message/DeployZimletBody.php @@ -33,7 +33,7 @@ class DeployZimletBody extends SoapBody #[SerializedName('DeployZimletRequest')] #[Type(DeployZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeployZimletBody extends SoapBody #[SerializedName('DeployZimletResponse')] #[Type(DeployZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeployZimletBody extends SoapBody * @return self */ public function __construct( - ?DeployZimletRequest $request = NULL, ?DeployZimletResponse $response = NULL + ?DeployZimletRequest $request = null, ?DeployZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DeployZimletEnvelope.php b/src/Admin/Message/DeployZimletEnvelope.php index b7635d5a3..32116b79d 100644 --- a/src/Admin/Message/DeployZimletEnvelope.php +++ b/src/Admin/Message/DeployZimletEnvelope.php @@ -35,7 +35,7 @@ class DeployZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeployZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeployZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeployZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeployZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DeployZimletRequest.php b/src/Admin/Message/DeployZimletRequest.php index c8b3a02e6..087f030ea 100644 --- a/src/Admin/Message/DeployZimletRequest.php +++ b/src/Admin/Message/DeployZimletRequest.php @@ -81,17 +81,17 @@ class DeployZimletRequest extends SoapRequest */ public function __construct( AttachmentIdAttrib $content, - ?ZimletDeployAction $action = NULL, - ?bool $flushCache = NULL, - ?bool $synchronous = NULL + ?ZimletDeployAction $action = null, + ?bool $flushCache = null, + ?bool $synchronous = null ) { $this->setAction($action ?? ZimletDeployAction::DEPLOY_ALL) ->setContent($content); - if (NULL !== $flushCache) { + if (null !== $flushCache) { $this->setFlushCache($flushCache); } - if (NULL !== $synchronous) { + if (null !== $synchronous) { $this->setSynchronous($synchronous); } } diff --git a/src/Admin/Message/DumpSessionsBody.php b/src/Admin/Message/DumpSessionsBody.php index 82cd1e4d3..c9ccfeea4 100644 --- a/src/Admin/Message/DumpSessionsBody.php +++ b/src/Admin/Message/DumpSessionsBody.php @@ -33,7 +33,7 @@ class DumpSessionsBody extends SoapBody #[SerializedName('DumpSessionsRequest')] #[Type(DumpSessionsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DumpSessionsBody extends SoapBody #[SerializedName('DumpSessionsResponse')] #[Type(DumpSessionsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DumpSessionsBody extends SoapBody * @return self */ public function __construct( - ?DumpSessionsRequest $request = NULL, ?DumpSessionsResponse $response = NULL + ?DumpSessionsRequest $request = null, ?DumpSessionsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/DumpSessionsEnvelope.php b/src/Admin/Message/DumpSessionsEnvelope.php index 1d68bb7c3..9a419a3cd 100644 --- a/src/Admin/Message/DumpSessionsEnvelope.php +++ b/src/Admin/Message/DumpSessionsEnvelope.php @@ -35,7 +35,7 @@ class DumpSessionsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DumpSessionsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DumpSessionsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DumpSessionsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DumpSessionsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/DumpSessionsRequest.php b/src/Admin/Message/DumpSessionsRequest.php index 5af27d514..2b4f0a9cd 100644 --- a/src/Admin/Message/DumpSessionsRequest.php +++ b/src/Admin/Message/DumpSessionsRequest.php @@ -54,12 +54,12 @@ class DumpSessionsRequest extends SoapRequest * @param bool $groupByAccount * @return self */ - public function __construct(?bool $includeAccounts = NULL, ?bool $groupByAccount = NULL) + public function __construct(?bool $includeAccounts = null, ?bool $groupByAccount = null) { - if (NULL !== $includeAccounts) { + if (null !== $includeAccounts) { $this->setIncludeAccounts($includeAccounts); } - if (NULL !== $groupByAccount) { + if (null !== $groupByAccount) { $this->setGroupByAccount($groupByAccount); } } diff --git a/src/Admin/Message/DumpSessionsResponse.php b/src/Admin/Message/DumpSessionsResponse.php index 1f3e9e5a4..6fd86bdfd 100644 --- a/src/Admin/Message/DumpSessionsResponse.php +++ b/src/Admin/Message/DumpSessionsResponse.php @@ -116,12 +116,12 @@ class DumpSessionsResponse extends SoapResponse */ public function __construct( int $totalActiveSessions = 0, - ?InfoForSessionType $soapSessions = NULL, - ?InfoForSessionType $imapSessions = NULL, - ?InfoForSessionType $adminSessions = NULL, - ?InfoForSessionType $wikiSessions = NULL, - ?InfoForSessionType $synclistenerSessions = NULL, - ?InfoForSessionType $waitsetSessions = NULL + ?InfoForSessionType $soapSessions = null, + ?InfoForSessionType $imapSessions = null, + ?InfoForSessionType $adminSessions = null, + ?InfoForSessionType $wikiSessions = null, + ?InfoForSessionType $synclistenerSessions = null, + ?InfoForSessionType $waitsetSessions = null ) { $this->setTotalActiveSessions($totalActiveSessions); diff --git a/src/Admin/Message/ExportAndDeleteItemsBody.php b/src/Admin/Message/ExportAndDeleteItemsBody.php index baee8f7ab..6e2013d4f 100644 --- a/src/Admin/Message/ExportAndDeleteItemsBody.php +++ b/src/Admin/Message/ExportAndDeleteItemsBody.php @@ -33,7 +33,7 @@ class ExportAndDeleteItemsBody extends SoapBody #[SerializedName('ExportAndDeleteItemsRequest')] #[Type(ExportAndDeleteItemsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ExportAndDeleteItemsBody extends SoapBody #[SerializedName('ExportAndDeleteItemsResponse')] #[Type(ExportAndDeleteItemsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ExportAndDeleteItemsBody extends SoapBody * @return self */ public function __construct( - ?ExportAndDeleteItemsRequest $request = NULL, ?ExportAndDeleteItemsResponse $response = NULL + ?ExportAndDeleteItemsRequest $request = null, ?ExportAndDeleteItemsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ExportAndDeleteItemsEnvelope.php b/src/Admin/Message/ExportAndDeleteItemsEnvelope.php index a8d948531..55e714c10 100644 --- a/src/Admin/Message/ExportAndDeleteItemsEnvelope.php +++ b/src/Admin/Message/ExportAndDeleteItemsEnvelope.php @@ -35,7 +35,7 @@ class ExportAndDeleteItemsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ExportAndDeleteItemsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ExportAndDeleteItemsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ExportAndDeleteItemsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ExportAndDeleteItemsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ExportAndDeleteItemsRequest.php b/src/Admin/Message/ExportAndDeleteItemsRequest.php index 8bf8f88cb..bc5db8a07 100644 --- a/src/Admin/Message/ExportAndDeleteItemsRequest.php +++ b/src/Admin/Message/ExportAndDeleteItemsRequest.php @@ -70,14 +70,14 @@ class ExportAndDeleteItemsRequest extends SoapRequest * @return self */ public function __construct( - Mailbox $mailbox, ?string $exportDir = NULL, ?string $exportFilenamePrefix = NULL + Mailbox $mailbox, ?string $exportDir = null, ?string $exportFilenamePrefix = null ) { $this->setMailbox($mailbox); - if (NULL !== $exportDir) { + if (null !== $exportDir) { $this->setExportDir($exportDir); } - if (NULL !== $exportFilenamePrefix) { + if (null !== $exportFilenamePrefix) { $this->setExportFilenamePrefix($exportFilenamePrefix); } } diff --git a/src/Admin/Message/FixCalendarEndTimeBody.php b/src/Admin/Message/FixCalendarEndTimeBody.php index f42f9c69d..ecb881ac3 100644 --- a/src/Admin/Message/FixCalendarEndTimeBody.php +++ b/src/Admin/Message/FixCalendarEndTimeBody.php @@ -33,7 +33,7 @@ class FixCalendarEndTimeBody extends SoapBody #[SerializedName('FixCalendarEndTimeRequest')] #[Type(FixCalendarEndTimeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FixCalendarEndTimeBody extends SoapBody #[SerializedName('FixCalendarEndTimeResponse')] #[Type(FixCalendarEndTimeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FixCalendarEndTimeBody extends SoapBody * @return self */ public function __construct( - ?FixCalendarEndTimeRequest $request = NULL, ?FixCalendarEndTimeResponse $response = NULL + ?FixCalendarEndTimeRequest $request = null, ?FixCalendarEndTimeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/FixCalendarEndTimeEnvelope.php b/src/Admin/Message/FixCalendarEndTimeEnvelope.php index 598e801d0..fbe6ea910 100644 --- a/src/Admin/Message/FixCalendarEndTimeEnvelope.php +++ b/src/Admin/Message/FixCalendarEndTimeEnvelope.php @@ -35,7 +35,7 @@ class FixCalendarEndTimeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FixCalendarEndTimeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FixCalendarEndTimeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FixCalendarEndTimeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FixCalendarEndTimeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/FixCalendarEndTimeRequest.php b/src/Admin/Message/FixCalendarEndTimeRequest.php index 48893b2fd..aec33c2d2 100644 --- a/src/Admin/Message/FixCalendarEndTimeRequest.php +++ b/src/Admin/Message/FixCalendarEndTimeRequest.php @@ -57,10 +57,10 @@ class FixCalendarEndTimeRequest extends SoapRequest * @param array $accounts * @return self */ - public function __construct(?bool $sync = NULL, array $accounts = []) + public function __construct(?bool $sync = null, array $accounts = []) { $this->setAccounts($accounts); - if (NULL !== $sync) { + if (null !== $sync) { $this->setSync($sync); } } diff --git a/src/Admin/Message/FixCalendarPriorityBody.php b/src/Admin/Message/FixCalendarPriorityBody.php index 02ed5c423..c674dc9a3 100644 --- a/src/Admin/Message/FixCalendarPriorityBody.php +++ b/src/Admin/Message/FixCalendarPriorityBody.php @@ -33,7 +33,7 @@ class FixCalendarPriorityBody extends SoapBody #[SerializedName('FixCalendarPriorityRequest')] #[Type(FixCalendarPriorityRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FixCalendarPriorityBody extends SoapBody #[SerializedName('FixCalendarPriorityResponse')] #[Type(FixCalendarPriorityResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FixCalendarPriorityBody extends SoapBody * @return self */ public function __construct( - ?FixCalendarPriorityRequest $request = NULL, ?FixCalendarPriorityResponse $response = NULL + ?FixCalendarPriorityRequest $request = null, ?FixCalendarPriorityResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/FixCalendarPriorityEnvelope.php b/src/Admin/Message/FixCalendarPriorityEnvelope.php index ad9e85192..fa8c946dc 100644 --- a/src/Admin/Message/FixCalendarPriorityEnvelope.php +++ b/src/Admin/Message/FixCalendarPriorityEnvelope.php @@ -35,7 +35,7 @@ class FixCalendarPriorityEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FixCalendarPriorityBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FixCalendarPriorityEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FixCalendarPriorityBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FixCalendarPriorityBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/FixCalendarPriorityRequest.php b/src/Admin/Message/FixCalendarPriorityRequest.php index 40567b745..8e6eb2d67 100644 --- a/src/Admin/Message/FixCalendarPriorityRequest.php +++ b/src/Admin/Message/FixCalendarPriorityRequest.php @@ -55,10 +55,10 @@ class FixCalendarPriorityRequest extends SoapRequest * @param array $accounts * @return self */ - public function __construct(?bool $sync = NULL, array $accounts = []) + public function __construct(?bool $sync = null, array $accounts = []) { $this->setAccounts($accounts); - if (NULL !== $sync) { + if (null !== $sync) { $this->setSync($sync); } } diff --git a/src/Admin/Message/FixCalendarTZBody.php b/src/Admin/Message/FixCalendarTZBody.php index 51bac2ac7..9e9492c13 100644 --- a/src/Admin/Message/FixCalendarTZBody.php +++ b/src/Admin/Message/FixCalendarTZBody.php @@ -33,7 +33,7 @@ class FixCalendarTZBody extends SoapBody #[SerializedName('FixCalendarTZRequest')] #[Type(FixCalendarTZRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FixCalendarTZBody extends SoapBody #[SerializedName('FixCalendarTZResponse')] #[Type(FixCalendarTZResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FixCalendarTZBody extends SoapBody * @return self */ public function __construct( - ?FixCalendarTZRequest $request = NULL, ?FixCalendarTZResponse $response = NULL + ?FixCalendarTZRequest $request = null, ?FixCalendarTZResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/FixCalendarTZEnvelope.php b/src/Admin/Message/FixCalendarTZEnvelope.php index d6a140af7..c9970f7f6 100644 --- a/src/Admin/Message/FixCalendarTZEnvelope.php +++ b/src/Admin/Message/FixCalendarTZEnvelope.php @@ -35,7 +35,7 @@ class FixCalendarTZEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FixCalendarTZBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FixCalendarTZEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FixCalendarTZBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FixCalendarTZBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/FixCalendarTZRequest.php b/src/Admin/Message/FixCalendarTZRequest.php index d140c2983..6759aecdb 100644 --- a/src/Admin/Message/FixCalendarTZRequest.php +++ b/src/Admin/Message/FixCalendarTZRequest.php @@ -82,15 +82,15 @@ class FixCalendarTZRequest extends SoapRequest * @return self */ public function __construct( - ?bool $sync = NULL, ?int $after = NULL, array $accounts = [], ?TzFixup $tzFixup = NULL + ?bool $sync = null, ?int $after = null, array $accounts = [], ?TzFixup $tzFixup = null ) { $this->setAccounts($accounts); $this->tzFixup = $tzFixup; - if (NULL !== $sync) { + if (null !== $sync) { $this->setSync($sync); } - if (NULL !== $after) { + if (null !== $after) { $this->setAfter($after); } } diff --git a/src/Admin/Message/FlushCacheBody.php b/src/Admin/Message/FlushCacheBody.php index 3f0f1a35d..5c20a6985 100644 --- a/src/Admin/Message/FlushCacheBody.php +++ b/src/Admin/Message/FlushCacheBody.php @@ -33,7 +33,7 @@ class FlushCacheBody extends SoapBody #[SerializedName('FlushCacheRequest')] #[Type(FlushCacheRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FlushCacheBody extends SoapBody #[SerializedName('FlushCacheResponse')] #[Type(FlushCacheResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FlushCacheBody extends SoapBody * @return self */ public function __construct( - ?FlushCacheRequest $request = NULL, ?FlushCacheResponse $response = NULL + ?FlushCacheRequest $request = null, ?FlushCacheResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/FlushCacheEnvelope.php b/src/Admin/Message/FlushCacheEnvelope.php index 3ca88c879..36c2f52cf 100644 --- a/src/Admin/Message/FlushCacheEnvelope.php +++ b/src/Admin/Message/FlushCacheEnvelope.php @@ -35,7 +35,7 @@ class FlushCacheEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FlushCacheBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FlushCacheEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FlushCacheBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FlushCacheBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/FlushCacheRequest.php b/src/Admin/Message/FlushCacheRequest.php index 06edaea25..91921de32 100644 --- a/src/Admin/Message/FlushCacheRequest.php +++ b/src/Admin/Message/FlushCacheRequest.php @@ -53,7 +53,7 @@ class FlushCacheRequest extends SoapRequest * @param CacheSelector $cache * @return self */ - public function __construct(?CacheSelector $cache = NULL) + public function __construct(?CacheSelector $cache = null) { $this->cache = $cache; } diff --git a/src/Admin/Message/GetAccountBody.php b/src/Admin/Message/GetAccountBody.php index d196ce083..1761e1e52 100644 --- a/src/Admin/Message/GetAccountBody.php +++ b/src/Admin/Message/GetAccountBody.php @@ -33,7 +33,7 @@ class GetAccountBody extends SoapBody #[SerializedName('GetAccountRequest')] #[Type(GetAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountBody extends SoapBody #[SerializedName('GetAccountResponse')] #[Type(GetAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountBody extends SoapBody * @return self */ public function __construct( - ?GetAccountRequest $request = NULL, ?GetAccountResponse $response = NULL + ?GetAccountRequest $request = null, ?GetAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAccountEnvelope.php b/src/Admin/Message/GetAccountEnvelope.php index 48287b79b..3be8811ed 100644 --- a/src/Admin/Message/GetAccountEnvelope.php +++ b/src/Admin/Message/GetAccountEnvelope.php @@ -35,7 +35,7 @@ class GetAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAccountInfoBody.php b/src/Admin/Message/GetAccountInfoBody.php index 67f1f26e0..a1eb11144 100644 --- a/src/Admin/Message/GetAccountInfoBody.php +++ b/src/Admin/Message/GetAccountInfoBody.php @@ -33,7 +33,7 @@ class GetAccountInfoBody extends SoapBody #[SerializedName('GetAccountInfoRequest')] #[Type(GetAccountInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountInfoBody extends SoapBody #[SerializedName('GetAccountInfoResponse')] #[Type(GetAccountInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountInfoBody extends SoapBody * @return self */ public function __construct( - ?GetAccountInfoRequest $request = NULL, ?GetAccountInfoResponse $response = NULL + ?GetAccountInfoRequest $request = null, ?GetAccountInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAccountInfoEnvelope.php b/src/Admin/Message/GetAccountInfoEnvelope.php index 638436100..252578aa8 100644 --- a/src/Admin/Message/GetAccountInfoEnvelope.php +++ b/src/Admin/Message/GetAccountInfoEnvelope.php @@ -35,7 +35,7 @@ class GetAccountInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAccountInfoResponse.php b/src/Admin/Message/GetAccountInfoResponse.php index 122d7f89e..c33b1198d 100644 --- a/src/Admin/Message/GetAccountInfoResponse.php +++ b/src/Admin/Message/GetAccountInfoResponse.php @@ -103,20 +103,20 @@ class GetAccountInfoResponse extends SoapResponse public function __construct( string $name = '', array $attrList = [], - ?CosInfo $cos = NULL, + ?CosInfo $cos = null, array $soapURLList = [], - string $adminSoapURL = NULL, - string $publicMailURL = NULL + string $adminSoapURL = null, + string $publicMailURL = null ) { $this->setName($name) ->setAttrList($attrList) ->setSoapURLList($soapURLList); $this->cos = $cos; - if (NULL !== $adminSoapURL) { + if (null !== $adminSoapURL) { $this->setAdminSoapURL($adminSoapURL); } - if (NULL !== $publicMailURL) { + if (null !== $publicMailURL) { $this->setPublicMailURL($publicMailURL); } } diff --git a/src/Admin/Message/GetAccountLoggersBody.php b/src/Admin/Message/GetAccountLoggersBody.php index 5bb649fa2..921d2cb77 100644 --- a/src/Admin/Message/GetAccountLoggersBody.php +++ b/src/Admin/Message/GetAccountLoggersBody.php @@ -33,7 +33,7 @@ class GetAccountLoggersBody extends SoapBody #[SerializedName('GetAccountLoggersRequest')] #[Type(GetAccountLoggersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountLoggersBody extends SoapBody #[SerializedName('GetAccountLoggersResponse')] #[Type(GetAccountLoggersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountLoggersBody extends SoapBody * @return self */ public function __construct( - ?GetAccountLoggersRequest $request = NULL, ?GetAccountLoggersResponse $response = NULL + ?GetAccountLoggersRequest $request = null, ?GetAccountLoggersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAccountLoggersEnvelope.php b/src/Admin/Message/GetAccountLoggersEnvelope.php index 2bdd5341a..3585e5f1f 100644 --- a/src/Admin/Message/GetAccountLoggersEnvelope.php +++ b/src/Admin/Message/GetAccountLoggersEnvelope.php @@ -35,7 +35,7 @@ class GetAccountLoggersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountLoggersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountLoggersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountLoggersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountLoggersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAccountLoggersRequest.php b/src/Admin/Message/GetAccountLoggersRequest.php index a77ee60da..65488d327 100644 --- a/src/Admin/Message/GetAccountLoggersRequest.php +++ b/src/Admin/Message/GetAccountLoggersRequest.php @@ -55,10 +55,10 @@ class GetAccountLoggersRequest extends SoapRequest * @param AccountSelector $account * @return self */ - public function __construct(?string $id = NULL, ?AccountSelector $account = NULL) + public function __construct(?string $id = null, ?AccountSelector $account = null) { $this->account = $account; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Admin/Message/GetAccountMembershipBody.php b/src/Admin/Message/GetAccountMembershipBody.php index 7eb68524c..5cbe9a5e4 100644 --- a/src/Admin/Message/GetAccountMembershipBody.php +++ b/src/Admin/Message/GetAccountMembershipBody.php @@ -33,7 +33,7 @@ class GetAccountMembershipBody extends SoapBody #[SerializedName('GetAccountMembershipRequest')] #[Type(GetAccountMembershipRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAccountMembershipBody extends SoapBody #[SerializedName('GetAccountMembershipResponse')] #[Type(GetAccountMembershipResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAccountMembershipBody extends SoapBody * @return self */ public function __construct( - ?GetAccountMembershipRequest $request = NULL, ?GetAccountMembershipResponse $response = NULL + ?GetAccountMembershipRequest $request = null, ?GetAccountMembershipResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAccountMembershipEnvelope.php b/src/Admin/Message/GetAccountMembershipEnvelope.php index ae74528b6..3babe2b5f 100644 --- a/src/Admin/Message/GetAccountMembershipEnvelope.php +++ b/src/Admin/Message/GetAccountMembershipEnvelope.php @@ -35,7 +35,7 @@ class GetAccountMembershipEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAccountMembershipBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAccountMembershipEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAccountMembershipBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAccountMembershipBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAccountRequest.php b/src/Admin/Message/GetAccountRequest.php index 36df6f551..f7afb38f1 100644 --- a/src/Admin/Message/GetAccountRequest.php +++ b/src/Admin/Message/GetAccountRequest.php @@ -78,17 +78,17 @@ class GetAccountRequest extends SoapRequest implements AttributeSelector * @return self */ public function __construct( - AccountSelector $account, ?bool $applyCos = NULL, ?bool $effectiveQuota = NULL, ?string $attrs = NULL + AccountSelector $account, ?bool $applyCos = null, ?bool $effectiveQuota = null, ?string $attrs = null ) { $this->setAccount($account); - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } - if (NULL !== $effectiveQuota) { + if (null !== $effectiveQuota) { $this->setEffectiveQuota($effectiveQuota); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetAccountResponse.php b/src/Admin/Message/GetAccountResponse.php index dd21e8173..dfcb8dd50 100644 --- a/src/Admin/Message/GetAccountResponse.php +++ b/src/Admin/Message/GetAccountResponse.php @@ -42,7 +42,7 @@ class GetAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/GetAdminConsoleUICompBody.php b/src/Admin/Message/GetAdminConsoleUICompBody.php index 1a81f5b44..f4a3bb79a 100644 --- a/src/Admin/Message/GetAdminConsoleUICompBody.php +++ b/src/Admin/Message/GetAdminConsoleUICompBody.php @@ -33,7 +33,7 @@ class GetAdminConsoleUICompBody extends SoapBody #[SerializedName('GetAdminConsoleUICompRequest')] #[Type(GetAdminConsoleUICompRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAdminConsoleUICompBody extends SoapBody #[SerializedName('GetAdminConsoleUICompResponse')] #[Type(GetAdminConsoleUICompResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAdminConsoleUICompBody extends SoapBody * @return self */ public function __construct( - ?GetAdminConsoleUICompRequest $request = NULL, ?GetAdminConsoleUICompResponse $response = NULL + ?GetAdminConsoleUICompRequest $request = null, ?GetAdminConsoleUICompResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAdminConsoleUICompEnvelope.php b/src/Admin/Message/GetAdminConsoleUICompEnvelope.php index 1bd302160..8374431eb 100644 --- a/src/Admin/Message/GetAdminConsoleUICompEnvelope.php +++ b/src/Admin/Message/GetAdminConsoleUICompEnvelope.php @@ -35,7 +35,7 @@ class GetAdminConsoleUICompEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAdminConsoleUICompBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAdminConsoleUICompEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAdminConsoleUICompBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAdminConsoleUICompBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAdminConsoleUICompRequest.php b/src/Admin/Message/GetAdminConsoleUICompRequest.php index ed4e17e17..d472de912 100644 --- a/src/Admin/Message/GetAdminConsoleUICompRequest.php +++ b/src/Admin/Message/GetAdminConsoleUICompRequest.php @@ -56,7 +56,7 @@ class GetAdminConsoleUICompRequest extends SoapRequest * @param DlSelector $dl * @return self */ - public function __construct(?AccountSelector $account = NULL, ?DlSelector $dl = NULL) + public function __construct(?AccountSelector $account = null, ?DlSelector $dl = null) { $this->account = $account; $this->dl = $dl; diff --git a/src/Admin/Message/GetAdminExtensionZimletsBody.php b/src/Admin/Message/GetAdminExtensionZimletsBody.php index 646b6e19b..491ed5c46 100644 --- a/src/Admin/Message/GetAdminExtensionZimletsBody.php +++ b/src/Admin/Message/GetAdminExtensionZimletsBody.php @@ -33,7 +33,7 @@ class GetAdminExtensionZimletsBody extends SoapBody #[SerializedName('GetAdminExtensionZimletsRequest')] #[Type(GetAdminExtensionZimletsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAdminExtensionZimletsBody extends SoapBody #[SerializedName('GetAdminExtensionZimletsResponse')] #[Type(GetAdminExtensionZimletsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAdminExtensionZimletsBody extends SoapBody * @return self */ public function __construct( - ?GetAdminExtensionZimletsRequest $request = NULL, ?GetAdminExtensionZimletsResponse $response = NULL + ?GetAdminExtensionZimletsRequest $request = null, ?GetAdminExtensionZimletsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAdminExtensionZimletsEnvelope.php b/src/Admin/Message/GetAdminExtensionZimletsEnvelope.php index 3601dd983..cd27277c4 100644 --- a/src/Admin/Message/GetAdminExtensionZimletsEnvelope.php +++ b/src/Admin/Message/GetAdminExtensionZimletsEnvelope.php @@ -35,7 +35,7 @@ class GetAdminExtensionZimletsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAdminExtensionZimletsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAdminExtensionZimletsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAdminExtensionZimletsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAdminExtensionZimletsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAdminSavedSearchesBody.php b/src/Admin/Message/GetAdminSavedSearchesBody.php index e2a370c9b..508970e43 100644 --- a/src/Admin/Message/GetAdminSavedSearchesBody.php +++ b/src/Admin/Message/GetAdminSavedSearchesBody.php @@ -33,7 +33,7 @@ class GetAdminSavedSearchesBody extends SoapBody #[SerializedName('GetAdminSavedSearchesRequest')] #[Type(GetAdminSavedSearchesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAdminSavedSearchesBody extends SoapBody #[SerializedName('GetAdminSavedSearchesResponse')] #[Type(GetAdminSavedSearchesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAdminSavedSearchesBody extends SoapBody * @return self */ public function __construct( - ?GetAdminSavedSearchesRequest $request = NULL, ?GetAdminSavedSearchesResponse $response = NULL + ?GetAdminSavedSearchesRequest $request = null, ?GetAdminSavedSearchesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAdminSavedSearchesEnvelope.php b/src/Admin/Message/GetAdminSavedSearchesEnvelope.php index 84c0e1d07..e7500fbcb 100644 --- a/src/Admin/Message/GetAdminSavedSearchesEnvelope.php +++ b/src/Admin/Message/GetAdminSavedSearchesEnvelope.php @@ -35,7 +35,7 @@ class GetAdminSavedSearchesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAdminSavedSearchesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAdminSavedSearchesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAdminSavedSearchesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAdminSavedSearchesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAggregateQuotaUsageOnServerBody.php b/src/Admin/Message/GetAggregateQuotaUsageOnServerBody.php index 61e640ae7..ebaf405ef 100644 --- a/src/Admin/Message/GetAggregateQuotaUsageOnServerBody.php +++ b/src/Admin/Message/GetAggregateQuotaUsageOnServerBody.php @@ -33,7 +33,7 @@ class GetAggregateQuotaUsageOnServerBody extends SoapBody #[SerializedName('GetAggregateQuotaUsageOnServerRequest')] #[Type(GetAggregateQuotaUsageOnServerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAggregateQuotaUsageOnServerBody extends SoapBody #[SerializedName('GetAggregateQuotaUsageOnServerResponse')] #[Type(GetAggregateQuotaUsageOnServerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,8 +54,8 @@ class GetAggregateQuotaUsageOnServerBody extends SoapBody * @return self */ public function __construct( - ?GetAggregateQuotaUsageOnServerRequest $request = NULL, - ?GetAggregateQuotaUsageOnServerResponse $response = NULL + ?GetAggregateQuotaUsageOnServerRequest $request = null, + ?GetAggregateQuotaUsageOnServerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAggregateQuotaUsageOnServerEnvelope.php b/src/Admin/Message/GetAggregateQuotaUsageOnServerEnvelope.php index 2536a6ed9..ab6fa0dc1 100644 --- a/src/Admin/Message/GetAggregateQuotaUsageOnServerEnvelope.php +++ b/src/Admin/Message/GetAggregateQuotaUsageOnServerEnvelope.php @@ -35,7 +35,7 @@ class GetAggregateQuotaUsageOnServerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAggregateQuotaUsageOnServerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAggregateQuotaUsageOnServerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAggregateQuotaUsageOnServerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAggregateQuotaUsageOnServerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllAccountLoggersBody.php b/src/Admin/Message/GetAllAccountLoggersBody.php index 79cd3267b..eb2ccb3b2 100644 --- a/src/Admin/Message/GetAllAccountLoggersBody.php +++ b/src/Admin/Message/GetAllAccountLoggersBody.php @@ -33,7 +33,7 @@ class GetAllAccountLoggersBody extends SoapBody #[SerializedName('GetAllAccountLoggersRequest')] #[Type(GetAllAccountLoggersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllAccountLoggersBody extends SoapBody #[SerializedName('GetAllAccountLoggersResponse')] #[Type(GetAllAccountLoggersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllAccountLoggersBody extends SoapBody * @return self */ public function __construct( - ?GetAllAccountLoggersRequest $request = NULL, ?GetAllAccountLoggersResponse $response = NULL + ?GetAllAccountLoggersRequest $request = null, ?GetAllAccountLoggersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllAccountLoggersEnvelope.php b/src/Admin/Message/GetAllAccountLoggersEnvelope.php index 96fa815f0..ba5299fa1 100644 --- a/src/Admin/Message/GetAllAccountLoggersEnvelope.php +++ b/src/Admin/Message/GetAllAccountLoggersEnvelope.php @@ -35,7 +35,7 @@ class GetAllAccountLoggersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllAccountLoggersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllAccountLoggersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllAccountLoggersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllAccountLoggersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllAccountsBody.php b/src/Admin/Message/GetAllAccountsBody.php index 1bd19690e..fe9a446e3 100644 --- a/src/Admin/Message/GetAllAccountsBody.php +++ b/src/Admin/Message/GetAllAccountsBody.php @@ -33,7 +33,7 @@ class GetAllAccountsBody extends SoapBody #[SerializedName('GetAllAccountsRequest')] #[Type(GetAllAccountsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllAccountsBody extends SoapBody #[SerializedName('GetAllAccountsResponse')] #[Type(GetAllAccountsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllAccountsBody extends SoapBody * @return self */ public function __construct( - ?GetAllAccountsRequest $request = NULL, ?GetAllAccountsResponse $response = NULL + ?GetAllAccountsRequest $request = null, ?GetAllAccountsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllAccountsEnvelope.php b/src/Admin/Message/GetAllAccountsEnvelope.php index c349cdd93..71efa1f94 100644 --- a/src/Admin/Message/GetAllAccountsEnvelope.php +++ b/src/Admin/Message/GetAllAccountsEnvelope.php @@ -35,7 +35,7 @@ class GetAllAccountsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllAccountsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllAccountsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllAccountsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllAccountsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllAccountsRequest.php b/src/Admin/Message/GetAllAccountsRequest.php index ed130ed86..382324514 100644 --- a/src/Admin/Message/GetAllAccountsRequest.php +++ b/src/Admin/Message/GetAllAccountsRequest.php @@ -55,7 +55,7 @@ class GetAllAccountsRequest extends SoapRequest * @param DomainSelector $domain * @return self */ - public function __construct(?ServerSelector $server = NULL, ?DomainSelector $domain = NULL) + public function __construct(?ServerSelector $server = null, ?DomainSelector $domain = null) { $this->server = $server; $this->domain = $domain; diff --git a/src/Admin/Message/GetAllActiveServersBody.php b/src/Admin/Message/GetAllActiveServersBody.php index f6480e416..c0bd110d4 100644 --- a/src/Admin/Message/GetAllActiveServersBody.php +++ b/src/Admin/Message/GetAllActiveServersBody.php @@ -33,7 +33,7 @@ class GetAllActiveServersBody extends SoapBody #[SerializedName('GetAllActiveServersRequest')] #[Type(GetAllActiveServersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllActiveServersBody extends SoapBody #[SerializedName('GetAllActiveServersResponse')] #[Type(GetAllActiveServersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllActiveServersBody extends SoapBody * @return self */ public function __construct( - ?GetAllActiveServersRequest $request = NULL, ?GetAllActiveServersResponse $response = NULL + ?GetAllActiveServersRequest $request = null, ?GetAllActiveServersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllActiveServersEnvelope.php b/src/Admin/Message/GetAllActiveServersEnvelope.php index 7f7eea4b1..8913cb0b0 100644 --- a/src/Admin/Message/GetAllActiveServersEnvelope.php +++ b/src/Admin/Message/GetAllActiveServersEnvelope.php @@ -35,7 +35,7 @@ class GetAllActiveServersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllActiveServersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllActiveServersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllActiveServersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllActiveServersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllAdminAccountsBody.php b/src/Admin/Message/GetAllAdminAccountsBody.php index 0744b9dba..2fcfb2162 100644 --- a/src/Admin/Message/GetAllAdminAccountsBody.php +++ b/src/Admin/Message/GetAllAdminAccountsBody.php @@ -33,7 +33,7 @@ class GetAllAdminAccountsBody extends SoapBody #[SerializedName('GetAllAdminAccountsRequest')] #[Type(GetAllAdminAccountsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllAdminAccountsBody extends SoapBody #[SerializedName('GetAllAdminAccountsResponse')] #[Type(GetAllAdminAccountsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllAdminAccountsBody extends SoapBody * @return self */ public function __construct( - ?GetAllAdminAccountsRequest $request = NULL, ?GetAllAdminAccountsResponse $response = NULL + ?GetAllAdminAccountsRequest $request = null, ?GetAllAdminAccountsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllAdminAccountsEnvelope.php b/src/Admin/Message/GetAllAdminAccountsEnvelope.php index 6ad2cf6c4..ec1172c5e 100644 --- a/src/Admin/Message/GetAllAdminAccountsEnvelope.php +++ b/src/Admin/Message/GetAllAdminAccountsEnvelope.php @@ -35,7 +35,7 @@ class GetAllAdminAccountsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllAdminAccountsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllAdminAccountsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllAdminAccountsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllAdminAccountsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllAdminAccountsRequest.php b/src/Admin/Message/GetAllAdminAccountsRequest.php index 92f73d373..19ede949c 100644 --- a/src/Admin/Message/GetAllAdminAccountsRequest.php +++ b/src/Admin/Message/GetAllAdminAccountsRequest.php @@ -42,9 +42,9 @@ class GetAllAdminAccountsRequest extends SoapRequest * @param bool $applyCos * @return self */ - public function __construct(?bool $applyCos = NULL) + public function __construct(?bool $applyCos = null) { - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } } diff --git a/src/Admin/Message/GetAllAlwaysOnClustersBody.php b/src/Admin/Message/GetAllAlwaysOnClustersBody.php index 1dd893596..6d8b8e832 100644 --- a/src/Admin/Message/GetAllAlwaysOnClustersBody.php +++ b/src/Admin/Message/GetAllAlwaysOnClustersBody.php @@ -33,7 +33,7 @@ class GetAllAlwaysOnClustersBody extends SoapBody #[SerializedName('GetAllAlwaysOnClustersRequest')] #[Type(GetAllAlwaysOnClustersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllAlwaysOnClustersBody extends SoapBody #[SerializedName('GetAllAlwaysOnClustersResponse')] #[Type(GetAllAlwaysOnClustersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllAlwaysOnClustersBody extends SoapBody * @return self */ public function __construct( - ?GetAllAlwaysOnClustersRequest $request = NULL, ?GetAllAlwaysOnClustersResponse $response = NULL + ?GetAllAlwaysOnClustersRequest $request = null, ?GetAllAlwaysOnClustersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllAlwaysOnClustersEnvelope.php b/src/Admin/Message/GetAllAlwaysOnClustersEnvelope.php index 903240adb..3f24037c5 100644 --- a/src/Admin/Message/GetAllAlwaysOnClustersEnvelope.php +++ b/src/Admin/Message/GetAllAlwaysOnClustersEnvelope.php @@ -35,7 +35,7 @@ class GetAllAlwaysOnClustersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllAlwaysOnClustersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllAlwaysOnClustersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllAlwaysOnClustersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllAlwaysOnClustersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllCalendarResourcesBody.php b/src/Admin/Message/GetAllCalendarResourcesBody.php index b2fa00703..0d6c801d0 100644 --- a/src/Admin/Message/GetAllCalendarResourcesBody.php +++ b/src/Admin/Message/GetAllCalendarResourcesBody.php @@ -33,7 +33,7 @@ class GetAllCalendarResourcesBody extends SoapBody #[SerializedName('GetAllCalendarResourcesRequest')] #[Type(GetAllCalendarResourcesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllCalendarResourcesBody extends SoapBody #[SerializedName('GetAllCalendarResourcesResponse')] #[Type(GetAllCalendarResourcesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllCalendarResourcesBody extends SoapBody * @return self */ public function __construct( - ?GetAllCalendarResourcesRequest $request = NULL, ?GetAllCalendarResourcesResponse $response = NULL + ?GetAllCalendarResourcesRequest $request = null, ?GetAllCalendarResourcesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllCalendarResourcesEnvelope.php b/src/Admin/Message/GetAllCalendarResourcesEnvelope.php index ba8f3f4ba..af6bc384b 100644 --- a/src/Admin/Message/GetAllCalendarResourcesEnvelope.php +++ b/src/Admin/Message/GetAllCalendarResourcesEnvelope.php @@ -35,7 +35,7 @@ class GetAllCalendarResourcesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllCalendarResourcesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllCalendarResourcesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllCalendarResourcesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllCalendarResourcesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllConfigBody.php b/src/Admin/Message/GetAllConfigBody.php index e7b2ade50..10b89f581 100644 --- a/src/Admin/Message/GetAllConfigBody.php +++ b/src/Admin/Message/GetAllConfigBody.php @@ -33,7 +33,7 @@ class GetAllConfigBody extends SoapBody #[SerializedName('GetAllConfigRequest')] #[Type(GetAllConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllConfigBody extends SoapBody #[SerializedName('GetAllConfigResponse')] #[Type(GetAllConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllConfigBody extends SoapBody * @return self */ public function __construct( - ?GetAllConfigRequest $request = NULL, ?GetAllConfigResponse $response = NULL + ?GetAllConfigRequest $request = null, ?GetAllConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllConfigEnvelope.php b/src/Admin/Message/GetAllConfigEnvelope.php index 0006ab069..557fa5b2b 100644 --- a/src/Admin/Message/GetAllConfigEnvelope.php +++ b/src/Admin/Message/GetAllConfigEnvelope.php @@ -35,7 +35,7 @@ class GetAllConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllCosBody.php b/src/Admin/Message/GetAllCosBody.php index 853cdb012..966405f29 100644 --- a/src/Admin/Message/GetAllCosBody.php +++ b/src/Admin/Message/GetAllCosBody.php @@ -33,7 +33,7 @@ class GetAllCosBody extends SoapBody #[SerializedName('GetAllCosRequest')] #[Type(GetAllCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllCosBody extends SoapBody #[SerializedName('GetAllCosResponse')] #[Type(GetAllCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllCosBody extends SoapBody * @return self */ public function __construct( - ?GetAllCosRequest $request = NULL, ?GetAllCosResponse $response = NULL + ?GetAllCosRequest $request = null, ?GetAllCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllCosEnvelope.php b/src/Admin/Message/GetAllCosEnvelope.php index 3734ada3a..eb02707f3 100644 --- a/src/Admin/Message/GetAllCosEnvelope.php +++ b/src/Admin/Message/GetAllCosEnvelope.php @@ -35,7 +35,7 @@ class GetAllCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllDistributionListsBody.php b/src/Admin/Message/GetAllDistributionListsBody.php index 95bec0f2e..ef976565a 100644 --- a/src/Admin/Message/GetAllDistributionListsBody.php +++ b/src/Admin/Message/GetAllDistributionListsBody.php @@ -33,7 +33,7 @@ class GetAllDistributionListsBody extends SoapBody #[SerializedName('GetAllDistributionListsRequest')] #[Type(GetAllDistributionListsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllDistributionListsBody extends SoapBody #[SerializedName('GetAllDistributionListsResponse')] #[Type(GetAllDistributionListsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllDistributionListsBody extends SoapBody * @return self */ public function __construct( - ?GetAllDistributionListsRequest $request = NULL, ?GetAllDistributionListsResponse $response = NULL + ?GetAllDistributionListsRequest $request = null, ?GetAllDistributionListsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllDistributionListsEnvelope.php b/src/Admin/Message/GetAllDistributionListsEnvelope.php index 1440ba727..e75f60399 100644 --- a/src/Admin/Message/GetAllDistributionListsEnvelope.php +++ b/src/Admin/Message/GetAllDistributionListsEnvelope.php @@ -35,7 +35,7 @@ class GetAllDistributionListsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllDistributionListsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllDistributionListsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllDistributionListsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllDistributionListsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllDistributionListsRequest.php b/src/Admin/Message/GetAllDistributionListsRequest.php index f43b53718..91bea2a01 100644 --- a/src/Admin/Message/GetAllDistributionListsRequest.php +++ b/src/Admin/Message/GetAllDistributionListsRequest.php @@ -43,7 +43,7 @@ class GetAllDistributionListsRequest extends SoapRequest * @param DomainSelector $domain * @return self */ - public function __construct(?DomainSelector $domain = NULL) + public function __construct(?DomainSelector $domain = null) { $this->domain = $domain; } diff --git a/src/Admin/Message/GetAllDomainsBody.php b/src/Admin/Message/GetAllDomainsBody.php index c9158747f..97d08cd99 100644 --- a/src/Admin/Message/GetAllDomainsBody.php +++ b/src/Admin/Message/GetAllDomainsBody.php @@ -33,7 +33,7 @@ class GetAllDomainsBody extends SoapBody #[SerializedName('GetAllDomainsRequest')] #[Type(GetAllDomainsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllDomainsBody extends SoapBody #[SerializedName('GetAllDomainsResponse')] #[Type(GetAllDomainsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllDomainsBody extends SoapBody * @return self */ public function __construct( - ?GetAllDomainsRequest $request = NULL, ?GetAllDomainsResponse $response = NULL + ?GetAllDomainsRequest $request = null, ?GetAllDomainsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllDomainsEnvelope.php b/src/Admin/Message/GetAllDomainsEnvelope.php index d33edd9a3..7413bb75f 100644 --- a/src/Admin/Message/GetAllDomainsEnvelope.php +++ b/src/Admin/Message/GetAllDomainsEnvelope.php @@ -35,7 +35,7 @@ class GetAllDomainsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllDomainsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllDomainsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllDomainsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllDomainsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllDomainsRequest.php b/src/Admin/Message/GetAllDomainsRequest.php index 2618288b6..cd9ce1b00 100644 --- a/src/Admin/Message/GetAllDomainsRequest.php +++ b/src/Admin/Message/GetAllDomainsRequest.php @@ -42,9 +42,9 @@ class GetAllDomainsRequest extends SoapRequest * @param bool $applyConfig * @return self */ - public function __construct(?bool $applyConfig = NULL) + public function __construct(?bool $applyConfig = null) { - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } } diff --git a/src/Admin/Message/GetAllEffectiveRightsBody.php b/src/Admin/Message/GetAllEffectiveRightsBody.php index 0635d8504..4e6b3e1f5 100644 --- a/src/Admin/Message/GetAllEffectiveRightsBody.php +++ b/src/Admin/Message/GetAllEffectiveRightsBody.php @@ -33,7 +33,7 @@ class GetAllEffectiveRightsBody extends SoapBody #[SerializedName('GetAllEffectiveRightsRequest')] #[Type(GetAllEffectiveRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllEffectiveRightsBody extends SoapBody #[SerializedName('GetAllEffectiveRightsResponse')] #[Type(GetAllEffectiveRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllEffectiveRightsBody extends SoapBody * @return self */ public function __construct( - ?GetAllEffectiveRightsRequest $request = NULL, ?GetAllEffectiveRightsResponse $response = NULL + ?GetAllEffectiveRightsRequest $request = null, ?GetAllEffectiveRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllEffectiveRightsEnvelope.php b/src/Admin/Message/GetAllEffectiveRightsEnvelope.php index c3e55fab0..0271c2152 100644 --- a/src/Admin/Message/GetAllEffectiveRightsEnvelope.php +++ b/src/Admin/Message/GetAllEffectiveRightsEnvelope.php @@ -35,7 +35,7 @@ class GetAllEffectiveRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllEffectiveRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllEffectiveRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllEffectiveRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllEffectiveRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllEffectiveRightsRequest.php b/src/Admin/Message/GetAllEffectiveRightsRequest.php index f57cf07ef..36481db71 100644 --- a/src/Admin/Message/GetAllEffectiveRightsRequest.php +++ b/src/Admin/Message/GetAllEffectiveRightsRequest.php @@ -60,15 +60,15 @@ class GetAllEffectiveRightsRequest extends SoapRequest * @return self */ public function __construct( - ?GranteeSelector $grantee = NULL, ?bool $expandSetAttrs = NULL, ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, ?bool $expandSetAttrs = null, ?bool $expandGetAttrs = null ) { $this->grantee = $grantee; $attrs = []; - if (NULL !== $expandSetAttrs) { + if (null !== $expandSetAttrs) { $attrs[self::EXPAND_SET_ATTRS] = self::EXPAND_SET_ATTRS; } - if (NULL !== $expandGetAttrs) { + if (null !== $expandGetAttrs) { $attrs[self::EXPAND_GET_ATTRS] = self::EXPAND_GET_ATTRS; } if (!empty($attrs)) { diff --git a/src/Admin/Message/GetAllEffectiveRightsResponse.php b/src/Admin/Message/GetAllEffectiveRightsResponse.php index e16bc23de..1eccf147b 100644 --- a/src/Admin/Message/GetAllEffectiveRightsResponse.php +++ b/src/Admin/Message/GetAllEffectiveRightsResponse.php @@ -53,7 +53,7 @@ class GetAllEffectiveRightsResponse extends SoapResponse * @param array $targets * @return self */ - public function __construct(?GranteeInfo $grantee = NULL, array $targets = []) + public function __construct(?GranteeInfo $grantee = null, array $targets = []) { $this->setTargets($targets); $this->grantee = $grantee; diff --git a/src/Admin/Message/GetAllFreeBusyProvidersBody.php b/src/Admin/Message/GetAllFreeBusyProvidersBody.php index 4e7007e24..907d3fd69 100644 --- a/src/Admin/Message/GetAllFreeBusyProvidersBody.php +++ b/src/Admin/Message/GetAllFreeBusyProvidersBody.php @@ -33,7 +33,7 @@ class GetAllFreeBusyProvidersBody extends SoapBody #[SerializedName('GetAllFreeBusyProvidersRequest')] #[Type(GetAllFreeBusyProvidersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllFreeBusyProvidersBody extends SoapBody #[SerializedName('GetAllFreeBusyProvidersResponse')] #[Type(GetAllFreeBusyProvidersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllFreeBusyProvidersBody extends SoapBody * @return self */ public function __construct( - ?GetAllFreeBusyProvidersRequest $request = NULL, ?GetAllFreeBusyProvidersResponse $response = NULL + ?GetAllFreeBusyProvidersRequest $request = null, ?GetAllFreeBusyProvidersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllFreeBusyProvidersEnvelope.php b/src/Admin/Message/GetAllFreeBusyProvidersEnvelope.php index 4d84867b0..f8ba9a3d5 100644 --- a/src/Admin/Message/GetAllFreeBusyProvidersEnvelope.php +++ b/src/Admin/Message/GetAllFreeBusyProvidersEnvelope.php @@ -35,7 +35,7 @@ class GetAllFreeBusyProvidersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllFreeBusyProvidersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllFreeBusyProvidersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllFreeBusyProvidersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllFreeBusyProvidersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllLocalesBody.php b/src/Admin/Message/GetAllLocalesBody.php index 4023dce2e..863e05acf 100644 --- a/src/Admin/Message/GetAllLocalesBody.php +++ b/src/Admin/Message/GetAllLocalesBody.php @@ -33,7 +33,7 @@ class GetAllLocalesBody extends SoapBody #[SerializedName('GetAllLocalesRequest')] #[Type(GetAllLocalesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllLocalesBody extends SoapBody #[SerializedName('GetAllLocalesResponse')] #[Type(GetAllLocalesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllLocalesBody extends SoapBody * @return self */ public function __construct( - ?GetAllLocalesRequest $request = NULL, ?GetAllLocalesResponse $response = NULL + ?GetAllLocalesRequest $request = null, ?GetAllLocalesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllLocalesEnvelope.php b/src/Admin/Message/GetAllLocalesEnvelope.php index 4a728e014..1a60cf4dc 100644 --- a/src/Admin/Message/GetAllLocalesEnvelope.php +++ b/src/Admin/Message/GetAllLocalesEnvelope.php @@ -35,7 +35,7 @@ class GetAllLocalesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllLocalesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllLocalesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllLocalesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllLocalesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllMailboxesBody.php b/src/Admin/Message/GetAllMailboxesBody.php index 62cf94633..372114457 100644 --- a/src/Admin/Message/GetAllMailboxesBody.php +++ b/src/Admin/Message/GetAllMailboxesBody.php @@ -33,7 +33,7 @@ class GetAllMailboxesBody extends SoapBody #[SerializedName('GetAllMailboxesRequest')] #[Type(GetAllMailboxesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllMailboxesBody extends SoapBody #[SerializedName('GetAllMailboxesResponse')] #[Type(GetAllMailboxesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllMailboxesBody extends SoapBody * @return self */ public function __construct( - ?GetAllMailboxesRequest $request = NULL, ?GetAllMailboxesResponse $response = NULL + ?GetAllMailboxesRequest $request = null, ?GetAllMailboxesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllMailboxesEnvelope.php b/src/Admin/Message/GetAllMailboxesEnvelope.php index 3b09a4c12..94c017985 100644 --- a/src/Admin/Message/GetAllMailboxesEnvelope.php +++ b/src/Admin/Message/GetAllMailboxesEnvelope.php @@ -35,7 +35,7 @@ class GetAllMailboxesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllMailboxesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllMailboxesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllMailboxesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllMailboxesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllMailboxesRequest.php b/src/Admin/Message/GetAllMailboxesRequest.php index a8aa3b75c..953c26daf 100644 --- a/src/Admin/Message/GetAllMailboxesRequest.php +++ b/src/Admin/Message/GetAllMailboxesRequest.php @@ -54,12 +54,12 @@ class GetAllMailboxesRequest extends SoapRequest * @param int $offset * @return self */ - public function __construct(?int $limit = NULL, ?int $offset = NULL) + public function __construct(?int $limit = null, ?int $offset = null) { - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } } diff --git a/src/Admin/Message/GetAllMailboxesResponse.php b/src/Admin/Message/GetAllMailboxesResponse.php index ec929c688..c29a77251 100644 --- a/src/Admin/Message/GetAllMailboxesResponse.php +++ b/src/Admin/Message/GetAllMailboxesResponse.php @@ -65,7 +65,7 @@ class GetAllMailboxesResponse extends SoapResponse * @param array $mboxes * @return self */ - public function __construct(bool $more = FALSE, int $searchTotal = 0, array $mboxes = []) + public function __construct(bool $more = false, int $searchTotal = 0, array $mboxes = []) { $this->setMore($more) ->setSearchTotal($searchTotal) diff --git a/src/Admin/Message/GetAllRightsBody.php b/src/Admin/Message/GetAllRightsBody.php index 651848204..2591f7b1f 100644 --- a/src/Admin/Message/GetAllRightsBody.php +++ b/src/Admin/Message/GetAllRightsBody.php @@ -33,7 +33,7 @@ class GetAllRightsBody extends SoapBody #[SerializedName('GetAllRightsRequest')] #[Type(GetAllRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllRightsBody extends SoapBody #[SerializedName('GetAllRightsResponse')] #[Type(GetAllRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllRightsBody extends SoapBody * @return self */ public function __construct( - ?GetAllRightsRequest $request = NULL, ?GetAllRightsResponse $response = NULL + ?GetAllRightsRequest $request = null, ?GetAllRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllRightsEnvelope.php b/src/Admin/Message/GetAllRightsEnvelope.php index f90e8a225..85a4551a4 100644 --- a/src/Admin/Message/GetAllRightsEnvelope.php +++ b/src/Admin/Message/GetAllRightsEnvelope.php @@ -35,7 +35,7 @@ class GetAllRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllRightsRequest.php b/src/Admin/Message/GetAllRightsRequest.php index 87171e70f..ffb3a7313 100644 --- a/src/Admin/Message/GetAllRightsRequest.php +++ b/src/Admin/Message/GetAllRightsRequest.php @@ -75,13 +75,13 @@ class GetAllRightsRequest extends SoapRequest * @return self */ public function __construct( - ?string $targetType = NULL, ?bool $expandAllAttrs = NULL, ?RightClass $rightClass = NULL + ?string $targetType = null, ?bool $expandAllAttrs = null, ?RightClass $rightClass = null ) { - if (NULL !== $targetType) { + if (null !== $targetType) { $this->setTargetType($targetType); } - if (NULL !== $expandAllAttrs) { + if (null !== $expandAllAttrs) { $this->setExpandAllAttrs($expandAllAttrs); } $this->rightClass = $rightClass; diff --git a/src/Admin/Message/GetAllServersBody.php b/src/Admin/Message/GetAllServersBody.php index 616d94e6c..4bb59a9d5 100644 --- a/src/Admin/Message/GetAllServersBody.php +++ b/src/Admin/Message/GetAllServersBody.php @@ -33,7 +33,7 @@ class GetAllServersBody extends SoapBody #[SerializedName('GetAllServersRequest')] #[Type(GetAllServersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllServersBody extends SoapBody #[SerializedName('GetAllServersResponse')] #[Type(GetAllServersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllServersBody extends SoapBody * @return self */ public function __construct( - ?GetAllServersRequest $request = NULL, ?GetAllServersResponse $response = NULL + ?GetAllServersRequest $request = null, ?GetAllServersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllServersEnvelope.php b/src/Admin/Message/GetAllServersEnvelope.php index 8d2fc8fbd..37d4b5692 100644 --- a/src/Admin/Message/GetAllServersEnvelope.php +++ b/src/Admin/Message/GetAllServersEnvelope.php @@ -35,7 +35,7 @@ class GetAllServersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllServersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllServersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllServersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllServersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllServersRequest.php b/src/Admin/Message/GetAllServersRequest.php index 785761001..cdfad2bf3 100644 --- a/src/Admin/Message/GetAllServersRequest.php +++ b/src/Admin/Message/GetAllServersRequest.php @@ -68,16 +68,16 @@ class GetAllServersRequest extends SoapRequest * @return self */ public function __construct( - ?string $service = NULL, ?string $alwaysOnClusterId = NULL, ?bool $applyConfig = NULL + ?string $service = null, ?string $alwaysOnClusterId = null, ?bool $applyConfig = null ) { - if (NULL !== $service) { + if (null !== $service) { $this->setService($service); } - if (NULL !== $alwaysOnClusterId) { + if (null !== $alwaysOnClusterId) { $this->setAlwaysOnClusterId($alwaysOnClusterId); } - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } } diff --git a/src/Admin/Message/GetAllSkinsBody.php b/src/Admin/Message/GetAllSkinsBody.php index 4de2ee4f3..bb64880a2 100644 --- a/src/Admin/Message/GetAllSkinsBody.php +++ b/src/Admin/Message/GetAllSkinsBody.php @@ -33,7 +33,7 @@ class GetAllSkinsBody extends SoapBody #[SerializedName('GetAllSkinsRequest')] #[Type(GetAllSkinsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllSkinsBody extends SoapBody #[SerializedName('GetAllSkinsResponse')] #[Type(GetAllSkinsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllSkinsBody extends SoapBody * @return self */ public function __construct( - ?GetAllSkinsRequest $request = NULL, ?GetAllSkinsResponse $response = NULL + ?GetAllSkinsRequest $request = null, ?GetAllSkinsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllSkinsEnvelope.php b/src/Admin/Message/GetAllSkinsEnvelope.php index 86db0e0f7..184bb50e0 100644 --- a/src/Admin/Message/GetAllSkinsEnvelope.php +++ b/src/Admin/Message/GetAllSkinsEnvelope.php @@ -35,7 +35,7 @@ class GetAllSkinsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllSkinsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllSkinsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllSkinsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllSkinsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllUCServicesBody.php b/src/Admin/Message/GetAllUCServicesBody.php index 81c1dfcdd..277d7b17b 100644 --- a/src/Admin/Message/GetAllUCServicesBody.php +++ b/src/Admin/Message/GetAllUCServicesBody.php @@ -33,7 +33,7 @@ class GetAllUCServicesBody extends SoapBody #[SerializedName('GetAllUCServicesRequest')] #[Type(GetAllUCServicesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllUCServicesBody extends SoapBody #[SerializedName('GetAllUCServicesResponse')] #[Type(GetAllUCServicesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllUCServicesBody extends SoapBody * @return self */ public function __construct( - ?GetAllUCServicesRequest $request = NULL, ?GetAllUCServicesResponse $response = NULL + ?GetAllUCServicesRequest $request = null, ?GetAllUCServicesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllUCServicesEnvelope.php b/src/Admin/Message/GetAllUCServicesEnvelope.php index 5630d4639..ce6ed3699 100644 --- a/src/Admin/Message/GetAllUCServicesEnvelope.php +++ b/src/Admin/Message/GetAllUCServicesEnvelope.php @@ -35,7 +35,7 @@ class GetAllUCServicesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllUCServicesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllUCServicesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllUCServicesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllUCServicesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllVolumesBody.php b/src/Admin/Message/GetAllVolumesBody.php index ca99d10e3..23d6568c6 100644 --- a/src/Admin/Message/GetAllVolumesBody.php +++ b/src/Admin/Message/GetAllVolumesBody.php @@ -33,7 +33,7 @@ class GetAllVolumesBody extends SoapBody #[SerializedName('GetAllVolumesRequest')] #[Type(GetAllVolumesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllVolumesBody extends SoapBody #[SerializedName('GetAllVolumesResponse')] #[Type(GetAllVolumesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllVolumesBody extends SoapBody * @return self */ public function __construct( - ?GetAllVolumesRequest $request = NULL, ?GetAllVolumesResponse $response = NULL + ?GetAllVolumesRequest $request = null, ?GetAllVolumesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllVolumesEnvelope.php b/src/Admin/Message/GetAllVolumesEnvelope.php index a87c00f7f..472bafb1b 100644 --- a/src/Admin/Message/GetAllVolumesEnvelope.php +++ b/src/Admin/Message/GetAllVolumesEnvelope.php @@ -35,7 +35,7 @@ class GetAllVolumesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllVolumesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllVolumesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllVolumesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllVolumesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllXMPPComponentsBody.php b/src/Admin/Message/GetAllXMPPComponentsBody.php index 0af8b365b..168ed7cc2 100644 --- a/src/Admin/Message/GetAllXMPPComponentsBody.php +++ b/src/Admin/Message/GetAllXMPPComponentsBody.php @@ -33,7 +33,7 @@ class GetAllXMPPComponentsBody extends SoapBody #[SerializedName('GetAllXMPPComponentsRequest')] #[Type(GetAllXMPPComponentsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllXMPPComponentsBody extends SoapBody #[SerializedName('GetAllXMPPComponentsResponse')] #[Type(GetAllXMPPComponentsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllXMPPComponentsBody extends SoapBody * @return self */ public function __construct( - ?GetAllXMPPComponentsRequest $request = NULL, ?GetAllXMPPComponentsResponse $response = NULL + ?GetAllXMPPComponentsRequest $request = null, ?GetAllXMPPComponentsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllXMPPComponentsEnvelope.php b/src/Admin/Message/GetAllXMPPComponentsEnvelope.php index b64af954b..0f8a275a9 100644 --- a/src/Admin/Message/GetAllXMPPComponentsEnvelope.php +++ b/src/Admin/Message/GetAllXMPPComponentsEnvelope.php @@ -35,7 +35,7 @@ class GetAllXMPPComponentsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllXMPPComponentsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllXMPPComponentsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllXMPPComponentsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllXMPPComponentsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllZimletsBody.php b/src/Admin/Message/GetAllZimletsBody.php index 72c591e4f..1c601c872 100644 --- a/src/Admin/Message/GetAllZimletsBody.php +++ b/src/Admin/Message/GetAllZimletsBody.php @@ -33,7 +33,7 @@ class GetAllZimletsBody extends SoapBody #[SerializedName('GetAllZimletsRequest')] #[Type(GetAllZimletsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAllZimletsBody extends SoapBody #[SerializedName('GetAllZimletsResponse')] #[Type(GetAllZimletsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAllZimletsBody extends SoapBody * @return self */ public function __construct( - ?GetAllZimletsRequest $request = NULL, ?GetAllZimletsResponse $response = NULL + ?GetAllZimletsRequest $request = null, ?GetAllZimletsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAllZimletsEnvelope.php b/src/Admin/Message/GetAllZimletsEnvelope.php index 13b28634d..26e4e8c76 100644 --- a/src/Admin/Message/GetAllZimletsEnvelope.php +++ b/src/Admin/Message/GetAllZimletsEnvelope.php @@ -35,7 +35,7 @@ class GetAllZimletsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAllZimletsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAllZimletsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAllZimletsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAllZimletsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAllZimletsRequest.php b/src/Admin/Message/GetAllZimletsRequest.php index 02087581d..512465018 100644 --- a/src/Admin/Message/GetAllZimletsRequest.php +++ b/src/Admin/Message/GetAllZimletsRequest.php @@ -45,7 +45,7 @@ class GetAllZimletsRequest extends SoapRequest * @param ZimletExcludeType $exclude * @return self */ - public function __construct(?ZimletExcludeType $exclude = NULL) + public function __construct(?ZimletExcludeType $exclude = null) { $this->exclude = $exclude; } diff --git a/src/Admin/Message/GetAlwaysOnClusterBody.php b/src/Admin/Message/GetAlwaysOnClusterBody.php index 074f43766..d6bd07e1d 100644 --- a/src/Admin/Message/GetAlwaysOnClusterBody.php +++ b/src/Admin/Message/GetAlwaysOnClusterBody.php @@ -33,7 +33,7 @@ class GetAlwaysOnClusterBody extends SoapBody #[SerializedName('GetAlwaysOnClusterRequest')] #[Type(GetAlwaysOnClusterRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAlwaysOnClusterBody extends SoapBody #[SerializedName('GetAlwaysOnClusterResponse')] #[Type(GetAlwaysOnClusterResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAlwaysOnClusterBody extends SoapBody * @return self */ public function __construct( - ?GetAlwaysOnClusterRequest $request = NULL, ?GetAlwaysOnClusterResponse $response = NULL + ?GetAlwaysOnClusterRequest $request = null, ?GetAlwaysOnClusterResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAlwaysOnClusterEnvelope.php b/src/Admin/Message/GetAlwaysOnClusterEnvelope.php index 2992e294f..fe2f3700a 100644 --- a/src/Admin/Message/GetAlwaysOnClusterEnvelope.php +++ b/src/Admin/Message/GetAlwaysOnClusterEnvelope.php @@ -35,7 +35,7 @@ class GetAlwaysOnClusterEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAlwaysOnClusterBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAlwaysOnClusterEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAlwaysOnClusterBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAlwaysOnClusterBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAlwaysOnClusterRequest.php b/src/Admin/Message/GetAlwaysOnClusterRequest.php index 4f9d0ea6d..b47f033e1 100644 --- a/src/Admin/Message/GetAlwaysOnClusterRequest.php +++ b/src/Admin/Message/GetAlwaysOnClusterRequest.php @@ -46,10 +46,10 @@ class GetAlwaysOnClusterRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(?AlwaysOnClusterSelector $cluster = NULL, ?string $attrs = NULL) + public function __construct(?AlwaysOnClusterSelector $cluster = null, ?string $attrs = null) { $this->cluster = $cluster; - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetAlwaysOnClusterResponse.php b/src/Admin/Message/GetAlwaysOnClusterResponse.php index 7b606bd53..f6827dc7d 100644 --- a/src/Admin/Message/GetAlwaysOnClusterResponse.php +++ b/src/Admin/Message/GetAlwaysOnClusterResponse.php @@ -42,7 +42,7 @@ class GetAlwaysOnClusterResponse extends SoapResponse * @param AlwaysOnClusterInfo $cluster * @return self */ - public function __construct(?AlwaysOnClusterInfo $cluster = NULL) + public function __construct(?AlwaysOnClusterInfo $cluster = null) { $this->cluster = $cluster; } diff --git a/src/Admin/Message/GetAttributeInfoBody.php b/src/Admin/Message/GetAttributeInfoBody.php index 659ac1df4..40d1f4faa 100644 --- a/src/Admin/Message/GetAttributeInfoBody.php +++ b/src/Admin/Message/GetAttributeInfoBody.php @@ -33,7 +33,7 @@ class GetAttributeInfoBody extends SoapBody #[SerializedName('GetAttributeInfoRequest')] #[Type(GetAttributeInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAttributeInfoBody extends SoapBody #[SerializedName('GetAttributeInfoResponse')] #[Type(GetAttributeInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAttributeInfoBody extends SoapBody * @return self */ public function __construct( - ?GetAttributeInfoRequest $request = NULL, ?GetAttributeInfoResponse $response = NULL + ?GetAttributeInfoRequest $request = null, ?GetAttributeInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetAttributeInfoEnvelope.php b/src/Admin/Message/GetAttributeInfoEnvelope.php index 01c2512d7..5b0bc6b5b 100644 --- a/src/Admin/Message/GetAttributeInfoEnvelope.php +++ b/src/Admin/Message/GetAttributeInfoEnvelope.php @@ -35,7 +35,7 @@ class GetAttributeInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAttributeInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAttributeInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAttributeInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAttributeInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetAttributeInfoRequest.php b/src/Admin/Message/GetAttributeInfoRequest.php index a3c77ac41..b3e7293bb 100644 --- a/src/Admin/Message/GetAttributeInfoRequest.php +++ b/src/Admin/Message/GetAttributeInfoRequest.php @@ -61,12 +61,12 @@ class GetAttributeInfoRequest extends SoapRequest * @param string $entryTypes * @return self */ - public function __construct(?string $attrs = NULL, ?string $entryTypes = NULL) + public function __construct(?string $attrs = null, ?string $entryTypes = null) { - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } - if (NULL !== $entryTypes) { + if (null !== $entryTypes) { $this->setEntryTypes($entryTypes); } } diff --git a/src/Admin/Message/GetCalendarResourceBody.php b/src/Admin/Message/GetCalendarResourceBody.php index e89eb6a90..ac02c4313 100644 --- a/src/Admin/Message/GetCalendarResourceBody.php +++ b/src/Admin/Message/GetCalendarResourceBody.php @@ -33,7 +33,7 @@ class GetCalendarResourceBody extends SoapBody #[SerializedName('GetCalendarResourceRequest')] #[Type(GetCalendarResourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCalendarResourceBody extends SoapBody #[SerializedName('GetCalendarResourceResponse')] #[Type(GetCalendarResourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCalendarResourceBody extends SoapBody * @return self */ public function __construct( - ?GetCalendarResourceRequest $request = NULL, ?GetCalendarResourceResponse $response = NULL + ?GetCalendarResourceRequest $request = null, ?GetCalendarResourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetCalendarResourceEnvelope.php b/src/Admin/Message/GetCalendarResourceEnvelope.php index 884193a12..1c17d2e37 100644 --- a/src/Admin/Message/GetCalendarResourceEnvelope.php +++ b/src/Admin/Message/GetCalendarResourceEnvelope.php @@ -35,7 +35,7 @@ class GetCalendarResourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCalendarResourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCalendarResourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCalendarResourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCalendarResourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetCalendarResourceRequest.php b/src/Admin/Message/GetCalendarResourceRequest.php index c6d40b923..ed1123139 100644 --- a/src/Admin/Message/GetCalendarResourceRequest.php +++ b/src/Admin/Message/GetCalendarResourceRequest.php @@ -61,14 +61,14 @@ class GetCalendarResourceRequest extends SoapRequest implements AttributeSelecto * @return self */ public function __construct( - ?CalendarResourceSelector $calResource = NULL, ?bool $applyCos = NULL, ?string $attrs = NULL + ?CalendarResourceSelector $calResource = null, ?bool $applyCos = null, ?string $attrs = null ) { $this->calResource = $calResource; - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetCalendarResourceResponse.php b/src/Admin/Message/GetCalendarResourceResponse.php index 02fb6f540..8ec9dd588 100644 --- a/src/Admin/Message/GetCalendarResourceResponse.php +++ b/src/Admin/Message/GetCalendarResourceResponse.php @@ -42,7 +42,7 @@ class GetCalendarResourceResponse extends SoapResponse * @param CalendarResourceInfo $calResource * @return self */ - public function __construct(?CalendarResourceInfo $calResource = NULL) + public function __construct(?CalendarResourceInfo $calResource = null) { $this->calResource = $calResource; } diff --git a/src/Admin/Message/GetConfigBody.php b/src/Admin/Message/GetConfigBody.php index 71d01d283..2294839b7 100644 --- a/src/Admin/Message/GetConfigBody.php +++ b/src/Admin/Message/GetConfigBody.php @@ -33,7 +33,7 @@ class GetConfigBody extends SoapBody #[SerializedName('GetConfigRequest')] #[Type(GetConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetConfigBody extends SoapBody #[SerializedName('GetConfigResponse')] #[Type(GetConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetConfigBody extends SoapBody * @return self */ public function __construct( - ?GetConfigRequest $request = NULL, ?GetConfigResponse $response = NULL + ?GetConfigRequest $request = null, ?GetConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetConfigEnvelope.php b/src/Admin/Message/GetConfigEnvelope.php index 7bfc1d9d0..20d43d936 100644 --- a/src/Admin/Message/GetConfigEnvelope.php +++ b/src/Admin/Message/GetConfigEnvelope.php @@ -35,7 +35,7 @@ class GetConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetConfigRequest.php b/src/Admin/Message/GetConfigRequest.php index 25f5505d4..9f12112e2 100644 --- a/src/Admin/Message/GetConfigRequest.php +++ b/src/Admin/Message/GetConfigRequest.php @@ -43,7 +43,7 @@ class GetConfigRequest extends SoapRequest * @param Attr $attr * @return self */ - public function __construct(?Attr $attr = NULL) + public function __construct(?Attr $attr = null) { $this->attr = $attr; } diff --git a/src/Admin/Message/GetCosBody.php b/src/Admin/Message/GetCosBody.php index fc700b421..430eeffac 100644 --- a/src/Admin/Message/GetCosBody.php +++ b/src/Admin/Message/GetCosBody.php @@ -33,7 +33,7 @@ class GetCosBody extends SoapBody #[SerializedName('GetCosRequest')] #[Type(GetCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCosBody extends SoapBody #[SerializedName('GetCosResponse')] #[Type(GetCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCosBody extends SoapBody * @return self */ public function __construct( - ?GetCosRequest $request = NULL, ?GetCosResponse $response = NULL + ?GetCosRequest $request = null, ?GetCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetCosEnvelope.php b/src/Admin/Message/GetCosEnvelope.php index dae9f2d81..25bbdfe71 100644 --- a/src/Admin/Message/GetCosEnvelope.php +++ b/src/Admin/Message/GetCosEnvelope.php @@ -35,7 +35,7 @@ class GetCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetCosRequest.php b/src/Admin/Message/GetCosRequest.php index 636160918..487a3d85b 100644 --- a/src/Admin/Message/GetCosRequest.php +++ b/src/Admin/Message/GetCosRequest.php @@ -46,10 +46,10 @@ class GetCosRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(CosSelector $cos, ?string $attrs = NULL) + public function __construct(CosSelector $cos, ?string $attrs = null) { $this->setCos($cos); - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetCosResponse.php b/src/Admin/Message/GetCosResponse.php index fdb024a07..7e73ccbf4 100644 --- a/src/Admin/Message/GetCosResponse.php +++ b/src/Admin/Message/GetCosResponse.php @@ -42,7 +42,7 @@ class GetCosResponse extends SoapResponse * @param CosInfo $cos * @return self */ - public function __construct(?CosInfo $cos = NULL) + public function __construct(?CosInfo $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/GetCreateObjectAttrsBody.php b/src/Admin/Message/GetCreateObjectAttrsBody.php index 0ba369ff0..6b9724311 100644 --- a/src/Admin/Message/GetCreateObjectAttrsBody.php +++ b/src/Admin/Message/GetCreateObjectAttrsBody.php @@ -33,7 +33,7 @@ class GetCreateObjectAttrsBody extends SoapBody #[SerializedName('GetCreateObjectAttrsRequest')] #[Type(GetCreateObjectAttrsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCreateObjectAttrsBody extends SoapBody #[SerializedName('GetCreateObjectAttrsResponse')] #[Type(GetCreateObjectAttrsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCreateObjectAttrsBody extends SoapBody * @return self */ public function __construct( - ?GetCreateObjectAttrsRequest $request = NULL, ?GetCreateObjectAttrsResponse $response = NULL + ?GetCreateObjectAttrsRequest $request = null, ?GetCreateObjectAttrsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetCreateObjectAttrsEnvelope.php b/src/Admin/Message/GetCreateObjectAttrsEnvelope.php index 5f214d61b..a205fb3ae 100644 --- a/src/Admin/Message/GetCreateObjectAttrsEnvelope.php +++ b/src/Admin/Message/GetCreateObjectAttrsEnvelope.php @@ -35,7 +35,7 @@ class GetCreateObjectAttrsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCreateObjectAttrsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCreateObjectAttrsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCreateObjectAttrsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCreateObjectAttrsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetCreateObjectAttrsRequest.php b/src/Admin/Message/GetCreateObjectAttrsRequest.php index c4c33c93f..59fe6d307 100644 --- a/src/Admin/Message/GetCreateObjectAttrsRequest.php +++ b/src/Admin/Message/GetCreateObjectAttrsRequest.php @@ -76,7 +76,7 @@ class GetCreateObjectAttrsRequest extends SoapRequest * @return self */ public function __construct( - TargetWithType $target, ?DomainSelector $domain = NULL, ?CosSelector $cos = NULL + TargetWithType $target, ?DomainSelector $domain = null, ?CosSelector $cos = null ) { $this->setTarget($target); diff --git a/src/Admin/Message/GetCreateObjectAttrsResponse.php b/src/Admin/Message/GetCreateObjectAttrsResponse.php index edc83ed1c..22ee6f9af 100644 --- a/src/Admin/Message/GetCreateObjectAttrsResponse.php +++ b/src/Admin/Message/GetCreateObjectAttrsResponse.php @@ -42,7 +42,7 @@ class GetCreateObjectAttrsResponse extends SoapResponse * @param EffectiveAttrsInfo $setAttrs * @return self */ - public function __construct(?EffectiveAttrsInfo $setAttrs = NULL) + public function __construct(?EffectiveAttrsInfo $setAttrs = null) { $this->setAttrs = $setAttrs; } diff --git a/src/Admin/Message/GetCurrentVolumesBody.php b/src/Admin/Message/GetCurrentVolumesBody.php index da4afd7b0..87d177b58 100644 --- a/src/Admin/Message/GetCurrentVolumesBody.php +++ b/src/Admin/Message/GetCurrentVolumesBody.php @@ -33,7 +33,7 @@ class GetCurrentVolumesBody extends SoapBody #[SerializedName('GetCurrentVolumesRequest')] #[Type(GetCurrentVolumesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCurrentVolumesBody extends SoapBody #[SerializedName('GetCurrentVolumesResponse')] #[Type(GetCurrentVolumesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCurrentVolumesBody extends SoapBody * @return self */ public function __construct( - ?GetCurrentVolumesRequest $request = NULL, ?GetCurrentVolumesResponse $response = NULL + ?GetCurrentVolumesRequest $request = null, ?GetCurrentVolumesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetCurrentVolumesEnvelope.php b/src/Admin/Message/GetCurrentVolumesEnvelope.php index 07b986bf2..a62b6002a 100644 --- a/src/Admin/Message/GetCurrentVolumesEnvelope.php +++ b/src/Admin/Message/GetCurrentVolumesEnvelope.php @@ -35,7 +35,7 @@ class GetCurrentVolumesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCurrentVolumesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCurrentVolumesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCurrentVolumesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCurrentVolumesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDataSourcesBody.php b/src/Admin/Message/GetDataSourcesBody.php index 5efab8839..a6cf87135 100644 --- a/src/Admin/Message/GetDataSourcesBody.php +++ b/src/Admin/Message/GetDataSourcesBody.php @@ -33,7 +33,7 @@ class GetDataSourcesBody extends SoapBody #[SerializedName('GetDataSourcesRequest')] #[Type(GetDataSourcesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDataSourcesBody extends SoapBody #[SerializedName('GetDataSourcesResponse')] #[Type(GetDataSourcesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDataSourcesBody extends SoapBody * @return self */ public function __construct( - ?GetDataSourcesRequest $request = NULL, ?GetDataSourcesResponse $response = NULL + ?GetDataSourcesRequest $request = null, ?GetDataSourcesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDataSourcesEnvelope.php b/src/Admin/Message/GetDataSourcesEnvelope.php index 187343dd7..d1b213d6f 100644 --- a/src/Admin/Message/GetDataSourcesEnvelope.php +++ b/src/Admin/Message/GetDataSourcesEnvelope.php @@ -35,7 +35,7 @@ class GetDataSourcesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDataSourcesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDataSourcesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDataSourcesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDataSourcesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDelegatedAdminConstraintsBody.php b/src/Admin/Message/GetDelegatedAdminConstraintsBody.php index fdd8804cd..7a3e64034 100644 --- a/src/Admin/Message/GetDelegatedAdminConstraintsBody.php +++ b/src/Admin/Message/GetDelegatedAdminConstraintsBody.php @@ -33,7 +33,7 @@ class GetDelegatedAdminConstraintsBody extends SoapBody #[SerializedName('GetDelegatedAdminConstraintsRequest')] #[Type(GetDelegatedAdminConstraintsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDelegatedAdminConstraintsBody extends SoapBody #[SerializedName('GetDelegatedAdminConstraintsResponse')] #[Type(GetDelegatedAdminConstraintsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,8 +54,8 @@ class GetDelegatedAdminConstraintsBody extends SoapBody * @return self */ public function __construct( - ?GetDelegatedAdminConstraintsRequest $request = NULL, - ?GetDelegatedAdminConstraintsResponse $response = NULL + ?GetDelegatedAdminConstraintsRequest $request = null, + ?GetDelegatedAdminConstraintsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDelegatedAdminConstraintsEnvelope.php b/src/Admin/Message/GetDelegatedAdminConstraintsEnvelope.php index f5e5edf5c..40fe49dcd 100644 --- a/src/Admin/Message/GetDelegatedAdminConstraintsEnvelope.php +++ b/src/Admin/Message/GetDelegatedAdminConstraintsEnvelope.php @@ -35,7 +35,7 @@ class GetDelegatedAdminConstraintsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDelegatedAdminConstraintsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDelegatedAdminConstraintsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDelegatedAdminConstraintsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDelegatedAdminConstraintsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDelegatedAdminConstraintsRequest.php b/src/Admin/Message/GetDelegatedAdminConstraintsRequest.php index 673e4718d..3797c5be2 100644 --- a/src/Admin/Message/GetDelegatedAdminConstraintsRequest.php +++ b/src/Admin/Message/GetDelegatedAdminConstraintsRequest.php @@ -81,15 +81,15 @@ class GetDelegatedAdminConstraintsRequest extends SoapRequest * @return self */ public function __construct( - ?TargetType $type = NULL, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + ?TargetType $type = null, ?string $id = null, ?string $name = null, array $attrs = [] ) { $this->setType($type ?? TargetType::ACCOUNT) ->setAttrs($attrs); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Admin/Message/GetDistributionListBody.php b/src/Admin/Message/GetDistributionListBody.php index 36a9d0c12..1f91b6ff6 100644 --- a/src/Admin/Message/GetDistributionListBody.php +++ b/src/Admin/Message/GetDistributionListBody.php @@ -33,7 +33,7 @@ class GetDistributionListBody extends SoapBody #[SerializedName('GetDistributionListRequest')] #[Type(GetDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDistributionListBody extends SoapBody #[SerializedName('GetDistributionListResponse')] #[Type(GetDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDistributionListBody extends SoapBody * @return self */ public function __construct( - ?GetDistributionListRequest $request = NULL, ?GetDistributionListResponse $response = NULL + ?GetDistributionListRequest $request = null, ?GetDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDistributionListEnvelope.php b/src/Admin/Message/GetDistributionListEnvelope.php index e1821f826..f3a2c0df3 100644 --- a/src/Admin/Message/GetDistributionListEnvelope.php +++ b/src/Admin/Message/GetDistributionListEnvelope.php @@ -35,7 +35,7 @@ class GetDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDistributionListMembershipBody.php b/src/Admin/Message/GetDistributionListMembershipBody.php index dfd95516d..80e87be26 100644 --- a/src/Admin/Message/GetDistributionListMembershipBody.php +++ b/src/Admin/Message/GetDistributionListMembershipBody.php @@ -33,7 +33,7 @@ class GetDistributionListMembershipBody extends SoapBody #[SerializedName('GetDistributionListMembershipRequest')] #[Type(GetDistributionListMembershipRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDistributionListMembershipBody extends SoapBody #[SerializedName('GetDistributionListMembershipResponse')] #[Type(GetDistributionListMembershipResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,8 +54,8 @@ class GetDistributionListMembershipBody extends SoapBody * @return self */ public function __construct( - ?GetDistributionListMembershipRequest $request = NULL, - ?GetDistributionListMembershipResponse $response = NULL + ?GetDistributionListMembershipRequest $request = null, + ?GetDistributionListMembershipResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDistributionListMembershipEnvelope.php b/src/Admin/Message/GetDistributionListMembershipEnvelope.php index 17393f937..b0f51b579 100644 --- a/src/Admin/Message/GetDistributionListMembershipEnvelope.php +++ b/src/Admin/Message/GetDistributionListMembershipEnvelope.php @@ -35,7 +35,7 @@ class GetDistributionListMembershipEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDistributionListMembershipBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDistributionListMembershipEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDistributionListMembershipBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDistributionListMembershipBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDistributionListMembershipRequest.php b/src/Admin/Message/GetDistributionListMembershipRequest.php index 14f695754..e813f852c 100644 --- a/src/Admin/Message/GetDistributionListMembershipRequest.php +++ b/src/Admin/Message/GetDistributionListMembershipRequest.php @@ -68,16 +68,16 @@ class GetDistributionListMembershipRequest extends SoapRequest * @return self */ public function __construct( - ?DistributionList $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL + ?DistributionList $dl = null, + ?int $limit = null, + ?int $offset = null ) { $this->dl = $dl; - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } } diff --git a/src/Admin/Message/GetDistributionListRequest.php b/src/Admin/Message/GetDistributionListRequest.php index 6936e036c..35739dd4a 100644 --- a/src/Admin/Message/GetDistributionListRequest.php +++ b/src/Admin/Message/GetDistributionListRequest.php @@ -83,24 +83,24 @@ class GetDistributionListRequest extends SoapRequest implements AttributeSelecto * @return self */ public function __construct( - ?DistributionList $dl = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?DistributionList $dl = null, + ?int $limit = null, + ?int $offset = null, + ?bool $sortAscending = null, + ?string $attrs = null ) { $this->dl = $dl; - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetDistributionListResponse.php b/src/Admin/Message/GetDistributionListResponse.php index db31b8318..ac15e50cf 100644 --- a/src/Admin/Message/GetDistributionListResponse.php +++ b/src/Admin/Message/GetDistributionListResponse.php @@ -69,14 +69,14 @@ class GetDistributionListResponse extends SoapResponse * @return self */ public function __construct( - ?DLInfo $dl = NULL, ?bool $more = NULL, ?int $total = NULL + ?DLInfo $dl = null, ?bool $more = null, ?int $total = null ) { $this->dl = $dl; - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $total) { + if (null !== $total) { $this->setTotal($total); } } diff --git a/src/Admin/Message/GetDomainBody.php b/src/Admin/Message/GetDomainBody.php index 05a6f586e..8a647f0f6 100644 --- a/src/Admin/Message/GetDomainBody.php +++ b/src/Admin/Message/GetDomainBody.php @@ -33,7 +33,7 @@ class GetDomainBody extends SoapBody #[SerializedName('GetDomainRequest')] #[Type(GetDomainRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDomainBody extends SoapBody #[SerializedName('GetDomainResponse')] #[Type(GetDomainResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDomainBody extends SoapBody * @return self */ public function __construct( - ?GetDomainRequest $request = NULL, ?GetDomainResponse $response = NULL + ?GetDomainRequest $request = null, ?GetDomainResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDomainEnvelope.php b/src/Admin/Message/GetDomainEnvelope.php index 97240ec5a..392b0e9f9 100644 --- a/src/Admin/Message/GetDomainEnvelope.php +++ b/src/Admin/Message/GetDomainEnvelope.php @@ -35,7 +35,7 @@ class GetDomainEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDomainBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDomainEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDomainBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDomainBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDomainInfoBody.php b/src/Admin/Message/GetDomainInfoBody.php index d75e1c7e2..8126d2903 100644 --- a/src/Admin/Message/GetDomainInfoBody.php +++ b/src/Admin/Message/GetDomainInfoBody.php @@ -33,7 +33,7 @@ class GetDomainInfoBody extends SoapBody #[SerializedName('GetDomainInfoRequest')] #[Type(GetDomainInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDomainInfoBody extends SoapBody #[SerializedName('GetDomainInfoResponse')] #[Type(GetDomainInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDomainInfoBody extends SoapBody * @return self */ public function __construct( - ?GetDomainInfoRequest $request = NULL, ?GetDomainInfoResponse $response = NULL + ?GetDomainInfoRequest $request = null, ?GetDomainInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetDomainInfoEnvelope.php b/src/Admin/Message/GetDomainInfoEnvelope.php index 6d84a7ee1..04adc885b 100644 --- a/src/Admin/Message/GetDomainInfoEnvelope.php +++ b/src/Admin/Message/GetDomainInfoEnvelope.php @@ -35,7 +35,7 @@ class GetDomainInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDomainInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDomainInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDomainInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDomainInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetDomainInfoRequest.php b/src/Admin/Message/GetDomainInfoRequest.php index 20d6cfd44..da4c9df7d 100644 --- a/src/Admin/Message/GetDomainInfoRequest.php +++ b/src/Admin/Message/GetDomainInfoRequest.php @@ -60,12 +60,12 @@ class GetDomainInfoRequest extends SoapRequest * @return self */ public function __construct( - ?DomainSelector $domain = NULL, - ?bool $applyConfig = NULL + ?DomainSelector $domain = null, + ?bool $applyConfig = null ) { $this->domain = $domain; - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } } diff --git a/src/Admin/Message/GetDomainInfoResponse.php b/src/Admin/Message/GetDomainInfoResponse.php index 2ceab490f..24fa27406 100644 --- a/src/Admin/Message/GetDomainInfoResponse.php +++ b/src/Admin/Message/GetDomainInfoResponse.php @@ -42,7 +42,7 @@ class GetDomainInfoResponse extends SoapResponse * @param DomainInfo $domain * @return self */ - public function __construct(?DomainInfo $domain = NULL) + public function __construct(?DomainInfo $domain = null) { $this->domain = $domain; } diff --git a/src/Admin/Message/GetDomainRequest.php b/src/Admin/Message/GetDomainRequest.php index 7c148b673..eb52d5a38 100644 --- a/src/Admin/Message/GetDomainRequest.php +++ b/src/Admin/Message/GetDomainRequest.php @@ -60,16 +60,16 @@ class GetDomainRequest extends SoapRequest implements AttributeSelector * @return self */ public function __construct( - ?DomainSelector $domain = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?DomainSelector $domain = null, + ?bool $applyConfig = null, + ?string $attrs = null ) { $this->domain = $domain; - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetDomainResponse.php b/src/Admin/Message/GetDomainResponse.php index da92e6647..c5b1135d6 100644 --- a/src/Admin/Message/GetDomainResponse.php +++ b/src/Admin/Message/GetDomainResponse.php @@ -42,7 +42,7 @@ class GetDomainResponse extends SoapResponse * @param DomainInfo $domain * @return self */ - public function __construct(?DomainInfo $domain = NULL) + public function __construct(?DomainInfo $domain = null) { $this->domain = $domain; if ($domain instanceof DomainInfo) { diff --git a/src/Admin/Message/GetEffectiveRightsBody.php b/src/Admin/Message/GetEffectiveRightsBody.php index 2388e1dda..28aa2538d 100644 --- a/src/Admin/Message/GetEffectiveRightsBody.php +++ b/src/Admin/Message/GetEffectiveRightsBody.php @@ -33,7 +33,7 @@ class GetEffectiveRightsBody extends SoapBody #[SerializedName('GetEffectiveRightsRequest')] #[Type(GetEffectiveRightsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetEffectiveRightsBody extends SoapBody #[SerializedName('GetEffectiveRightsResponse')] #[Type(GetEffectiveRightsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetEffectiveRightsBody extends SoapBody * @return self */ public function __construct( - ?GetEffectiveRightsRequest $request = NULL, ?GetEffectiveRightsResponse $response = NULL + ?GetEffectiveRightsRequest $request = null, ?GetEffectiveRightsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetEffectiveRightsEnvelope.php b/src/Admin/Message/GetEffectiveRightsEnvelope.php index d3ef83900..c6edef8a4 100644 --- a/src/Admin/Message/GetEffectiveRightsEnvelope.php +++ b/src/Admin/Message/GetEffectiveRightsEnvelope.php @@ -35,7 +35,7 @@ class GetEffectiveRightsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetEffectiveRightsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetEffectiveRightsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetEffectiveRightsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetEffectiveRightsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetEffectiveRightsRequest.php b/src/Admin/Message/GetEffectiveRightsRequest.php index 9b78647a1..9bf97b143 100644 --- a/src/Admin/Message/GetEffectiveRightsRequest.php +++ b/src/Admin/Message/GetEffectiveRightsRequest.php @@ -82,18 +82,18 @@ class GetEffectiveRightsRequest extends SoapRequest */ public function __construct( EffectiveRightsTargetSelector $target, - ?GranteeSelector $grantee = NULL, - ?bool $expandSetAttrs = NULL, - ?bool $expandGetAttrs = NULL + ?GranteeSelector $grantee = null, + ?bool $expandSetAttrs = null, + ?bool $expandGetAttrs = null ) { $this->setTarget($target); $this->grantee = $grantee; $attrs = []; - if (NULL !== $expandSetAttrs) { + if (null !== $expandSetAttrs) { $attrs[self::EXPAND_SET_ATTRS] = self::EXPAND_SET_ATTRS; } - if (NULL !== $expandGetAttrs) { + if (null !== $expandGetAttrs) { $attrs[self::EXPAND_GET_ATTRS] = self::EXPAND_GET_ATTRS; } if (!empty($attrs)) { diff --git a/src/Admin/Message/GetEffectiveRightsResponse.php b/src/Admin/Message/GetEffectiveRightsResponse.php index b70405cb9..ab2748ef2 100644 --- a/src/Admin/Message/GetEffectiveRightsResponse.php +++ b/src/Admin/Message/GetEffectiveRightsResponse.php @@ -55,7 +55,7 @@ class GetEffectiveRightsResponse extends SoapResponse * @return self */ public function __construct( - ?GranteeInfo $grantee = NULL, ?EffectiveRightsTargetInfo $target = NULL + ?GranteeInfo $grantee = null, ?EffectiveRightsTargetInfo $target = null ) { $this->grantee = $grantee; diff --git a/src/Admin/Message/GetFilterRulesBody.php b/src/Admin/Message/GetFilterRulesBody.php index 77df377f8..17393d2a8 100644 --- a/src/Admin/Message/GetFilterRulesBody.php +++ b/src/Admin/Message/GetFilterRulesBody.php @@ -33,7 +33,7 @@ class GetFilterRulesBody extends SoapBody #[SerializedName('GetFilterRulesRequest')] #[Type(GetFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetFilterRulesBody extends SoapBody #[SerializedName('GetFilterRulesResponse')] #[Type(GetFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?GetFilterRulesRequest $request = NULL, ?GetFilterRulesResponse $response = NULL + ?GetFilterRulesRequest $request = null, ?GetFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetFilterRulesEnvelope.php b/src/Admin/Message/GetFilterRulesEnvelope.php index 7a352110b..e6a32a11b 100644 --- a/src/Admin/Message/GetFilterRulesEnvelope.php +++ b/src/Admin/Message/GetFilterRulesEnvelope.php @@ -36,7 +36,7 @@ class GetFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class GetFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetFilterRulesRequest.php b/src/Admin/Message/GetFilterRulesRequest.php index 3b7bffbcc..631e7aa29 100644 --- a/src/Admin/Message/GetFilterRulesRequest.php +++ b/src/Admin/Message/GetFilterRulesRequest.php @@ -92,11 +92,11 @@ class GetFilterRulesRequest extends SoapRequest * @return self */ public function __construct( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null ) { $this->setType($type ?? AdminFilterType::BEFORE); diff --git a/src/Admin/Message/GetFilterRulesResponse.php b/src/Admin/Message/GetFilterRulesResponse.php index 6d9e555a9..dc4a378ce 100644 --- a/src/Admin/Message/GetFilterRulesResponse.php +++ b/src/Admin/Message/GetFilterRulesResponse.php @@ -105,11 +105,11 @@ class GetFilterRulesResponse extends SoapResponse * @return self */ public function __construct( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $rules = [] ) { diff --git a/src/Admin/Message/GetFreeBusyQueueInfoBody.php b/src/Admin/Message/GetFreeBusyQueueInfoBody.php index cc2cf1c5c..62166e414 100644 --- a/src/Admin/Message/GetFreeBusyQueueInfoBody.php +++ b/src/Admin/Message/GetFreeBusyQueueInfoBody.php @@ -33,7 +33,7 @@ class GetFreeBusyQueueInfoBody extends SoapBody #[SerializedName('GetFreeBusyQueueInfoRequest')] #[Type(GetFreeBusyQueueInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetFreeBusyQueueInfoBody extends SoapBody #[SerializedName('GetFreeBusyQueueInfoResponse')] #[Type(GetFreeBusyQueueInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetFreeBusyQueueInfoBody extends SoapBody * @return self */ public function __construct( - ?GetFreeBusyQueueInfoRequest $request = NULL, ?GetFreeBusyQueueInfoResponse $response = NULL + ?GetFreeBusyQueueInfoRequest $request = null, ?GetFreeBusyQueueInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetFreeBusyQueueInfoEnvelope.php b/src/Admin/Message/GetFreeBusyQueueInfoEnvelope.php index ef6299dba..5430c6be9 100644 --- a/src/Admin/Message/GetFreeBusyQueueInfoEnvelope.php +++ b/src/Admin/Message/GetFreeBusyQueueInfoEnvelope.php @@ -35,7 +35,7 @@ class GetFreeBusyQueueInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetFreeBusyQueueInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetFreeBusyQueueInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetFreeBusyQueueInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetFreeBusyQueueInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetFreeBusyQueueInfoRequest.php b/src/Admin/Message/GetFreeBusyQueueInfoRequest.php index 0f266041c..879c80ced 100644 --- a/src/Admin/Message/GetFreeBusyQueueInfoRequest.php +++ b/src/Admin/Message/GetFreeBusyQueueInfoRequest.php @@ -44,7 +44,7 @@ class GetFreeBusyQueueInfoRequest extends SoapRequest * @param NamedElement $provider * @return self */ - public function __construct(?NamedElement $provider = NULL) + public function __construct(?NamedElement $provider = null) { $this->provider = $provider; } diff --git a/src/Admin/Message/GetGrantsBody.php b/src/Admin/Message/GetGrantsBody.php index b19d6cdea..14359198d 100644 --- a/src/Admin/Message/GetGrantsBody.php +++ b/src/Admin/Message/GetGrantsBody.php @@ -33,7 +33,7 @@ class GetGrantsBody extends SoapBody #[SerializedName('GetGrantsRequest')] #[Type(GetGrantsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetGrantsBody extends SoapBody #[SerializedName('GetGrantsResponse')] #[Type(GetGrantsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetGrantsBody extends SoapBody * @return self */ public function __construct( - ?GetGrantsRequest $request = NULL, ?GetGrantsResponse $response = NULL + ?GetGrantsRequest $request = null, ?GetGrantsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetGrantsEnvelope.php b/src/Admin/Message/GetGrantsEnvelope.php index 19e417017..132cbf273 100644 --- a/src/Admin/Message/GetGrantsEnvelope.php +++ b/src/Admin/Message/GetGrantsEnvelope.php @@ -35,7 +35,7 @@ class GetGrantsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetGrantsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetGrantsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetGrantsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetGrantsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetGrantsRequest.php b/src/Admin/Message/GetGrantsRequest.php index 8bf769893..8698a7470 100644 --- a/src/Admin/Message/GetGrantsRequest.php +++ b/src/Admin/Message/GetGrantsRequest.php @@ -59,8 +59,8 @@ class GetGrantsRequest extends SoapRequest * @return self */ public function __construct( - ?EffectiveRightsTargetSelector $target = NULL, - ?GranteeSelector $grantee = NULL + ?EffectiveRightsTargetSelector $target = null, + ?GranteeSelector $grantee = null ) { $this->target = $target; diff --git a/src/Admin/Message/GetIndexStatsBody.php b/src/Admin/Message/GetIndexStatsBody.php index 994b2c78b..91276a77d 100644 --- a/src/Admin/Message/GetIndexStatsBody.php +++ b/src/Admin/Message/GetIndexStatsBody.php @@ -33,7 +33,7 @@ class GetIndexStatsBody extends SoapBody #[SerializedName('GetIndexStatsRequest')] #[Type(GetIndexStatsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetIndexStatsBody extends SoapBody #[SerializedName('GetIndexStatsResponse')] #[Type(GetIndexStatsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetIndexStatsBody extends SoapBody * @return self */ public function __construct( - ?GetIndexStatsRequest $request = NULL, ?GetIndexStatsResponse $response = NULL + ?GetIndexStatsRequest $request = null, ?GetIndexStatsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetIndexStatsEnvelope.php b/src/Admin/Message/GetIndexStatsEnvelope.php index 3d8794458..7b31d497d 100644 --- a/src/Admin/Message/GetIndexStatsEnvelope.php +++ b/src/Admin/Message/GetIndexStatsEnvelope.php @@ -35,7 +35,7 @@ class GetIndexStatsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetIndexStatsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetIndexStatsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetIndexStatsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetIndexStatsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetIndexStatsResponse.php b/src/Admin/Message/GetIndexStatsResponse.php index 0ab5b4da8..611b59a7f 100644 --- a/src/Admin/Message/GetIndexStatsResponse.php +++ b/src/Admin/Message/GetIndexStatsResponse.php @@ -42,7 +42,7 @@ class GetIndexStatsResponse extends SoapResponse * @param IndexStats $stats * @return self */ - public function __construct(?IndexStats $stats = NULL) + public function __construct(?IndexStats $stats = null) { $this->stats = $stats; } diff --git a/src/Admin/Message/GetLDAPEntriesBody.php b/src/Admin/Message/GetLDAPEntriesBody.php index 771f640ff..0302d7a4b 100644 --- a/src/Admin/Message/GetLDAPEntriesBody.php +++ b/src/Admin/Message/GetLDAPEntriesBody.php @@ -33,7 +33,7 @@ class GetLDAPEntriesBody extends SoapBody #[SerializedName('GetLDAPEntriesRequest')] #[Type(GetLDAPEntriesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetLDAPEntriesBody extends SoapBody #[SerializedName('GetLDAPEntriesResponse')] #[Type(GetLDAPEntriesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetLDAPEntriesBody extends SoapBody * @return self */ public function __construct( - ?GetLDAPEntriesRequest $request = NULL, ?GetLDAPEntriesResponse $response = NULL + ?GetLDAPEntriesRequest $request = null, ?GetLDAPEntriesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetLDAPEntriesEnvelope.php b/src/Admin/Message/GetLDAPEntriesEnvelope.php index bf23c9f30..4fb89b554 100644 --- a/src/Admin/Message/GetLDAPEntriesEnvelope.php +++ b/src/Admin/Message/GetLDAPEntriesEnvelope.php @@ -35,7 +35,7 @@ class GetLDAPEntriesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetLDAPEntriesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetLDAPEntriesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetLDAPEntriesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetLDAPEntriesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetLDAPEntriesRequest.php b/src/Admin/Message/GetLDAPEntriesRequest.php index d708c2b5d..e69ca24af 100644 --- a/src/Admin/Message/GetLDAPEntriesRequest.php +++ b/src/Admin/Message/GetLDAPEntriesRequest.php @@ -104,27 +104,27 @@ class GetLDAPEntriesRequest extends SoapRequest */ public function __construct( string $ldapSearchBase = '', - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $query = NULL + ?string $sortBy = null, + ?bool $sortAscending = null, + ?int $limit = null, + ?int $offset = null, + ?string $query = null ) { $this->setLdapSearchBase($ldapSearchBase); - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } } diff --git a/src/Admin/Message/GetLicenseInfoBody.php b/src/Admin/Message/GetLicenseInfoBody.php index a775d23ae..59d552fcc 100644 --- a/src/Admin/Message/GetLicenseInfoBody.php +++ b/src/Admin/Message/GetLicenseInfoBody.php @@ -33,7 +33,7 @@ class GetLicenseInfoBody extends SoapBody #[SerializedName('GetLicenseInfoRequest')] #[Type(GetLicenseInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetLicenseInfoBody extends SoapBody #[SerializedName('GetLicenseInfoResponse')] #[Type(GetLicenseInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetLicenseInfoBody extends SoapBody * @return self */ public function __construct( - ?GetLicenseInfoRequest $request = NULL, ?GetLicenseInfoResponse $response = NULL + ?GetLicenseInfoRequest $request = null, ?GetLicenseInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetLicenseInfoEnvelope.php b/src/Admin/Message/GetLicenseInfoEnvelope.php index 6ea6c16d8..319b30404 100644 --- a/src/Admin/Message/GetLicenseInfoEnvelope.php +++ b/src/Admin/Message/GetLicenseInfoEnvelope.php @@ -35,7 +35,7 @@ class GetLicenseInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetLicenseInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetLicenseInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetLicenseInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetLicenseInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetLicenseInfoResponse.php b/src/Admin/Message/GetLicenseInfoResponse.php index 8c0d9ce1d..ebe6b9f10 100644 --- a/src/Admin/Message/GetLicenseInfoResponse.php +++ b/src/Admin/Message/GetLicenseInfoResponse.php @@ -42,7 +42,7 @@ class GetLicenseInfoResponse extends SoapResponse * @param LicenseExpirationInfo $expiration * @return self */ - public function __construct(?LicenseExpirationInfo $expiration = NULL) + public function __construct(?LicenseExpirationInfo $expiration = null) { $this->expiration = $expiration; } diff --git a/src/Admin/Message/GetLoggerStatsBody.php b/src/Admin/Message/GetLoggerStatsBody.php index 5caddf280..d4ffd00c0 100644 --- a/src/Admin/Message/GetLoggerStatsBody.php +++ b/src/Admin/Message/GetLoggerStatsBody.php @@ -33,7 +33,7 @@ class GetLoggerStatsBody extends SoapBody #[SerializedName('GetLoggerStatsRequest')] #[Type(GetLoggerStatsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetLoggerStatsBody extends SoapBody #[SerializedName('GetLoggerStatsResponse')] #[Type(GetLoggerStatsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetLoggerStatsBody extends SoapBody * @return self */ public function __construct( - ?GetLoggerStatsRequest $request = NULL, ?GetLoggerStatsResponse $response = NULL + ?GetLoggerStatsRequest $request = null, ?GetLoggerStatsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetLoggerStatsEnvelope.php b/src/Admin/Message/GetLoggerStatsEnvelope.php index c411c2f62..a4293c69f 100644 --- a/src/Admin/Message/GetLoggerStatsEnvelope.php +++ b/src/Admin/Message/GetLoggerStatsEnvelope.php @@ -35,7 +35,7 @@ class GetLoggerStatsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetLoggerStatsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetLoggerStatsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetLoggerStatsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetLoggerStatsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetLoggerStatsRequest.php b/src/Admin/Message/GetLoggerStatsRequest.php index c828b91ed..087b465d4 100644 --- a/src/Admin/Message/GetLoggerStatsRequest.php +++ b/src/Admin/Message/GetLoggerStatsRequest.php @@ -85,7 +85,7 @@ class GetLoggerStatsRequest extends SoapRequest * @return self */ public function __construct( - ?HostName $hostName = NULL, ?StatsSpec $stats = NULL, ?TimeAttr $startTime = NULL, ?TimeAttr $endTime = NULL + ?HostName $hostName = null, ?StatsSpec $stats = null, ?TimeAttr $startTime = null, ?TimeAttr $endTime = null ) { $this->hostName = $hostName; diff --git a/src/Admin/Message/GetLoggerStatsResponse.php b/src/Admin/Message/GetLoggerStatsResponse.php index d18363aa2..23149b00f 100644 --- a/src/Admin/Message/GetLoggerStatsResponse.php +++ b/src/Admin/Message/GetLoggerStatsResponse.php @@ -53,10 +53,10 @@ class GetLoggerStatsResponse extends SoapResponse * @param string $note * @return self */ - public function __construct(array $hostNames = [], ?string $note = NULL) + public function __construct(array $hostNames = [], ?string $note = null) { $this->setHostNames($hostNames); - if (NULL !== $note) { + if (null !== $note) { $this->setNote($note); } } diff --git a/src/Admin/Message/GetMailQueueBody.php b/src/Admin/Message/GetMailQueueBody.php index db64d327e..e0bdbad80 100644 --- a/src/Admin/Message/GetMailQueueBody.php +++ b/src/Admin/Message/GetMailQueueBody.php @@ -33,7 +33,7 @@ class GetMailQueueBody extends SoapBody #[SerializedName('GetMailQueueRequest')] #[Type(GetMailQueueRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMailQueueBody extends SoapBody #[SerializedName('GetMailQueueResponse')] #[Type(GetMailQueueResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMailQueueBody extends SoapBody * @return self */ public function __construct( - ?GetMailQueueRequest $request = NULL, ?GetMailQueueResponse $response = NULL + ?GetMailQueueRequest $request = null, ?GetMailQueueResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetMailQueueEnvelope.php b/src/Admin/Message/GetMailQueueEnvelope.php index 6da22b3d2..33f36cd62 100644 --- a/src/Admin/Message/GetMailQueueEnvelope.php +++ b/src/Admin/Message/GetMailQueueEnvelope.php @@ -35,7 +35,7 @@ class GetMailQueueEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMailQueueBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMailQueueEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMailQueueBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMailQueueBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetMailQueueInfoBody.php b/src/Admin/Message/GetMailQueueInfoBody.php index 3a5b194bf..c214764d9 100644 --- a/src/Admin/Message/GetMailQueueInfoBody.php +++ b/src/Admin/Message/GetMailQueueInfoBody.php @@ -33,7 +33,7 @@ class GetMailQueueInfoBody extends SoapBody #[SerializedName('GetMailQueueInfoRequest')] #[Type(GetMailQueueInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMailQueueInfoBody extends SoapBody #[SerializedName('GetMailQueueInfoResponse')] #[Type(GetMailQueueInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMailQueueInfoBody extends SoapBody * @return self */ public function __construct( - ?GetMailQueueInfoRequest $request = NULL, ?GetMailQueueInfoResponse $response = NULL + ?GetMailQueueInfoRequest $request = null, ?GetMailQueueInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetMailQueueInfoEnvelope.php b/src/Admin/Message/GetMailQueueInfoEnvelope.php index a5623f5eb..452cb3ca3 100644 --- a/src/Admin/Message/GetMailQueueInfoEnvelope.php +++ b/src/Admin/Message/GetMailQueueInfoEnvelope.php @@ -35,7 +35,7 @@ class GetMailQueueInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMailQueueInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMailQueueInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMailQueueInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMailQueueInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetMailQueueInfoResponse.php b/src/Admin/Message/GetMailQueueInfoResponse.php index 429781de8..e9dd8de77 100644 --- a/src/Admin/Message/GetMailQueueInfoResponse.php +++ b/src/Admin/Message/GetMailQueueInfoResponse.php @@ -42,7 +42,7 @@ class GetMailQueueInfoResponse extends SoapResponse * @param Server $server * @return self */ - public function __construct(?Server $server = NULL) + public function __construct(?Server $server = null) { $this->server = $server; } diff --git a/src/Admin/Message/GetMailQueueResponse.php b/src/Admin/Message/GetMailQueueResponse.php index 5c407eb18..a0bea0ec6 100644 --- a/src/Admin/Message/GetMailQueueResponse.php +++ b/src/Admin/Message/GetMailQueueResponse.php @@ -42,7 +42,7 @@ class GetMailQueueResponse extends SoapResponse * @param Server $server * @return self */ - public function __construct(?Server $server = NULL) + public function __construct(?Server $server = null) { $this->server = $server; if ($server instanceof Server) { diff --git a/src/Admin/Message/GetMailboxBody.php b/src/Admin/Message/GetMailboxBody.php index 42e61b153..e3076d753 100644 --- a/src/Admin/Message/GetMailboxBody.php +++ b/src/Admin/Message/GetMailboxBody.php @@ -33,7 +33,7 @@ class GetMailboxBody extends SoapBody #[SerializedName('GetMailboxRequest')] #[Type(GetMailboxRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMailboxBody extends SoapBody #[SerializedName('GetMailboxResponse')] #[Type(GetMailboxResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMailboxBody extends SoapBody * @return self */ public function __construct( - ?GetMailboxRequest $request = NULL, ?GetMailboxResponse $response = NULL + ?GetMailboxRequest $request = null, ?GetMailboxResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetMailboxEnvelope.php b/src/Admin/Message/GetMailboxEnvelope.php index ecfbab2f4..56d448cd5 100644 --- a/src/Admin/Message/GetMailboxEnvelope.php +++ b/src/Admin/Message/GetMailboxEnvelope.php @@ -35,7 +35,7 @@ class GetMailboxEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMailboxBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMailboxEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMailboxBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMailboxBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetMailboxRequest.php b/src/Admin/Message/GetMailboxRequest.php index 432991ab4..d61464500 100644 --- a/src/Admin/Message/GetMailboxRequest.php +++ b/src/Admin/Message/GetMailboxRequest.php @@ -44,7 +44,7 @@ class GetMailboxRequest extends SoapRequest * @return self */ public function __construct( - ?Mailbox $mbox = NULL + ?Mailbox $mbox = null ) { $this->mbox = $mbox; diff --git a/src/Admin/Message/GetMailboxResponse.php b/src/Admin/Message/GetMailboxResponse.php index 39776c8d6..6f0d00f14 100644 --- a/src/Admin/Message/GetMailboxResponse.php +++ b/src/Admin/Message/GetMailboxResponse.php @@ -42,7 +42,7 @@ class GetMailboxResponse extends SoapResponse * @param Mailbox $mbox * @return self */ - public function __construct(?Mailbox $mbox = NULL) + public function __construct(?Mailbox $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/GetMailboxStatsBody.php b/src/Admin/Message/GetMailboxStatsBody.php index 991eb1268..b38b882e5 100644 --- a/src/Admin/Message/GetMailboxStatsBody.php +++ b/src/Admin/Message/GetMailboxStatsBody.php @@ -33,7 +33,7 @@ class GetMailboxStatsBody extends SoapBody #[SerializedName('GetMailboxStatsRequest')] #[Type(GetMailboxStatsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMailboxStatsBody extends SoapBody #[SerializedName('GetMailboxStatsResponse')] #[Type(GetMailboxStatsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMailboxStatsBody extends SoapBody * @return self */ public function __construct( - ?GetMailboxStatsRequest $request = NULL, ?GetMailboxStatsResponse $response = NULL + ?GetMailboxStatsRequest $request = null, ?GetMailboxStatsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetMailboxStatsEnvelope.php b/src/Admin/Message/GetMailboxStatsEnvelope.php index b5debd3ad..8b54baa38 100644 --- a/src/Admin/Message/GetMailboxStatsEnvelope.php +++ b/src/Admin/Message/GetMailboxStatsEnvelope.php @@ -35,7 +35,7 @@ class GetMailboxStatsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMailboxStatsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMailboxStatsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMailboxStatsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMailboxStatsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetMailboxStatsResponse.php b/src/Admin/Message/GetMailboxStatsResponse.php index d82b472de..8b92523a4 100644 --- a/src/Admin/Message/GetMailboxStatsResponse.php +++ b/src/Admin/Message/GetMailboxStatsResponse.php @@ -42,7 +42,7 @@ class GetMailboxStatsResponse extends SoapResponse * @param MailboxStats $stats * @return self */ - public function __construct(?MailboxStats $stats = NULL) + public function __construct(?MailboxStats $stats = null) { $this->stats = $stats; } diff --git a/src/Admin/Message/GetMemcachedClientConfigBody.php b/src/Admin/Message/GetMemcachedClientConfigBody.php index 37759b5d7..4d443a73b 100644 --- a/src/Admin/Message/GetMemcachedClientConfigBody.php +++ b/src/Admin/Message/GetMemcachedClientConfigBody.php @@ -33,7 +33,7 @@ class GetMemcachedClientConfigBody extends SoapBody #[SerializedName('GetMemcachedClientConfigRequest')] #[Type(GetMemcachedClientConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMemcachedClientConfigBody extends SoapBody #[SerializedName('GetMemcachedClientConfigResponse')] #[Type(GetMemcachedClientConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMemcachedClientConfigBody extends SoapBody * @return self */ public function __construct( - ?GetMemcachedClientConfigRequest $request = NULL, ?GetMemcachedClientConfigResponse $response = NULL + ?GetMemcachedClientConfigRequest $request = null, ?GetMemcachedClientConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetMemcachedClientConfigEnvelope.php b/src/Admin/Message/GetMemcachedClientConfigEnvelope.php index 90082f98b..cf8e5abd0 100644 --- a/src/Admin/Message/GetMemcachedClientConfigEnvelope.php +++ b/src/Admin/Message/GetMemcachedClientConfigEnvelope.php @@ -35,7 +35,7 @@ class GetMemcachedClientConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMemcachedClientConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMemcachedClientConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMemcachedClientConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMemcachedClientConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetMemcachedClientConfigResponse.php b/src/Admin/Message/GetMemcachedClientConfigResponse.php index 7a6c5ef6d..84dc2888d 100644 --- a/src/Admin/Message/GetMemcachedClientConfigResponse.php +++ b/src/Admin/Message/GetMemcachedClientConfigResponse.php @@ -90,26 +90,26 @@ class GetMemcachedClientConfigResponse extends SoapResponse * @return self */ public function __construct( - ?string $serverList = NULL, - ?string $hashAlgorithm = NULL, - ?bool $binaryProtocolEnabled = NULL, - ?int $defaultExpirySeconds = NULL, - ?int $defaultTimeoutMillis = NULL + ?string $serverList = null, + ?string $hashAlgorithm = null, + ?bool $binaryProtocolEnabled = null, + ?int $defaultExpirySeconds = null, + ?int $defaultTimeoutMillis = null ) { - if (NULL !== $serverList) { + if (null !== $serverList) { $this->setServerList($serverList); } - if (NULL !== $hashAlgorithm) { + if (null !== $hashAlgorithm) { $this->setHashAlgorithm($hashAlgorithm); } - if (NULL !== $binaryProtocolEnabled) { + if (null !== $binaryProtocolEnabled) { $this->setBinaryProtocolEnabled($binaryProtocolEnabled); } - if (NULL !== $defaultExpirySeconds) { + if (null !== $defaultExpirySeconds) { $this->setDefaultExpirySeconds($defaultExpirySeconds); } - if (NULL !== $defaultTimeoutMillis) { + if (null !== $defaultTimeoutMillis) { $this->setDefaultTimeoutMillis($defaultTimeoutMillis); } } diff --git a/src/Admin/Message/GetOutgoingFilterRulesBody.php b/src/Admin/Message/GetOutgoingFilterRulesBody.php index 41a86460c..bf3d4f95d 100644 --- a/src/Admin/Message/GetOutgoingFilterRulesBody.php +++ b/src/Admin/Message/GetOutgoingFilterRulesBody.php @@ -33,7 +33,7 @@ class GetOutgoingFilterRulesBody extends SoapBody #[SerializedName('GetOutgoingFilterRulesRequest')] #[Type(GetOutgoingFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetOutgoingFilterRulesBody extends SoapBody #[SerializedName('GetOutgoingFilterRulesResponse')] #[Type(GetOutgoingFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetOutgoingFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?GetOutgoingFilterRulesRequest $request = NULL, ?GetOutgoingFilterRulesResponse $response = NULL + ?GetOutgoingFilterRulesRequest $request = null, ?GetOutgoingFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetOutgoingFilterRulesEnvelope.php b/src/Admin/Message/GetOutgoingFilterRulesEnvelope.php index f20ab8f16..3ff1567e3 100644 --- a/src/Admin/Message/GetOutgoingFilterRulesEnvelope.php +++ b/src/Admin/Message/GetOutgoingFilterRulesEnvelope.php @@ -36,7 +36,7 @@ class GetOutgoingFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetOutgoingFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class GetOutgoingFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetOutgoingFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetOutgoingFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetQuotaUsageBody.php b/src/Admin/Message/GetQuotaUsageBody.php index 15ca9c04a..4a246002c 100644 --- a/src/Admin/Message/GetQuotaUsageBody.php +++ b/src/Admin/Message/GetQuotaUsageBody.php @@ -33,7 +33,7 @@ class GetQuotaUsageBody extends SoapBody #[SerializedName('GetQuotaUsageRequest')] #[Type(GetQuotaUsageRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetQuotaUsageBody extends SoapBody #[SerializedName('GetQuotaUsageResponse')] #[Type(GetQuotaUsageResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetQuotaUsageBody extends SoapBody * @return self */ public function __construct( - ?GetQuotaUsageRequest $request = NULL, ?GetQuotaUsageResponse $response = NULL + ?GetQuotaUsageRequest $request = null, ?GetQuotaUsageResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetQuotaUsageEnvelope.php b/src/Admin/Message/GetQuotaUsageEnvelope.php index 231c018f9..0471e6a2f 100644 --- a/src/Admin/Message/GetQuotaUsageEnvelope.php +++ b/src/Admin/Message/GetQuotaUsageEnvelope.php @@ -35,7 +35,7 @@ class GetQuotaUsageEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetQuotaUsageBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetQuotaUsageEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetQuotaUsageBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetQuotaUsageBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetQuotaUsageRequest.php b/src/Admin/Message/GetQuotaUsageRequest.php index da55f0f94..659a51c9a 100644 --- a/src/Admin/Message/GetQuotaUsageRequest.php +++ b/src/Admin/Message/GetQuotaUsageRequest.php @@ -119,34 +119,34 @@ class GetQuotaUsageRequest extends SoapRequest * @return self */ public function __construct( - ?string $domain = NULL, - ?bool $allServers = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?bool $refresh = NULL + ?string $domain = null, + ?bool $allServers = null, + ?int $limit = null, + ?int $offset = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?bool $refresh = null ) { - if (NULL !== $domain) { + if (null !== $domain) { $this->setDomain($domain); } - if (NULL !== $allServers) { + if (null !== $allServers) { $this->setAllServers($allServers); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } - if (NULL !== $refresh) { + if (null !== $refresh) { $this->setRefresh($refresh); } } diff --git a/src/Admin/Message/GetQuotaUsageResponse.php b/src/Admin/Message/GetQuotaUsageResponse.php index 828090f1c..48b10f367 100644 --- a/src/Admin/Message/GetQuotaUsageResponse.php +++ b/src/Admin/Message/GetQuotaUsageResponse.php @@ -66,7 +66,7 @@ class GetQuotaUsageResponse extends SoapResponse * @return self */ public function __construct( - bool $more = FALSE, + bool $more = false, int $searchTotal = 0, array $accountQuotas = []) { diff --git a/src/Admin/Message/GetRightBody.php b/src/Admin/Message/GetRightBody.php index ea0ac41c3..5cb1cb16b 100644 --- a/src/Admin/Message/GetRightBody.php +++ b/src/Admin/Message/GetRightBody.php @@ -33,7 +33,7 @@ class GetRightBody extends SoapBody #[SerializedName('GetRightRequest')] #[Type(GetRightRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetRightBody extends SoapBody #[SerializedName('GetRightResponse')] #[Type(GetRightResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetRightBody extends SoapBody * @return self */ public function __construct( - ?GetRightRequest $request = NULL, ?GetRightResponse $response = NULL + ?GetRightRequest $request = null, ?GetRightResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetRightEnvelope.php b/src/Admin/Message/GetRightEnvelope.php index 1996863cc..e82787d69 100644 --- a/src/Admin/Message/GetRightEnvelope.php +++ b/src/Admin/Message/GetRightEnvelope.php @@ -35,7 +35,7 @@ class GetRightEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetRightBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetRightEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetRightBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetRightBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetRightRequest.php b/src/Admin/Message/GetRightRequest.php index e4afd9b44..0d868f910 100644 --- a/src/Admin/Message/GetRightRequest.php +++ b/src/Admin/Message/GetRightRequest.php @@ -56,10 +56,10 @@ class GetRightRequest extends SoapRequest * @param bool $expandAllAttrs * @return self */ - public function __construct(string $right = '', ?bool $expandAllAttrs = NULL) + public function __construct(string $right = '', ?bool $expandAllAttrs = null) { $this->setRight($right); - if (NULL !== $expandAllAttrs) { + if (null !== $expandAllAttrs) { $this->setExpandAllAttrs($expandAllAttrs); } } diff --git a/src/Admin/Message/GetRightResponse.php b/src/Admin/Message/GetRightResponse.php index a943ba6c5..72608ea15 100644 --- a/src/Admin/Message/GetRightResponse.php +++ b/src/Admin/Message/GetRightResponse.php @@ -42,7 +42,7 @@ class GetRightResponse extends SoapResponse * @param RightInfo $right * @return self */ - public function __construct(?RightInfo $right = NULL) + public function __construct(?RightInfo $right = null) { $this->right = $right; } diff --git a/src/Admin/Message/GetRightsDocBody.php b/src/Admin/Message/GetRightsDocBody.php index 090741750..d085f6ce4 100644 --- a/src/Admin/Message/GetRightsDocBody.php +++ b/src/Admin/Message/GetRightsDocBody.php @@ -33,7 +33,7 @@ class GetRightsDocBody extends SoapBody #[SerializedName('GetRightsDocRequest')] #[Type(GetRightsDocRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetRightsDocBody extends SoapBody #[SerializedName('GetRightsDocResponse')] #[Type(GetRightsDocResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetRightsDocBody extends SoapBody * @return self */ public function __construct( - ?GetRightsDocRequest $request = NULL, ?GetRightsDocResponse $response = NULL + ?GetRightsDocRequest $request = null, ?GetRightsDocResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetRightsDocEnvelope.php b/src/Admin/Message/GetRightsDocEnvelope.php index 6473a877b..e451225f8 100644 --- a/src/Admin/Message/GetRightsDocEnvelope.php +++ b/src/Admin/Message/GetRightsDocEnvelope.php @@ -35,7 +35,7 @@ class GetRightsDocEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetRightsDocBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetRightsDocEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetRightsDocBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetRightsDocBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetServerBody.php b/src/Admin/Message/GetServerBody.php index b2c82f2c4..fbb04ba25 100644 --- a/src/Admin/Message/GetServerBody.php +++ b/src/Admin/Message/GetServerBody.php @@ -33,7 +33,7 @@ class GetServerBody extends SoapBody #[SerializedName('GetServerRequest')] #[Type(GetServerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetServerBody extends SoapBody #[SerializedName('GetServerResponse')] #[Type(GetServerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetServerBody extends SoapBody * @return self */ public function __construct( - ?GetServerRequest $request = NULL, ?GetServerResponse $response = NULL + ?GetServerRequest $request = null, ?GetServerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetServerEnvelope.php b/src/Admin/Message/GetServerEnvelope.php index de3f23a6a..0cfe8b2e7 100644 --- a/src/Admin/Message/GetServerEnvelope.php +++ b/src/Admin/Message/GetServerEnvelope.php @@ -35,7 +35,7 @@ class GetServerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetServerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetServerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetServerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetServerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetServerNIfsBody.php b/src/Admin/Message/GetServerNIfsBody.php index 8a1f5299b..15ba65eab 100644 --- a/src/Admin/Message/GetServerNIfsBody.php +++ b/src/Admin/Message/GetServerNIfsBody.php @@ -33,7 +33,7 @@ class GetServerNIfsBody extends SoapBody #[SerializedName('GetServerNIfsRequest')] #[Type(GetServerNIfsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetServerNIfsBody extends SoapBody #[SerializedName('GetServerNIfsResponse')] #[Type(GetServerNIfsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetServerNIfsBody extends SoapBody * @return self */ public function __construct( - ?GetServerNIfsRequest $request = NULL, ?GetServerNIfsResponse $response = NULL + ?GetServerNIfsRequest $request = null, ?GetServerNIfsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetServerNIfsEnvelope.php b/src/Admin/Message/GetServerNIfsEnvelope.php index f3bef0fbd..a13e4368f 100644 --- a/src/Admin/Message/GetServerNIfsEnvelope.php +++ b/src/Admin/Message/GetServerNIfsEnvelope.php @@ -35,7 +35,7 @@ class GetServerNIfsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetServerNIfsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetServerNIfsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetServerNIfsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetServerNIfsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetServerNIfsRequest.php b/src/Admin/Message/GetServerNIfsRequest.php index c5ac615e3..2bd93d198 100644 --- a/src/Admin/Message/GetServerNIfsRequest.php +++ b/src/Admin/Message/GetServerNIfsRequest.php @@ -57,7 +57,7 @@ class GetServerNIfsRequest extends SoapRequest * @param IpType $type * @return self */ - public function __construct(Server $server, ?IpType $type = NULL) + public function __construct(Server $server, ?IpType $type = null) { $this->setServer($server); $this->type = $type; diff --git a/src/Admin/Message/GetServerRequest.php b/src/Admin/Message/GetServerRequest.php index 9e3fb5bd2..2db037b39 100644 --- a/src/Admin/Message/GetServerRequest.php +++ b/src/Admin/Message/GetServerRequest.php @@ -60,16 +60,16 @@ class GetServerRequest extends SoapRequest implements AttributeSelector * @return self */ public function __construct( - ?ServerSelector $server = NULL, - ?bool $applyConfig = NULL, - ?string $attrs = NULL + ?ServerSelector $server = null, + ?bool $applyConfig = null, + ?string $attrs = null ) { $this->server = $server; - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetServerResponse.php b/src/Admin/Message/GetServerResponse.php index 14a159d84..16ce68ea7 100644 --- a/src/Admin/Message/GetServerResponse.php +++ b/src/Admin/Message/GetServerResponse.php @@ -42,7 +42,7 @@ class GetServerResponse extends SoapResponse * @param ServerInfo $server * @return self */ - public function __construct(?ServerInfo $server = NULL) + public function __construct(?ServerInfo $server = null) { $this->server = $server; } diff --git a/src/Admin/Message/GetServerStatsBody.php b/src/Admin/Message/GetServerStatsBody.php index 909194744..74011a2a8 100644 --- a/src/Admin/Message/GetServerStatsBody.php +++ b/src/Admin/Message/GetServerStatsBody.php @@ -33,7 +33,7 @@ class GetServerStatsBody extends SoapBody #[SerializedName('GetServerStatsRequest')] #[Type(GetServerStatsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetServerStatsBody extends SoapBody #[SerializedName('GetServerStatsResponse')] #[Type(GetServerStatsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetServerStatsBody extends SoapBody * @return self */ public function __construct( - ?GetServerStatsRequest $request = NULL, ?GetServerStatsResponse $response = NULL + ?GetServerStatsRequest $request = null, ?GetServerStatsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetServerStatsEnvelope.php b/src/Admin/Message/GetServerStatsEnvelope.php index b99fa9ffe..c640f38cb 100644 --- a/src/Admin/Message/GetServerStatsEnvelope.php +++ b/src/Admin/Message/GetServerStatsEnvelope.php @@ -35,7 +35,7 @@ class GetServerStatsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetServerStatsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetServerStatsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetServerStatsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetServerStatsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetServiceStatusBody.php b/src/Admin/Message/GetServiceStatusBody.php index f1a772c4e..2234dd00b 100644 --- a/src/Admin/Message/GetServiceStatusBody.php +++ b/src/Admin/Message/GetServiceStatusBody.php @@ -33,7 +33,7 @@ class GetServiceStatusBody extends SoapBody #[SerializedName('GetServiceStatusRequest')] #[Type(GetServiceStatusRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetServiceStatusBody extends SoapBody #[SerializedName('GetServiceStatusResponse')] #[Type(GetServiceStatusResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetServiceStatusBody extends SoapBody * @return self */ public function __construct( - ?GetServiceStatusRequest $request = NULL, ?GetServiceStatusResponse $response = NULL + ?GetServiceStatusRequest $request = null, ?GetServiceStatusResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetServiceStatusEnvelope.php b/src/Admin/Message/GetServiceStatusEnvelope.php index f613d52d5..5cdd88cd7 100644 --- a/src/Admin/Message/GetServiceStatusEnvelope.php +++ b/src/Admin/Message/GetServiceStatusEnvelope.php @@ -35,7 +35,7 @@ class GetServiceStatusEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetServiceStatusBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetServiceStatusEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetServiceStatusBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetServiceStatusBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetServiceStatusResponse.php b/src/Admin/Message/GetServiceStatusResponse.php index 0c3949aaa..35a2ebe0c 100644 --- a/src/Admin/Message/GetServiceStatusResponse.php +++ b/src/Admin/Message/GetServiceStatusResponse.php @@ -54,7 +54,7 @@ class GetServiceStatusResponse extends SoapResponse * @return self */ public function __construct( - ?TimeZoneInfo $timezone = NULL, array $serviceStatuses = [] + ?TimeZoneInfo $timezone = null, array $serviceStatuses = [] ) { $this->setServiceStatuses($serviceStatuses); diff --git a/src/Admin/Message/GetSessionsBody.php b/src/Admin/Message/GetSessionsBody.php index e8de41a14..33f8fda4e 100644 --- a/src/Admin/Message/GetSessionsBody.php +++ b/src/Admin/Message/GetSessionsBody.php @@ -33,7 +33,7 @@ class GetSessionsBody extends SoapBody #[SerializedName('GetSessionsRequest')] #[Type(GetSessionsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSessionsBody extends SoapBody #[SerializedName('GetSessionsResponse')] #[Type(GetSessionsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetSessionsBody extends SoapBody * @return self */ public function __construct( - ?GetSessionsRequest $request = NULL, ?GetSessionsResponse $response = NULL + ?GetSessionsRequest $request = null, ?GetSessionsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetSessionsEnvelope.php b/src/Admin/Message/GetSessionsEnvelope.php index 959bf9275..188458515 100644 --- a/src/Admin/Message/GetSessionsEnvelope.php +++ b/src/Admin/Message/GetSessionsEnvelope.php @@ -35,7 +35,7 @@ class GetSessionsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSessionsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetSessionsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSessionsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSessionsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetSessionsRequest.php b/src/Admin/Message/GetSessionsRequest.php index 77dc0a6ab..4dfe843c2 100644 --- a/src/Admin/Message/GetSessionsRequest.php +++ b/src/Admin/Message/GetSessionsRequest.php @@ -90,22 +90,22 @@ class GetSessionsRequest extends SoapRequest * @return self */ public function __construct( - ?SessionType $type = NULL, - ?GetSessionsSortBy $sortBy = NULL, - ?int $offset = NULL, - ?int $limit = NULL, - ?bool $refresh = NULL + ?SessionType $type = null, + ?GetSessionsSortBy $sortBy = null, + ?int $offset = null, + ?int $limit = null, + ?bool $refresh = null ) { $this->setType($type ?? SessionType::SOAP); $this->sortBy = $sortBy; - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $refresh) { + if (null !== $refresh) { $this->setRefresh($refresh); } } diff --git a/src/Admin/Message/GetSessionsResponse.php b/src/Admin/Message/GetSessionsResponse.php index 38c4b4803..548542abd 100644 --- a/src/Admin/Message/GetSessionsResponse.php +++ b/src/Admin/Message/GetSessionsResponse.php @@ -66,7 +66,7 @@ class GetSessionsResponse extends SoapResponse * @return self */ public function __construct( - bool $more = FALSE, + bool $more = false, int $total = 0, array $sessions = [] ) diff --git a/src/Admin/Message/GetShareInfoBody.php b/src/Admin/Message/GetShareInfoBody.php index 6fe0df537..39bffe1d2 100644 --- a/src/Admin/Message/GetShareInfoBody.php +++ b/src/Admin/Message/GetShareInfoBody.php @@ -33,7 +33,7 @@ class GetShareInfoBody extends SoapBody #[SerializedName('GetShareInfoRequest')] #[Type(GetShareInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetShareInfoBody extends SoapBody #[SerializedName('GetShareInfoResponse')] #[Type(GetShareInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetShareInfoBody extends SoapBody * @return self */ public function __construct( - ?GetShareInfoRequest $request = NULL, ?GetShareInfoResponse $response = NULL + ?GetShareInfoRequest $request = null, ?GetShareInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetShareInfoEnvelope.php b/src/Admin/Message/GetShareInfoEnvelope.php index ff016ffaa..17af3f434 100644 --- a/src/Admin/Message/GetShareInfoEnvelope.php +++ b/src/Admin/Message/GetShareInfoEnvelope.php @@ -35,7 +35,7 @@ class GetShareInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetShareInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetShareInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetShareInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetShareInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetShareInfoRequest.php b/src/Admin/Message/GetShareInfoRequest.php index 6ed79ea31..4cfd71169 100644 --- a/src/Admin/Message/GetShareInfoRequest.php +++ b/src/Admin/Message/GetShareInfoRequest.php @@ -54,7 +54,7 @@ class GetShareInfoRequest extends SoapRequest * @param GranteeChooser $grantee * @return self */ - public function __construct(AccountSelector $owner, ?GranteeChooser $grantee = NULL) + public function __construct(AccountSelector $owner, ?GranteeChooser $grantee = null) { $this->setOwner($owner); $this->grantee = $grantee; diff --git a/src/Admin/Message/GetSystemRetentionPolicyBody.php b/src/Admin/Message/GetSystemRetentionPolicyBody.php index 2dbce473b..d68c2b3a3 100644 --- a/src/Admin/Message/GetSystemRetentionPolicyBody.php +++ b/src/Admin/Message/GetSystemRetentionPolicyBody.php @@ -33,7 +33,7 @@ class GetSystemRetentionPolicyBody extends SoapBody #[SerializedName('GetSystemRetentionPolicyRequest')] #[Type(GetSystemRetentionPolicyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSystemRetentionPolicyBody extends SoapBody #[SerializedName('GetSystemRetentionPolicyResponse')] #[Type(GetSystemRetentionPolicyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetSystemRetentionPolicyBody extends SoapBody * @return self */ public function __construct( - ?GetSystemRetentionPolicyRequest $request = NULL, ?GetSystemRetentionPolicyResponse $response = NULL + ?GetSystemRetentionPolicyRequest $request = null, ?GetSystemRetentionPolicyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetSystemRetentionPolicyEnvelope.php b/src/Admin/Message/GetSystemRetentionPolicyEnvelope.php index df740422c..74aedc274 100644 --- a/src/Admin/Message/GetSystemRetentionPolicyEnvelope.php +++ b/src/Admin/Message/GetSystemRetentionPolicyEnvelope.php @@ -36,7 +36,7 @@ class GetSystemRetentionPolicyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSystemRetentionPolicyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class GetSystemRetentionPolicyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSystemRetentionPolicyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSystemRetentionPolicyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetSystemRetentionPolicyRequest.php b/src/Admin/Message/GetSystemRetentionPolicyRequest.php index a4e585cbd..646830c03 100644 --- a/src/Admin/Message/GetSystemRetentionPolicyRequest.php +++ b/src/Admin/Message/GetSystemRetentionPolicyRequest.php @@ -43,7 +43,7 @@ class GetSystemRetentionPolicyRequest extends SoapRequest * @param CosSelector $cos * @return self */ - public function __construct(?CosSelector $cos = NULL) + public function __construct(?CosSelector $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/GetSystemRetentionPolicyResponse.php b/src/Admin/Message/GetSystemRetentionPolicyResponse.php index 863a3eae0..0467b22c8 100644 --- a/src/Admin/Message/GetSystemRetentionPolicyResponse.php +++ b/src/Admin/Message/GetSystemRetentionPolicyResponse.php @@ -42,7 +42,7 @@ class GetSystemRetentionPolicyResponse extends SoapResponse * @param RetentionPolicy $retentionPolicy * @return self */ - public function __construct(?RetentionPolicy $retentionPolicy = NULL) + public function __construct(?RetentionPolicy $retentionPolicy = null) { $this->retentionPolicy = $retentionPolicy; } diff --git a/src/Admin/Message/GetUCServiceBody.php b/src/Admin/Message/GetUCServiceBody.php index 3558c4b20..617872e6a 100644 --- a/src/Admin/Message/GetUCServiceBody.php +++ b/src/Admin/Message/GetUCServiceBody.php @@ -33,7 +33,7 @@ class GetUCServiceBody extends SoapBody #[SerializedName('GetUCServiceRequest')] #[Type(GetUCServiceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetUCServiceBody extends SoapBody #[SerializedName('GetUCServiceResponse')] #[Type(GetUCServiceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetUCServiceBody extends SoapBody * @return self */ public function __construct( - ?GetUCServiceRequest $request = NULL, ?GetUCServiceResponse $response = NULL + ?GetUCServiceRequest $request = null, ?GetUCServiceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetUCServiceEnvelope.php b/src/Admin/Message/GetUCServiceEnvelope.php index 6abd902e8..b5b53819a 100644 --- a/src/Admin/Message/GetUCServiceEnvelope.php +++ b/src/Admin/Message/GetUCServiceEnvelope.php @@ -35,7 +35,7 @@ class GetUCServiceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetUCServiceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetUCServiceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetUCServiceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetUCServiceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetUCServiceRequest.php b/src/Admin/Message/GetUCServiceRequest.php index e163fa9b2..20a5c2765 100644 --- a/src/Admin/Message/GetUCServiceRequest.php +++ b/src/Admin/Message/GetUCServiceRequest.php @@ -46,10 +46,10 @@ class GetUCServiceRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(UcServiceSelector $ucService, ?string $attrs = NULL) + public function __construct(UcServiceSelector $ucService, ?string $attrs = null) { $this->setUCService($ucService); - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetUCServiceResponse.php b/src/Admin/Message/GetUCServiceResponse.php index 17c35d068..ec73475af 100644 --- a/src/Admin/Message/GetUCServiceResponse.php +++ b/src/Admin/Message/GetUCServiceResponse.php @@ -42,7 +42,7 @@ class GetUCServiceResponse extends SoapResponse * @param UCServiceInfo $ucService * @return self */ - public function __construct(?UCServiceInfo $ucService = NULL) + public function __construct(?UCServiceInfo $ucService = null) { $this->ucService = $ucService; } diff --git a/src/Admin/Message/GetVersionInfoBody.php b/src/Admin/Message/GetVersionInfoBody.php index 7ffe734f2..f33d0e116 100644 --- a/src/Admin/Message/GetVersionInfoBody.php +++ b/src/Admin/Message/GetVersionInfoBody.php @@ -33,7 +33,7 @@ class GetVersionInfoBody extends SoapBody #[SerializedName('GetVersionInfoRequest')] #[Type(GetVersionInfoRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetVersionInfoBody extends SoapBody #[SerializedName('GetVersionInfoResponse')] #[Type(GetVersionInfoResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetVersionInfoBody extends SoapBody * @return self */ public function __construct( - ?GetVersionInfoRequest $request = NULL, ?GetVersionInfoResponse $response = NULL + ?GetVersionInfoRequest $request = null, ?GetVersionInfoResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetVersionInfoEnvelope.php b/src/Admin/Message/GetVersionInfoEnvelope.php index c7f9344d5..8dcf6938d 100644 --- a/src/Admin/Message/GetVersionInfoEnvelope.php +++ b/src/Admin/Message/GetVersionInfoEnvelope.php @@ -35,7 +35,7 @@ class GetVersionInfoEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetVersionInfoBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetVersionInfoEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetVersionInfoBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetVersionInfoBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetVersionInfoResponse.php b/src/Admin/Message/GetVersionInfoResponse.php index edc49b871..09735aa3d 100644 --- a/src/Admin/Message/GetVersionInfoResponse.php +++ b/src/Admin/Message/GetVersionInfoResponse.php @@ -42,7 +42,7 @@ class GetVersionInfoResponse extends SoapResponse * @param VersionInfo $info * @return self */ - public function __construct(?VersionInfo $info = NULL) + public function __construct(?VersionInfo $info = null) { $this->info = $info; } diff --git a/src/Admin/Message/GetVolumeBody.php b/src/Admin/Message/GetVolumeBody.php index bb2345d4c..358d224b9 100644 --- a/src/Admin/Message/GetVolumeBody.php +++ b/src/Admin/Message/GetVolumeBody.php @@ -33,7 +33,7 @@ class GetVolumeBody extends SoapBody #[SerializedName('GetVolumeRequest')] #[Type(GetVolumeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetVolumeBody extends SoapBody #[SerializedName('GetVolumeResponse')] #[Type(GetVolumeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetVolumeBody extends SoapBody * @return self */ public function __construct( - ?GetVolumeRequest $request = NULL, ?GetVolumeResponse $response = NULL + ?GetVolumeRequest $request = null, ?GetVolumeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetVolumeEnvelope.php b/src/Admin/Message/GetVolumeEnvelope.php index 9fddd4278..fe1337259 100644 --- a/src/Admin/Message/GetVolumeEnvelope.php +++ b/src/Admin/Message/GetVolumeEnvelope.php @@ -35,7 +35,7 @@ class GetVolumeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetVolumeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetVolumeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetVolumeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetVolumeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetVolumeResponse.php b/src/Admin/Message/GetVolumeResponse.php index 5282ba1d2..ccf511725 100644 --- a/src/Admin/Message/GetVolumeResponse.php +++ b/src/Admin/Message/GetVolumeResponse.php @@ -42,7 +42,7 @@ class GetVolumeResponse extends SoapResponse * @param VolumeInfo $volume * @return self */ - public function __construct(?VolumeInfo $volume = NULL) + public function __construct(?VolumeInfo $volume = null) { $this->volume = $volume; } diff --git a/src/Admin/Message/GetXMPPComponentBody.php b/src/Admin/Message/GetXMPPComponentBody.php index 112b9d436..c9264cc8e 100644 --- a/src/Admin/Message/GetXMPPComponentBody.php +++ b/src/Admin/Message/GetXMPPComponentBody.php @@ -33,7 +33,7 @@ class GetXMPPComponentBody extends SoapBody #[SerializedName('GetXMPPComponentRequest')] #[Type(GetXMPPComponentRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetXMPPComponentBody extends SoapBody #[SerializedName('GetXMPPComponentResponse')] #[Type(GetXMPPComponentResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetXMPPComponentBody extends SoapBody * @return self */ public function __construct( - ?GetXMPPComponentRequest $request = NULL, ?GetXMPPComponentResponse $response = NULL + ?GetXMPPComponentRequest $request = null, ?GetXMPPComponentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetXMPPComponentEnvelope.php b/src/Admin/Message/GetXMPPComponentEnvelope.php index 53c1f0833..c92b120b5 100644 --- a/src/Admin/Message/GetXMPPComponentEnvelope.php +++ b/src/Admin/Message/GetXMPPComponentEnvelope.php @@ -35,7 +35,7 @@ class GetXMPPComponentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetXMPPComponentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetXMPPComponentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetXMPPComponentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetXMPPComponentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetXMPPComponentRequest.php b/src/Admin/Message/GetXMPPComponentRequest.php index 164bc958a..9f91c2c18 100644 --- a/src/Admin/Message/GetXMPPComponentRequest.php +++ b/src/Admin/Message/GetXMPPComponentRequest.php @@ -47,10 +47,10 @@ class GetXMPPComponentRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(XMPPComponentSelector $component, ?string $attrs = NULL) + public function __construct(XMPPComponentSelector $component, ?string $attrs = null) { $this->setComponent($component); - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetXMPPComponentResponse.php b/src/Admin/Message/GetXMPPComponentResponse.php index 0cdd9723a..9749f81d8 100644 --- a/src/Admin/Message/GetXMPPComponentResponse.php +++ b/src/Admin/Message/GetXMPPComponentResponse.php @@ -42,7 +42,7 @@ class GetXMPPComponentResponse extends SoapResponse * @param XMPPComponentInfo $component * @return self */ - public function __construct(?XMPPComponentInfo $component = NULL) + public function __construct(?XMPPComponentInfo $component = null) { $this->component = $component; } diff --git a/src/Admin/Message/GetZimletBody.php b/src/Admin/Message/GetZimletBody.php index 72848297b..11ed07de5 100644 --- a/src/Admin/Message/GetZimletBody.php +++ b/src/Admin/Message/GetZimletBody.php @@ -33,7 +33,7 @@ class GetZimletBody extends SoapBody #[SerializedName('GetZimletRequest')] #[Type(GetZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetZimletBody extends SoapBody #[SerializedName('GetZimletResponse')] #[Type(GetZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetZimletBody extends SoapBody * @return self */ public function __construct( - ?GetZimletRequest $request = NULL, ?GetZimletResponse $response = NULL + ?GetZimletRequest $request = null, ?GetZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetZimletEnvelope.php b/src/Admin/Message/GetZimletEnvelope.php index 72a288642..7a4e2e3d3 100644 --- a/src/Admin/Message/GetZimletEnvelope.php +++ b/src/Admin/Message/GetZimletEnvelope.php @@ -35,7 +35,7 @@ class GetZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetZimletRequest.php b/src/Admin/Message/GetZimletRequest.php index 0744e9811..cd160aa3f 100644 --- a/src/Admin/Message/GetZimletRequest.php +++ b/src/Admin/Message/GetZimletRequest.php @@ -47,10 +47,10 @@ class GetZimletRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(NamedElement $zimlet, ?string $attrs = NULL) + public function __construct(NamedElement $zimlet, ?string $attrs = null) { $this->setZimlet($zimlet); - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/GetZimletResponse.php b/src/Admin/Message/GetZimletResponse.php index 43b3c2fdc..c0a913380 100644 --- a/src/Admin/Message/GetZimletResponse.php +++ b/src/Admin/Message/GetZimletResponse.php @@ -42,7 +42,7 @@ class GetZimletResponse extends SoapResponse * @param ZimletInfo $zimlet * @return self */ - public function __construct(?ZimletInfo $zimlet = NULL) + public function __construct(?ZimletInfo $zimlet = null) { $this->zimlet = $zimlet; } diff --git a/src/Admin/Message/GetZimletStatusBody.php b/src/Admin/Message/GetZimletStatusBody.php index 042dcbecc..b6d159773 100644 --- a/src/Admin/Message/GetZimletStatusBody.php +++ b/src/Admin/Message/GetZimletStatusBody.php @@ -33,7 +33,7 @@ class GetZimletStatusBody extends SoapBody #[SerializedName('GetZimletStatusRequest')] #[Type(GetZimletStatusRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetZimletStatusBody extends SoapBody #[SerializedName('GetZimletStatusResponse')] #[Type(GetZimletStatusResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetZimletStatusBody extends SoapBody * @return self */ public function __construct( - ?GetZimletStatusRequest $request = NULL, ?GetZimletStatusResponse $response = NULL + ?GetZimletStatusRequest $request = null, ?GetZimletStatusResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GetZimletStatusEnvelope.php b/src/Admin/Message/GetZimletStatusEnvelope.php index 203176766..752bb4901 100644 --- a/src/Admin/Message/GetZimletStatusEnvelope.php +++ b/src/Admin/Message/GetZimletStatusEnvelope.php @@ -35,7 +35,7 @@ class GetZimletStatusEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetZimletStatusBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetZimletStatusEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetZimletStatusBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetZimletStatusBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/GetZimletStatusResponse.php b/src/Admin/Message/GetZimletStatusResponse.php index e1d6a0f5c..8277b5736 100644 --- a/src/Admin/Message/GetZimletStatusResponse.php +++ b/src/Admin/Message/GetZimletStatusResponse.php @@ -53,7 +53,7 @@ class GetZimletStatusResponse extends SoapResponse * @param array $coses * @return self */ - public function __construct(?ZimletStatusParent $zimlets = NULL, array $coses = []) + public function __construct(?ZimletStatusParent $zimlets = null, array $coses = []) { $this->setCoses($coses); $this->zimlets = $zimlets; diff --git a/src/Admin/Message/GrantRightBody.php b/src/Admin/Message/GrantRightBody.php index 4224ce725..10eeb4af7 100644 --- a/src/Admin/Message/GrantRightBody.php +++ b/src/Admin/Message/GrantRightBody.php @@ -33,7 +33,7 @@ class GrantRightBody extends SoapBody #[SerializedName('GrantRightRequest')] #[Type(GrantRightRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GrantRightBody extends SoapBody #[SerializedName('GrantRightResponse')] #[Type(GrantRightResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GrantRightBody extends SoapBody * @return self */ public function __construct( - ?GrantRightRequest $request = NULL, ?GrantRightResponse $response = NULL + ?GrantRightRequest $request = null, ?GrantRightResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/GrantRightEnvelope.php b/src/Admin/Message/GrantRightEnvelope.php index ef045edca..765b6c825 100644 --- a/src/Admin/Message/GrantRightEnvelope.php +++ b/src/Admin/Message/GrantRightEnvelope.php @@ -35,7 +35,7 @@ class GrantRightEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GrantRightBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GrantRightEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GrantRightBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GrantRightBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/LockoutMailboxBody.php b/src/Admin/Message/LockoutMailboxBody.php index ac95eaef4..82e60faac 100644 --- a/src/Admin/Message/LockoutMailboxBody.php +++ b/src/Admin/Message/LockoutMailboxBody.php @@ -33,7 +33,7 @@ class LockoutMailboxBody extends SoapBody #[SerializedName('LockoutMailboxRequest')] #[Type(LockoutMailboxRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class LockoutMailboxBody extends SoapBody #[SerializedName('LockoutMailboxResponse')] #[Type(LockoutMailboxResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class LockoutMailboxBody extends SoapBody * @return self */ public function __construct( - ?LockoutMailboxRequest $request = NULL, ?LockoutMailboxResponse $response = NULL + ?LockoutMailboxRequest $request = null, ?LockoutMailboxResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/LockoutMailboxEnvelope.php b/src/Admin/Message/LockoutMailboxEnvelope.php index 8ac01261b..a0cbd0030 100644 --- a/src/Admin/Message/LockoutMailboxEnvelope.php +++ b/src/Admin/Message/LockoutMailboxEnvelope.php @@ -35,7 +35,7 @@ class LockoutMailboxEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(LockoutMailboxBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class LockoutMailboxEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?LockoutMailboxBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?LockoutMailboxBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/LockoutMailboxRequest.php b/src/Admin/Message/LockoutMailboxRequest.php index ca78e9998..8c533a596 100644 --- a/src/Admin/Message/LockoutMailboxRequest.php +++ b/src/Admin/Message/LockoutMailboxRequest.php @@ -55,7 +55,7 @@ class LockoutMailboxRequest extends SoapRequest * @return self */ public function __construct( - AccountNameSelector $account, ?LockoutOperation $operation = NULL + AccountNameSelector $account, ?LockoutOperation $operation = null ) { $this->setAccount($account); diff --git a/src/Admin/Message/MailQueueActionBody.php b/src/Admin/Message/MailQueueActionBody.php index b4d1a5afc..4756e0bc0 100644 --- a/src/Admin/Message/MailQueueActionBody.php +++ b/src/Admin/Message/MailQueueActionBody.php @@ -33,7 +33,7 @@ class MailQueueActionBody extends SoapBody #[SerializedName('MailQueueActionRequest')] #[Type(MailQueueActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class MailQueueActionBody extends SoapBody #[SerializedName('MailQueueActionResponse')] #[Type(MailQueueActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class MailQueueActionBody extends SoapBody * @return self */ public function __construct( - ?MailQueueActionRequest $request = NULL, ?MailQueueActionResponse $response = NULL + ?MailQueueActionRequest $request = null, ?MailQueueActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/MailQueueActionEnvelope.php b/src/Admin/Message/MailQueueActionEnvelope.php index 3b568f7a4..464df2172 100644 --- a/src/Admin/Message/MailQueueActionEnvelope.php +++ b/src/Admin/Message/MailQueueActionEnvelope.php @@ -35,7 +35,7 @@ class MailQueueActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(MailQueueActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class MailQueueActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?MailQueueActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?MailQueueActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/MailQueueFlushBody.php b/src/Admin/Message/MailQueueFlushBody.php index 53fad7f7d..bafad69b2 100644 --- a/src/Admin/Message/MailQueueFlushBody.php +++ b/src/Admin/Message/MailQueueFlushBody.php @@ -33,7 +33,7 @@ class MailQueueFlushBody extends SoapBody #[SerializedName('MailQueueFlushRequest')] #[Type(MailQueueFlushRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class MailQueueFlushBody extends SoapBody #[SerializedName('MailQueueFlushResponse')] #[Type(MailQueueFlushResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class MailQueueFlushBody extends SoapBody * @return self */ public function __construct( - ?MailQueueFlushRequest $request = NULL, ?MailQueueFlushResponse $response = NULL + ?MailQueueFlushRequest $request = null, ?MailQueueFlushResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/MailQueueFlushEnvelope.php b/src/Admin/Message/MailQueueFlushEnvelope.php index 7aa178283..1ca2e1a3e 100644 --- a/src/Admin/Message/MailQueueFlushEnvelope.php +++ b/src/Admin/Message/MailQueueFlushEnvelope.php @@ -35,7 +35,7 @@ class MailQueueFlushEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(MailQueueFlushBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class MailQueueFlushEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?MailQueueFlushBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?MailQueueFlushBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/MigrateAccountBody.php b/src/Admin/Message/MigrateAccountBody.php index 7387077d8..70450f14c 100644 --- a/src/Admin/Message/MigrateAccountBody.php +++ b/src/Admin/Message/MigrateAccountBody.php @@ -33,7 +33,7 @@ class MigrateAccountBody extends SoapBody #[SerializedName('MigrateAccountRequest')] #[Type(MigrateAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class MigrateAccountBody extends SoapBody #[SerializedName('MigrateAccountResponse')] #[Type(MigrateAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class MigrateAccountBody extends SoapBody * @return self */ public function __construct( - ?MigrateAccountRequest $request = NULL, ?MigrateAccountResponse $response = NULL + ?MigrateAccountRequest $request = null, ?MigrateAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/MigrateAccountEnvelope.php b/src/Admin/Message/MigrateAccountEnvelope.php index 53d2a02a6..158b3c910 100644 --- a/src/Admin/Message/MigrateAccountEnvelope.php +++ b/src/Admin/Message/MigrateAccountEnvelope.php @@ -35,7 +35,7 @@ class MigrateAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(MigrateAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class MigrateAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?MigrateAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?MigrateAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyAccountBody.php b/src/Admin/Message/ModifyAccountBody.php index 9da169be9..baef47507 100644 --- a/src/Admin/Message/ModifyAccountBody.php +++ b/src/Admin/Message/ModifyAccountBody.php @@ -33,7 +33,7 @@ class ModifyAccountBody extends SoapBody #[SerializedName('ModifyAccountRequest')] #[Type(ModifyAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyAccountBody extends SoapBody #[SerializedName('ModifyAccountResponse')] #[Type(ModifyAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyAccountBody extends SoapBody * @return self */ public function __construct( - ?ModifyAccountRequest $request = NULL, ?ModifyAccountResponse $response = NULL + ?ModifyAccountRequest $request = null, ?ModifyAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyAccountEnvelope.php b/src/Admin/Message/ModifyAccountEnvelope.php index 47c8c5ebf..6549e9658 100644 --- a/src/Admin/Message/ModifyAccountEnvelope.php +++ b/src/Admin/Message/ModifyAccountEnvelope.php @@ -35,7 +35,7 @@ class ModifyAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyAccountResponse.php b/src/Admin/Message/ModifyAccountResponse.php index 6ca43629a..cfadfacb8 100644 --- a/src/Admin/Message/ModifyAccountResponse.php +++ b/src/Admin/Message/ModifyAccountResponse.php @@ -42,7 +42,7 @@ class ModifyAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/ModifyAdminSavedSearchesBody.php b/src/Admin/Message/ModifyAdminSavedSearchesBody.php index 6958f33bc..42656acbc 100644 --- a/src/Admin/Message/ModifyAdminSavedSearchesBody.php +++ b/src/Admin/Message/ModifyAdminSavedSearchesBody.php @@ -33,7 +33,7 @@ class ModifyAdminSavedSearchesBody extends SoapBody #[SerializedName('ModifyAdminSavedSearchesRequest')] #[Type(ModifyAdminSavedSearchesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyAdminSavedSearchesBody extends SoapBody #[SerializedName('ModifyAdminSavedSearchesResponse')] #[Type(ModifyAdminSavedSearchesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyAdminSavedSearchesBody extends SoapBody * @return self */ public function __construct( - ?ModifyAdminSavedSearchesRequest $request = NULL, ?ModifyAdminSavedSearchesResponse $response = NULL + ?ModifyAdminSavedSearchesRequest $request = null, ?ModifyAdminSavedSearchesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyAdminSavedSearchesEnvelope.php b/src/Admin/Message/ModifyAdminSavedSearchesEnvelope.php index 3c6d4c349..b9c90b47d 100644 --- a/src/Admin/Message/ModifyAdminSavedSearchesEnvelope.php +++ b/src/Admin/Message/ModifyAdminSavedSearchesEnvelope.php @@ -35,7 +35,7 @@ class ModifyAdminSavedSearchesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyAdminSavedSearchesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyAdminSavedSearchesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyAdminSavedSearchesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyAdminSavedSearchesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyAlwaysOnClusterBody.php b/src/Admin/Message/ModifyAlwaysOnClusterBody.php index 76ab2bb99..07ffd9cf7 100644 --- a/src/Admin/Message/ModifyAlwaysOnClusterBody.php +++ b/src/Admin/Message/ModifyAlwaysOnClusterBody.php @@ -33,7 +33,7 @@ class ModifyAlwaysOnClusterBody extends SoapBody #[SerializedName('ModifyAlwaysOnClusterRequest')] #[Type(ModifyAlwaysOnClusterRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyAlwaysOnClusterBody extends SoapBody #[SerializedName('ModifyAlwaysOnClusterResponse')] #[Type(ModifyAlwaysOnClusterResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyAlwaysOnClusterBody extends SoapBody * @return self */ public function __construct( - ?ModifyAlwaysOnClusterRequest $request = NULL, ?ModifyAlwaysOnClusterResponse $response = NULL + ?ModifyAlwaysOnClusterRequest $request = null, ?ModifyAlwaysOnClusterResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyAlwaysOnClusterEnvelope.php b/src/Admin/Message/ModifyAlwaysOnClusterEnvelope.php index a93315df6..ac0b277dd 100644 --- a/src/Admin/Message/ModifyAlwaysOnClusterEnvelope.php +++ b/src/Admin/Message/ModifyAlwaysOnClusterEnvelope.php @@ -35,7 +35,7 @@ class ModifyAlwaysOnClusterEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyAlwaysOnClusterBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyAlwaysOnClusterEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyAlwaysOnClusterBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyAlwaysOnClusterBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyAlwaysOnClusterResponse.php b/src/Admin/Message/ModifyAlwaysOnClusterResponse.php index 0501c10e6..e635ad970 100644 --- a/src/Admin/Message/ModifyAlwaysOnClusterResponse.php +++ b/src/Admin/Message/ModifyAlwaysOnClusterResponse.php @@ -42,7 +42,7 @@ class ModifyAlwaysOnClusterResponse extends SoapResponse * @param AlwaysOnClusterInfo $cluster * @return self */ - public function __construct(?AlwaysOnClusterInfo $cluster = NULL) + public function __construct(?AlwaysOnClusterInfo $cluster = null) { $this->cluster = $cluster; } diff --git a/src/Admin/Message/ModifyCalendarResourceBody.php b/src/Admin/Message/ModifyCalendarResourceBody.php index 859c43696..d8a2a6c9b 100644 --- a/src/Admin/Message/ModifyCalendarResourceBody.php +++ b/src/Admin/Message/ModifyCalendarResourceBody.php @@ -33,7 +33,7 @@ class ModifyCalendarResourceBody extends SoapBody #[SerializedName('ModifyCalendarResourceRequest')] #[Type(ModifyCalendarResourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyCalendarResourceBody extends SoapBody #[SerializedName('ModifyCalendarResourceResponse')] #[Type(ModifyCalendarResourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyCalendarResourceBody extends SoapBody * @return self */ public function __construct( - ?ModifyCalendarResourceRequest $request = NULL, ?ModifyCalendarResourceResponse $response = NULL + ?ModifyCalendarResourceRequest $request = null, ?ModifyCalendarResourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyCalendarResourceEnvelope.php b/src/Admin/Message/ModifyCalendarResourceEnvelope.php index c871ceaa5..fc60a4617 100644 --- a/src/Admin/Message/ModifyCalendarResourceEnvelope.php +++ b/src/Admin/Message/ModifyCalendarResourceEnvelope.php @@ -35,7 +35,7 @@ class ModifyCalendarResourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyCalendarResourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyCalendarResourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyCalendarResourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyCalendarResourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyCalendarResourceResponse.php b/src/Admin/Message/ModifyCalendarResourceResponse.php index 8bb037545..b453c1028 100644 --- a/src/Admin/Message/ModifyCalendarResourceResponse.php +++ b/src/Admin/Message/ModifyCalendarResourceResponse.php @@ -42,7 +42,7 @@ class ModifyCalendarResourceResponse extends SoapResponse * @param CalendarResourceInfo $calResource * @return self */ - public function __construct(?CalendarResourceInfo $calResource = NULL) + public function __construct(?CalendarResourceInfo $calResource = null) { $this->calResource = $calResource; } diff --git a/src/Admin/Message/ModifyConfigBody.php b/src/Admin/Message/ModifyConfigBody.php index 31642d56a..db3cb9145 100644 --- a/src/Admin/Message/ModifyConfigBody.php +++ b/src/Admin/Message/ModifyConfigBody.php @@ -33,7 +33,7 @@ class ModifyConfigBody extends SoapBody #[SerializedName('ModifyConfigRequest')] #[Type(ModifyConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyConfigBody extends SoapBody #[SerializedName('ModifyConfigResponse')] #[Type(ModifyConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyConfigBody extends SoapBody * @return self */ public function __construct( - ?ModifyConfigRequest $request = NULL, ?ModifyConfigResponse $response = NULL + ?ModifyConfigRequest $request = null, ?ModifyConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyConfigEnvelope.php b/src/Admin/Message/ModifyConfigEnvelope.php index 853d22c55..2f8c6a3db 100644 --- a/src/Admin/Message/ModifyConfigEnvelope.php +++ b/src/Admin/Message/ModifyConfigEnvelope.php @@ -35,7 +35,7 @@ class ModifyConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyCosBody.php b/src/Admin/Message/ModifyCosBody.php index f17b58cb4..2910a0c11 100644 --- a/src/Admin/Message/ModifyCosBody.php +++ b/src/Admin/Message/ModifyCosBody.php @@ -33,7 +33,7 @@ class ModifyCosBody extends SoapBody #[SerializedName('ModifyCosRequest')] #[Type(ModifyCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyCosBody extends SoapBody #[SerializedName('ModifyCosResponse')] #[Type(ModifyCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyCosBody extends SoapBody * @return self */ public function __construct( - ?ModifyCosRequest $request = NULL, ?ModifyCosResponse $response = NULL + ?ModifyCosRequest $request = null, ?ModifyCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyCosEnvelope.php b/src/Admin/Message/ModifyCosEnvelope.php index ea69f9ce0..df87fbfb8 100644 --- a/src/Admin/Message/ModifyCosEnvelope.php +++ b/src/Admin/Message/ModifyCosEnvelope.php @@ -35,7 +35,7 @@ class ModifyCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyCosResponse.php b/src/Admin/Message/ModifyCosResponse.php index cec34a374..dd1d3e467 100644 --- a/src/Admin/Message/ModifyCosResponse.php +++ b/src/Admin/Message/ModifyCosResponse.php @@ -42,7 +42,7 @@ class ModifyCosResponse extends SoapResponse * @param CosInfo $cos * @return self */ - public function __construct(?CosInfo $cos = NULL) + public function __construct(?CosInfo $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/ModifyDataSourceBody.php b/src/Admin/Message/ModifyDataSourceBody.php index 699c3113c..8d8c78a30 100644 --- a/src/Admin/Message/ModifyDataSourceBody.php +++ b/src/Admin/Message/ModifyDataSourceBody.php @@ -33,7 +33,7 @@ class ModifyDataSourceBody extends SoapBody #[SerializedName('ModifyDataSourceRequest')] #[Type(ModifyDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyDataSourceBody extends SoapBody #[SerializedName('ModifyDataSourceResponse')] #[Type(ModifyDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyDataSourceBody extends SoapBody * @return self */ public function __construct( - ?ModifyDataSourceRequest $request = NULL, ?ModifyDataSourceResponse $response = NULL + ?ModifyDataSourceRequest $request = null, ?ModifyDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyDataSourceEnvelope.php b/src/Admin/Message/ModifyDataSourceEnvelope.php index 691263c7e..32406c2eb 100644 --- a/src/Admin/Message/ModifyDataSourceEnvelope.php +++ b/src/Admin/Message/ModifyDataSourceEnvelope.php @@ -35,7 +35,7 @@ class ModifyDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyDelegatedAdminConstraintsBody.php b/src/Admin/Message/ModifyDelegatedAdminConstraintsBody.php index e51badf99..b62f3ba33 100644 --- a/src/Admin/Message/ModifyDelegatedAdminConstraintsBody.php +++ b/src/Admin/Message/ModifyDelegatedAdminConstraintsBody.php @@ -33,7 +33,7 @@ class ModifyDelegatedAdminConstraintsBody extends SoapBody #[SerializedName('ModifyDelegatedAdminConstraintsRequest')] #[Type(ModifyDelegatedAdminConstraintsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyDelegatedAdminConstraintsBody extends SoapBody #[SerializedName('ModifyDelegatedAdminConstraintsResponse')] #[Type(ModifyDelegatedAdminConstraintsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,8 +54,8 @@ class ModifyDelegatedAdminConstraintsBody extends SoapBody * @return self */ public function __construct( - ?ModifyDelegatedAdminConstraintsRequest $request = NULL, - ?ModifyDelegatedAdminConstraintsResponse $response = NULL + ?ModifyDelegatedAdminConstraintsRequest $request = null, + ?ModifyDelegatedAdminConstraintsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyDelegatedAdminConstraintsEnvelope.php b/src/Admin/Message/ModifyDelegatedAdminConstraintsEnvelope.php index 00afbf875..13758e734 100644 --- a/src/Admin/Message/ModifyDelegatedAdminConstraintsEnvelope.php +++ b/src/Admin/Message/ModifyDelegatedAdminConstraintsEnvelope.php @@ -35,7 +35,7 @@ class ModifyDelegatedAdminConstraintsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyDelegatedAdminConstraintsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyDelegatedAdminConstraintsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyDelegatedAdminConstraintsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyDelegatedAdminConstraintsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyDelegatedAdminConstraintsRequest.php b/src/Admin/Message/ModifyDelegatedAdminConstraintsRequest.php index 0a4730a08..ac33cbb47 100644 --- a/src/Admin/Message/ModifyDelegatedAdminConstraintsRequest.php +++ b/src/Admin/Message/ModifyDelegatedAdminConstraintsRequest.php @@ -81,15 +81,15 @@ class ModifyDelegatedAdminConstraintsRequest extends SoapRequest * @return self */ public function __construct( - ?TargetType $type = NULL, ?string $id = NULL, ?string $name = NULL, array $attrs = [] + ?TargetType $type = null, ?string $id = null, ?string $name = null, array $attrs = [] ) { $this->setType($type ?? TargetType::ACCOUNT) ->setAttrs($attrs); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Admin/Message/ModifyDistributionListBody.php b/src/Admin/Message/ModifyDistributionListBody.php index 1a59e7be0..eaaecae67 100644 --- a/src/Admin/Message/ModifyDistributionListBody.php +++ b/src/Admin/Message/ModifyDistributionListBody.php @@ -33,7 +33,7 @@ class ModifyDistributionListBody extends SoapBody #[SerializedName('ModifyDistributionListRequest')] #[Type(ModifyDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyDistributionListBody extends SoapBody #[SerializedName('ModifyDistributionListResponse')] #[Type(ModifyDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyDistributionListBody extends SoapBody * @return self */ public function __construct( - ?ModifyDistributionListRequest $request = NULL, ?ModifyDistributionListResponse $response = NULL + ?ModifyDistributionListRequest $request = null, ?ModifyDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyDistributionListEnvelope.php b/src/Admin/Message/ModifyDistributionListEnvelope.php index 2c1c05a09..4225267eb 100644 --- a/src/Admin/Message/ModifyDistributionListEnvelope.php +++ b/src/Admin/Message/ModifyDistributionListEnvelope.php @@ -35,7 +35,7 @@ class ModifyDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyDistributionListResponse.php b/src/Admin/Message/ModifyDistributionListResponse.php index bad6da5e5..4f0c908ad 100644 --- a/src/Admin/Message/ModifyDistributionListResponse.php +++ b/src/Admin/Message/ModifyDistributionListResponse.php @@ -42,7 +42,7 @@ class ModifyDistributionListResponse extends SoapResponse * @param DLInfo $dl * @return self */ - public function __construct(?DLInfo $dl = NULL) + public function __construct(?DLInfo $dl = null) { $this->dl = $dl; } diff --git a/src/Admin/Message/ModifyDomainBody.php b/src/Admin/Message/ModifyDomainBody.php index e18fd60a4..9b9709465 100644 --- a/src/Admin/Message/ModifyDomainBody.php +++ b/src/Admin/Message/ModifyDomainBody.php @@ -33,7 +33,7 @@ class ModifyDomainBody extends SoapBody #[SerializedName('ModifyDomainRequest')] #[Type(ModifyDomainRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyDomainBody extends SoapBody #[SerializedName('ModifyDomainResponse')] #[Type(ModifyDomainResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyDomainBody extends SoapBody * @return self */ public function __construct( - ?ModifyDomainRequest $request = NULL, ?ModifyDomainResponse $response = NULL + ?ModifyDomainRequest $request = null, ?ModifyDomainResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyDomainEnvelope.php b/src/Admin/Message/ModifyDomainEnvelope.php index 11be695d0..06b4732f9 100644 --- a/src/Admin/Message/ModifyDomainEnvelope.php +++ b/src/Admin/Message/ModifyDomainEnvelope.php @@ -35,7 +35,7 @@ class ModifyDomainEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyDomainBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyDomainEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyDomainBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyDomainBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyDomainResponse.php b/src/Admin/Message/ModifyDomainResponse.php index ac4bed2ae..8f8e1e04e 100644 --- a/src/Admin/Message/ModifyDomainResponse.php +++ b/src/Admin/Message/ModifyDomainResponse.php @@ -42,7 +42,7 @@ class ModifyDomainResponse extends SoapResponse * @param DomainInfo $domain * @return self */ - public function __construct(?DomainInfo $domain = NULL) + public function __construct(?DomainInfo $domain = null) { $this->domain = $domain; } diff --git a/src/Admin/Message/ModifyFilterRulesBody.php b/src/Admin/Message/ModifyFilterRulesBody.php index 3fbbd9430..42a324a6e 100644 --- a/src/Admin/Message/ModifyFilterRulesBody.php +++ b/src/Admin/Message/ModifyFilterRulesBody.php @@ -33,7 +33,7 @@ class ModifyFilterRulesBody extends SoapBody #[SerializedName('ModifyFilterRulesRequest')] #[Type(ModifyFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyFilterRulesBody extends SoapBody #[SerializedName('ModifyFilterRulesResponse')] #[Type(ModifyFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ModifyFilterRulesRequest $request = NULL, ?ModifyFilterRulesResponse $response = NULL + ?ModifyFilterRulesRequest $request = null, ?ModifyFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyFilterRulesEnvelope.php b/src/Admin/Message/ModifyFilterRulesEnvelope.php index 107e1fc83..7c5013ab4 100644 --- a/src/Admin/Message/ModifyFilterRulesEnvelope.php +++ b/src/Admin/Message/ModifyFilterRulesEnvelope.php @@ -36,7 +36,7 @@ class ModifyFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class ModifyFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyFilterRulesRequest.php b/src/Admin/Message/ModifyFilterRulesRequest.php index 1c7612269..5de07b6d9 100644 --- a/src/Admin/Message/ModifyFilterRulesRequest.php +++ b/src/Admin/Message/ModifyFilterRulesRequest.php @@ -106,11 +106,11 @@ class ModifyFilterRulesRequest extends SoapRequest * @return self */ public function __construct( - ?AdminFilterType $type = NULL, - ?AccountSelector $account = NULL, - ?DomainSelector $domain = NULL, - ?CosSelector $cos = NULL, - ?ServerSelector $server = NULL, + ?AdminFilterType $type = null, + ?AccountSelector $account = null, + ?DomainSelector $domain = null, + ?CosSelector $cos = null, + ?ServerSelector $server = null, array $filterRules = [] ) { diff --git a/src/Admin/Message/ModifyLDAPEntryBody.php b/src/Admin/Message/ModifyLDAPEntryBody.php index 450eeb101..732907b9c 100644 --- a/src/Admin/Message/ModifyLDAPEntryBody.php +++ b/src/Admin/Message/ModifyLDAPEntryBody.php @@ -33,7 +33,7 @@ class ModifyLDAPEntryBody extends SoapBody #[SerializedName('ModifyLDAPEntryRequest')] #[Type(ModifyLDAPEntryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyLDAPEntryBody extends SoapBody #[SerializedName('ModifyLDAPEntryResponse')] #[Type(ModifyLDAPEntryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyLDAPEntryBody extends SoapBody * @return self */ public function __construct( - ?ModifyLDAPEntryRequest $request = NULL, ?ModifyLDAPEntryResponse $response = NULL + ?ModifyLDAPEntryRequest $request = null, ?ModifyLDAPEntryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyLDAPEntryEnvelope.php b/src/Admin/Message/ModifyLDAPEntryEnvelope.php index 6f965b3c6..b809652dd 100644 --- a/src/Admin/Message/ModifyLDAPEntryEnvelope.php +++ b/src/Admin/Message/ModifyLDAPEntryEnvelope.php @@ -35,7 +35,7 @@ class ModifyLDAPEntryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyLDAPEntryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyLDAPEntryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyLDAPEntryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyLDAPEntryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyLDAPEntryResponse.php b/src/Admin/Message/ModifyLDAPEntryResponse.php index 4b3c54372..011c40e24 100644 --- a/src/Admin/Message/ModifyLDAPEntryResponse.php +++ b/src/Admin/Message/ModifyLDAPEntryResponse.php @@ -42,7 +42,7 @@ class ModifyLDAPEntryResponse extends SoapResponse * @param LDAPEntryInfo $LDAPEntry * @return self */ - public function __construct(?LDAPEntryInfo $LDAPEntry = NULL) + public function __construct(?LDAPEntryInfo $LDAPEntry = null) { $this->LDAPEntry = $LDAPEntry; } diff --git a/src/Admin/Message/ModifyOutgoingFilterRulesBody.php b/src/Admin/Message/ModifyOutgoingFilterRulesBody.php index 87c025371..6b4df9d70 100644 --- a/src/Admin/Message/ModifyOutgoingFilterRulesBody.php +++ b/src/Admin/Message/ModifyOutgoingFilterRulesBody.php @@ -33,7 +33,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ModifyOutgoingFilterRulesRequest')] #[Type(ModifyOutgoingFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ModifyOutgoingFilterRulesResponse')] #[Type(ModifyOutgoingFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ModifyOutgoingFilterRulesRequest $request = NULL, ?ModifyOutgoingFilterRulesResponse $response = NULL + ?ModifyOutgoingFilterRulesRequest $request = null, ?ModifyOutgoingFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyOutgoingFilterRulesEnvelope.php b/src/Admin/Message/ModifyOutgoingFilterRulesEnvelope.php index fd4a96386..59109220c 100644 --- a/src/Admin/Message/ModifyOutgoingFilterRulesEnvelope.php +++ b/src/Admin/Message/ModifyOutgoingFilterRulesEnvelope.php @@ -36,7 +36,7 @@ class ModifyOutgoingFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyOutgoingFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class ModifyOutgoingFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyOutgoingFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyOutgoingFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyServerBody.php b/src/Admin/Message/ModifyServerBody.php index 981ee4e99..9655b4e3a 100644 --- a/src/Admin/Message/ModifyServerBody.php +++ b/src/Admin/Message/ModifyServerBody.php @@ -33,7 +33,7 @@ class ModifyServerBody extends SoapBody #[SerializedName('ModifyServerRequest')] #[Type(ModifyServerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyServerBody extends SoapBody #[SerializedName('ModifyServerResponse')] #[Type(ModifyServerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyServerBody extends SoapBody * @return self */ public function __construct( - ?ModifyServerRequest $request = NULL, ?ModifyServerResponse $response = NULL + ?ModifyServerRequest $request = null, ?ModifyServerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyServerEnvelope.php b/src/Admin/Message/ModifyServerEnvelope.php index 8f9c172b3..15c2754c8 100644 --- a/src/Admin/Message/ModifyServerEnvelope.php +++ b/src/Admin/Message/ModifyServerEnvelope.php @@ -35,7 +35,7 @@ class ModifyServerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyServerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyServerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyServerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyServerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyServerResponse.php b/src/Admin/Message/ModifyServerResponse.php index 071b56c36..81d2cac67 100644 --- a/src/Admin/Message/ModifyServerResponse.php +++ b/src/Admin/Message/ModifyServerResponse.php @@ -42,7 +42,7 @@ class ModifyServerResponse extends SoapResponse * @param ServerInfo $server * @return self */ - public function __construct(?ServerInfo $server = NULL) + public function __construct(?ServerInfo $server = null) { $this->server = $server; } diff --git a/src/Admin/Message/ModifySystemRetentionPolicyBody.php b/src/Admin/Message/ModifySystemRetentionPolicyBody.php index 1610801d3..0b7ff78a8 100644 --- a/src/Admin/Message/ModifySystemRetentionPolicyBody.php +++ b/src/Admin/Message/ModifySystemRetentionPolicyBody.php @@ -33,7 +33,7 @@ class ModifySystemRetentionPolicyBody extends SoapBody #[SerializedName('ModifySystemRetentionPolicyRequest')] #[Type(ModifySystemRetentionPolicyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifySystemRetentionPolicyBody extends SoapBody #[SerializedName('ModifySystemRetentionPolicyResponse')] #[Type(ModifySystemRetentionPolicyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifySystemRetentionPolicyBody extends SoapBody * @return self */ public function __construct( - ?ModifySystemRetentionPolicyRequest $request = NULL, ?ModifySystemRetentionPolicyResponse $response = NULL + ?ModifySystemRetentionPolicyRequest $request = null, ?ModifySystemRetentionPolicyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifySystemRetentionPolicyEnvelope.php b/src/Admin/Message/ModifySystemRetentionPolicyEnvelope.php index 3e63aeb2d..5556d8dc3 100644 --- a/src/Admin/Message/ModifySystemRetentionPolicyEnvelope.php +++ b/src/Admin/Message/ModifySystemRetentionPolicyEnvelope.php @@ -36,7 +36,7 @@ class ModifySystemRetentionPolicyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifySystemRetentionPolicyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -46,7 +46,7 @@ class ModifySystemRetentionPolicyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifySystemRetentionPolicyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifySystemRetentionPolicyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifySystemRetentionPolicyRequest.php b/src/Admin/Message/ModifySystemRetentionPolicyRequest.php index c6b6ade05..372d88555 100644 --- a/src/Admin/Message/ModifySystemRetentionPolicyRequest.php +++ b/src/Admin/Message/ModifySystemRetentionPolicyRequest.php @@ -56,7 +56,7 @@ class ModifySystemRetentionPolicyRequest extends SoapRequest * @param CosSelector $cos * @return self */ - public function __construct(Policy $policy, ?CosSelector $cos = NULL) + public function __construct(Policy $policy, ?CosSelector $cos = null) { $this->setPolicy($policy); $this->cos = $cos; diff --git a/src/Admin/Message/ModifySystemRetentionPolicyResponse.php b/src/Admin/Message/ModifySystemRetentionPolicyResponse.php index 2a7a8ad67..60b2d9ed7 100644 --- a/src/Admin/Message/ModifySystemRetentionPolicyResponse.php +++ b/src/Admin/Message/ModifySystemRetentionPolicyResponse.php @@ -42,7 +42,7 @@ class ModifySystemRetentionPolicyResponse extends SoapResponse * @param Policy $policy * @return self */ - public function __construct(?Policy $policy = NULL) + public function __construct(?Policy $policy = null) { $this->policy = $policy; } diff --git a/src/Admin/Message/ModifyUCServiceBody.php b/src/Admin/Message/ModifyUCServiceBody.php index dbc8b67db..190187abe 100644 --- a/src/Admin/Message/ModifyUCServiceBody.php +++ b/src/Admin/Message/ModifyUCServiceBody.php @@ -33,7 +33,7 @@ class ModifyUCServiceBody extends SoapBody #[SerializedName('ModifyUCServiceRequest')] #[Type(ModifyUCServiceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyUCServiceBody extends SoapBody #[SerializedName('ModifyUCServiceResponse')] #[Type(ModifyUCServiceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyUCServiceBody extends SoapBody * @return self */ public function __construct( - ?ModifyUCServiceRequest $request = NULL, ?ModifyUCServiceResponse $response = NULL + ?ModifyUCServiceRequest $request = null, ?ModifyUCServiceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyUCServiceEnvelope.php b/src/Admin/Message/ModifyUCServiceEnvelope.php index 25574c3e2..aca5e5736 100644 --- a/src/Admin/Message/ModifyUCServiceEnvelope.php +++ b/src/Admin/Message/ModifyUCServiceEnvelope.php @@ -35,7 +35,7 @@ class ModifyUCServiceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyUCServiceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyUCServiceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyUCServiceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyUCServiceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyUCServiceResponse.php b/src/Admin/Message/ModifyUCServiceResponse.php index 373d41179..41bc485ba 100644 --- a/src/Admin/Message/ModifyUCServiceResponse.php +++ b/src/Admin/Message/ModifyUCServiceResponse.php @@ -42,7 +42,7 @@ class ModifyUCServiceResponse extends SoapResponse * @param UCServiceInfo $ucService * @return self */ - public function __construct(?UCServiceInfo $ucService = NULL) + public function __construct(?UCServiceInfo $ucService = null) { $this->ucService = $ucService; } diff --git a/src/Admin/Message/ModifyVolumeBody.php b/src/Admin/Message/ModifyVolumeBody.php index 297e8b0b0..d9e7b06cf 100644 --- a/src/Admin/Message/ModifyVolumeBody.php +++ b/src/Admin/Message/ModifyVolumeBody.php @@ -33,7 +33,7 @@ class ModifyVolumeBody extends SoapBody #[SerializedName('ModifyVolumeRequest')] #[Type(ModifyVolumeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyVolumeBody extends SoapBody #[SerializedName('ModifyVolumeResponse')] #[Type(ModifyVolumeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyVolumeBody extends SoapBody * @return self */ public function __construct( - ?ModifyVolumeRequest $request = NULL, ?ModifyVolumeResponse $response = NULL + ?ModifyVolumeRequest $request = null, ?ModifyVolumeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyVolumeEnvelope.php b/src/Admin/Message/ModifyVolumeEnvelope.php index d5d99588d..8d5a081ea 100644 --- a/src/Admin/Message/ModifyVolumeEnvelope.php +++ b/src/Admin/Message/ModifyVolumeEnvelope.php @@ -35,7 +35,7 @@ class ModifyVolumeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyVolumeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyVolumeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyVolumeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyVolumeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ModifyZimletBody.php b/src/Admin/Message/ModifyZimletBody.php index 56423d1ca..649e0d3e8 100644 --- a/src/Admin/Message/ModifyZimletBody.php +++ b/src/Admin/Message/ModifyZimletBody.php @@ -33,7 +33,7 @@ class ModifyZimletBody extends SoapBody #[SerializedName('ModifyZimletRequest')] #[Type(ModifyZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyZimletBody extends SoapBody #[SerializedName('ModifyZimletResponse')] #[Type(ModifyZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyZimletBody extends SoapBody * @return self */ public function __construct( - ?ModifyZimletRequest $request = NULL, ?ModifyZimletResponse $response = NULL + ?ModifyZimletRequest $request = null, ?ModifyZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ModifyZimletEnvelope.php b/src/Admin/Message/ModifyZimletEnvelope.php index 6fda624b1..47d879d9a 100644 --- a/src/Admin/Message/ModifyZimletEnvelope.php +++ b/src/Admin/Message/ModifyZimletEnvelope.php @@ -35,7 +35,7 @@ class ModifyZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/NoOpBody.php b/src/Admin/Message/NoOpBody.php index 415f01ffe..32dd34a6e 100644 --- a/src/Admin/Message/NoOpBody.php +++ b/src/Admin/Message/NoOpBody.php @@ -33,7 +33,7 @@ class NoOpBody extends SoapBody #[SerializedName('NoOpRequest')] #[Type(NoOpRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class NoOpBody extends SoapBody #[SerializedName('NoOpResponse')] #[Type(NoOpResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class NoOpBody extends SoapBody * @return self */ public function __construct( - ?NoOpRequest $request = NULL, ?NoOpResponse $response = NULL + ?NoOpRequest $request = null, ?NoOpResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/NoOpEnvelope.php b/src/Admin/Message/NoOpEnvelope.php index 8a7e25cdb..1897cfdfe 100644 --- a/src/Admin/Message/NoOpEnvelope.php +++ b/src/Admin/Message/NoOpEnvelope.php @@ -35,7 +35,7 @@ class NoOpEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(NoOpBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class NoOpEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?NoOpBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?NoOpBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PingBody.php b/src/Admin/Message/PingBody.php index 106f78173..5ded55f9a 100644 --- a/src/Admin/Message/PingBody.php +++ b/src/Admin/Message/PingBody.php @@ -33,7 +33,7 @@ class PingBody extends SoapBody #[SerializedName('PingRequest')] #[Type(PingRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PingBody extends SoapBody #[SerializedName('PingResponse')] #[Type(PingResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PingBody extends SoapBody * @return self */ public function __construct( - ?PingRequest $request = NULL, ?PingResponse $response = NULL + ?PingRequest $request = null, ?PingResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/PingEnvelope.php b/src/Admin/Message/PingEnvelope.php index c96c1a5f0..85a5f66e4 100644 --- a/src/Admin/Message/PingEnvelope.php +++ b/src/Admin/Message/PingEnvelope.php @@ -35,7 +35,7 @@ class PingEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PingBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PingEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PingBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PingBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PurgeAccountCalendarCacheBody.php b/src/Admin/Message/PurgeAccountCalendarCacheBody.php index d14077c4c..52abeb463 100644 --- a/src/Admin/Message/PurgeAccountCalendarCacheBody.php +++ b/src/Admin/Message/PurgeAccountCalendarCacheBody.php @@ -33,7 +33,7 @@ class PurgeAccountCalendarCacheBody extends SoapBody #[SerializedName('PurgeAccountCalendarCacheRequest')] #[Type(PurgeAccountCalendarCacheRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PurgeAccountCalendarCacheBody extends SoapBody #[SerializedName('PurgeAccountCalendarCacheResponse')] #[Type(PurgeAccountCalendarCacheResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PurgeAccountCalendarCacheBody extends SoapBody * @return self */ public function __construct( - ?PurgeAccountCalendarCacheRequest $request = NULL, ?PurgeAccountCalendarCacheResponse $response = NULL + ?PurgeAccountCalendarCacheRequest $request = null, ?PurgeAccountCalendarCacheResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/PurgeAccountCalendarCacheEnvelope.php b/src/Admin/Message/PurgeAccountCalendarCacheEnvelope.php index 5b7ff564d..ae7ad54d0 100644 --- a/src/Admin/Message/PurgeAccountCalendarCacheEnvelope.php +++ b/src/Admin/Message/PurgeAccountCalendarCacheEnvelope.php @@ -35,7 +35,7 @@ class PurgeAccountCalendarCacheEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PurgeAccountCalendarCacheBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PurgeAccountCalendarCacheEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PurgeAccountCalendarCacheBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PurgeAccountCalendarCacheBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PurgeFreeBusyQueueBody.php b/src/Admin/Message/PurgeFreeBusyQueueBody.php index c737eb43d..b6fb001d6 100644 --- a/src/Admin/Message/PurgeFreeBusyQueueBody.php +++ b/src/Admin/Message/PurgeFreeBusyQueueBody.php @@ -33,7 +33,7 @@ class PurgeFreeBusyQueueBody extends SoapBody #[SerializedName('PurgeFreeBusyQueueRequest')] #[Type(PurgeFreeBusyQueueRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PurgeFreeBusyQueueBody extends SoapBody #[SerializedName('PurgeFreeBusyQueueResponse')] #[Type(PurgeFreeBusyQueueResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PurgeFreeBusyQueueBody extends SoapBody * @return self */ public function __construct( - ?PurgeFreeBusyQueueRequest $request = NULL, ?PurgeFreeBusyQueueResponse $response = NULL + ?PurgeFreeBusyQueueRequest $request = null, ?PurgeFreeBusyQueueResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/PurgeFreeBusyQueueEnvelope.php b/src/Admin/Message/PurgeFreeBusyQueueEnvelope.php index 4db64537f..448b9da24 100644 --- a/src/Admin/Message/PurgeFreeBusyQueueEnvelope.php +++ b/src/Admin/Message/PurgeFreeBusyQueueEnvelope.php @@ -35,7 +35,7 @@ class PurgeFreeBusyQueueEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PurgeFreeBusyQueueBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PurgeFreeBusyQueueEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PurgeFreeBusyQueueBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PurgeFreeBusyQueueBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PurgeFreeBusyQueueRequest.php b/src/Admin/Message/PurgeFreeBusyQueueRequest.php index cf393f71f..01165244f 100644 --- a/src/Admin/Message/PurgeFreeBusyQueueRequest.php +++ b/src/Admin/Message/PurgeFreeBusyQueueRequest.php @@ -42,7 +42,7 @@ class PurgeFreeBusyQueueRequest extends SoapRequest * @param NamedElement $provider * @return self */ - public function __construct(?NamedElement $provider = NULL) + public function __construct(?NamedElement $provider = null) { $this->provider = $provider; } diff --git a/src/Admin/Message/PurgeMessagesBody.php b/src/Admin/Message/PurgeMessagesBody.php index 65242cf32..cdadc31ac 100644 --- a/src/Admin/Message/PurgeMessagesBody.php +++ b/src/Admin/Message/PurgeMessagesBody.php @@ -33,7 +33,7 @@ class PurgeMessagesBody extends SoapBody #[SerializedName('PurgeMessagesRequest')] #[Type(PurgeMessagesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PurgeMessagesBody extends SoapBody #[SerializedName('PurgeMessagesResponse')] #[Type(PurgeMessagesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PurgeMessagesBody extends SoapBody * @return self */ public function __construct( - ?PurgeMessagesRequest $request = NULL, ?PurgeMessagesResponse $response = NULL + ?PurgeMessagesRequest $request = null, ?PurgeMessagesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/PurgeMessagesEnvelope.php b/src/Admin/Message/PurgeMessagesEnvelope.php index d6a2dc4fa..ae712372c 100644 --- a/src/Admin/Message/PurgeMessagesEnvelope.php +++ b/src/Admin/Message/PurgeMessagesEnvelope.php @@ -35,7 +35,7 @@ class PurgeMessagesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PurgeMessagesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PurgeMessagesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PurgeMessagesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PurgeMessagesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PurgeMessagesRequest.php b/src/Admin/Message/PurgeMessagesRequest.php index c5418cefb..dbe954958 100644 --- a/src/Admin/Message/PurgeMessagesRequest.php +++ b/src/Admin/Message/PurgeMessagesRequest.php @@ -44,7 +44,7 @@ class PurgeMessagesRequest extends SoapRequest * @param Mailbox $mbox * @return self */ - public function __construct(?Mailbox $mbox = NULL) + public function __construct(?Mailbox $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/PushFreeBusyBody.php b/src/Admin/Message/PushFreeBusyBody.php index 5ef8575d1..69a539aee 100644 --- a/src/Admin/Message/PushFreeBusyBody.php +++ b/src/Admin/Message/PushFreeBusyBody.php @@ -33,7 +33,7 @@ class PushFreeBusyBody extends SoapBody #[SerializedName('PushFreeBusyRequest')] #[Type(PushFreeBusyRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PushFreeBusyBody extends SoapBody #[SerializedName('PushFreeBusyResponse')] #[Type(PushFreeBusyResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PushFreeBusyBody extends SoapBody * @return self */ public function __construct( - ?PushFreeBusyRequest $request = NULL, ?PushFreeBusyResponse $response = NULL + ?PushFreeBusyRequest $request = null, ?PushFreeBusyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/PushFreeBusyEnvelope.php b/src/Admin/Message/PushFreeBusyEnvelope.php index 57a1391a2..e95e24ce3 100644 --- a/src/Admin/Message/PushFreeBusyEnvelope.php +++ b/src/Admin/Message/PushFreeBusyEnvelope.php @@ -35,7 +35,7 @@ class PushFreeBusyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PushFreeBusyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PushFreeBusyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PushFreeBusyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PushFreeBusyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/PushFreeBusyRequest.php b/src/Admin/Message/PushFreeBusyRequest.php index 17260b7c4..d50fb3e2a 100644 --- a/src/Admin/Message/PushFreeBusyRequest.php +++ b/src/Admin/Message/PushFreeBusyRequest.php @@ -57,7 +57,7 @@ class PushFreeBusyRequest extends SoapRequest * @param array $accounts * @return self */ - public function __construct(?Names $domains = NULL, array $accounts = []) + public function __construct(?Names $domains = null, array $accounts = []) { $this->setAccounts($accounts); $this->domains = $domains; diff --git a/src/Admin/Message/QueryWaitSetBody.php b/src/Admin/Message/QueryWaitSetBody.php index 99ec886bd..471d4d8a0 100644 --- a/src/Admin/Message/QueryWaitSetBody.php +++ b/src/Admin/Message/QueryWaitSetBody.php @@ -33,7 +33,7 @@ class QueryWaitSetBody extends SoapBody #[SerializedName('QueryWaitSetRequest')] #[Type(QueryWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class QueryWaitSetBody extends SoapBody #[SerializedName('QueryWaitSetResponse')] #[Type(QueryWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class QueryWaitSetBody extends SoapBody * @return self */ public function __construct( - ?QueryWaitSetRequest $request = NULL, ?QueryWaitSetResponse $response = NULL + ?QueryWaitSetRequest $request = null, ?QueryWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/QueryWaitSetEnvelope.php b/src/Admin/Message/QueryWaitSetEnvelope.php index 160a957d6..a9276dbbc 100644 --- a/src/Admin/Message/QueryWaitSetEnvelope.php +++ b/src/Admin/Message/QueryWaitSetEnvelope.php @@ -35,7 +35,7 @@ class QueryWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(QueryWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class QueryWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?QueryWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?QueryWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/QueryWaitSetRequest.php b/src/Admin/Message/QueryWaitSetRequest.php index 52246dec9..2141409a9 100644 --- a/src/Admin/Message/QueryWaitSetRequest.php +++ b/src/Admin/Message/QueryWaitSetRequest.php @@ -45,9 +45,9 @@ class QueryWaitSetRequest extends SoapRequest * @param string $waitSetId * @return self */ - public function __construct(?string $waitSetId = NULL) + public function __construct(?string $waitSetId = null) { - if (NULL !== $waitSetId) { + if (null !== $waitSetId) { $this->setWaitSetId($waitSetId); } } diff --git a/src/Admin/Message/ReIndexBody.php b/src/Admin/Message/ReIndexBody.php index 79a801421..d7109adb4 100644 --- a/src/Admin/Message/ReIndexBody.php +++ b/src/Admin/Message/ReIndexBody.php @@ -33,7 +33,7 @@ class ReIndexBody extends SoapBody #[SerializedName('ReIndexRequest')] #[Type(ReIndexRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ReIndexBody extends SoapBody #[SerializedName('ReIndexResponse')] #[Type(ReIndexResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ReIndexBody extends SoapBody * @return self */ public function __construct( - ?ReIndexRequest $request = NULL, ?ReIndexResponse $response = NULL + ?ReIndexRequest $request = null, ?ReIndexResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ReIndexEnvelope.php b/src/Admin/Message/ReIndexEnvelope.php index 3b9fc4142..219450caa 100644 --- a/src/Admin/Message/ReIndexEnvelope.php +++ b/src/Admin/Message/ReIndexEnvelope.php @@ -35,7 +35,7 @@ class ReIndexEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ReIndexBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ReIndexEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ReIndexBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ReIndexBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ReIndexRequest.php b/src/Admin/Message/ReIndexRequest.php index faaf43718..fdcf3ea26 100644 --- a/src/Admin/Message/ReIndexRequest.php +++ b/src/Admin/Message/ReIndexRequest.php @@ -58,7 +58,7 @@ class ReIndexRequest extends SoapRequest * @param Action $action * @return self */ - public function __construct(Mbox $mbox, ?Action $action = NULL) + public function __construct(Mbox $mbox, ?Action $action = null) { $this->setMbox($mbox); $this->action = $action; diff --git a/src/Admin/Message/ReIndexResponse.php b/src/Admin/Message/ReIndexResponse.php index 92da2b4bd..3f7c68dd8 100644 --- a/src/Admin/Message/ReIndexResponse.php +++ b/src/Admin/Message/ReIndexResponse.php @@ -55,7 +55,7 @@ class ReIndexResponse extends SoapResponse * @return self */ public function __construct( - ?ReIndexStatus $status = NULL, ?ReindexProgressInfo $progress = NULL + ?ReIndexStatus $status = null, ?ReindexProgressInfo $progress = null ) { $this->status = $status; diff --git a/src/Admin/Message/RecalculateMailboxCountsBody.php b/src/Admin/Message/RecalculateMailboxCountsBody.php index 9dae3c5c6..a86a4b777 100644 --- a/src/Admin/Message/RecalculateMailboxCountsBody.php +++ b/src/Admin/Message/RecalculateMailboxCountsBody.php @@ -33,7 +33,7 @@ class RecalculateMailboxCountsBody extends SoapBody #[SerializedName('RecalculateMailboxCountsRequest')] #[Type(RecalculateMailboxCountsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RecalculateMailboxCountsBody extends SoapBody #[SerializedName('RecalculateMailboxCountsResponse')] #[Type(RecalculateMailboxCountsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RecalculateMailboxCountsBody extends SoapBody * @return self */ public function __construct( - ?RecalculateMailboxCountsRequest $request = NULL, ?RecalculateMailboxCountsResponse $response = NULL + ?RecalculateMailboxCountsRequest $request = null, ?RecalculateMailboxCountsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RecalculateMailboxCountsEnvelope.php b/src/Admin/Message/RecalculateMailboxCountsEnvelope.php index ee0599bb1..065d722d0 100644 --- a/src/Admin/Message/RecalculateMailboxCountsEnvelope.php +++ b/src/Admin/Message/RecalculateMailboxCountsEnvelope.php @@ -35,7 +35,7 @@ class RecalculateMailboxCountsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RecalculateMailboxCountsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RecalculateMailboxCountsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RecalculateMailboxCountsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RecalculateMailboxCountsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RecalculateMailboxCountsRequest.php b/src/Admin/Message/RecalculateMailboxCountsRequest.php index 1b0ec48c7..2c539ed0a 100644 --- a/src/Admin/Message/RecalculateMailboxCountsRequest.php +++ b/src/Admin/Message/RecalculateMailboxCountsRequest.php @@ -44,7 +44,7 @@ class RecalculateMailboxCountsRequest extends SoapRequest * @param Mailbox $mbox * @return self */ - public function __construct(?Mailbox $mbox = NULL) + public function __construct(?Mailbox $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/RecalculateMailboxCountsResponse.php b/src/Admin/Message/RecalculateMailboxCountsResponse.php index 1f58e0211..1c59ad425 100644 --- a/src/Admin/Message/RecalculateMailboxCountsResponse.php +++ b/src/Admin/Message/RecalculateMailboxCountsResponse.php @@ -42,7 +42,7 @@ class RecalculateMailboxCountsResponse extends SoapResponse * @param Mailbox $mailbox * @return self */ - public function __construct(?Mailbox $mailbox = NULL) + public function __construct(?Mailbox $mailbox = null) { $this->mailbox = $mailbox; } diff --git a/src/Admin/Message/RefreshRegisteredAuthTokensBody.php b/src/Admin/Message/RefreshRegisteredAuthTokensBody.php index d06c845a8..b4f951a5d 100644 --- a/src/Admin/Message/RefreshRegisteredAuthTokensBody.php +++ b/src/Admin/Message/RefreshRegisteredAuthTokensBody.php @@ -33,7 +33,7 @@ class RefreshRegisteredAuthTokensBody extends SoapBody #[SerializedName('RefreshRegisteredAuthTokensRequest')] #[Type(RefreshRegisteredAuthTokensRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RefreshRegisteredAuthTokensBody extends SoapBody #[SerializedName('RefreshRegisteredAuthTokensResponse')] #[Type(RefreshRegisteredAuthTokensResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RefreshRegisteredAuthTokensBody extends SoapBody * @return self */ public function __construct( - ?RefreshRegisteredAuthTokensRequest $request = NULL, ?RefreshRegisteredAuthTokensResponse $response = NULL + ?RefreshRegisteredAuthTokensRequest $request = null, ?RefreshRegisteredAuthTokensResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RefreshRegisteredAuthTokensEnvelope.php b/src/Admin/Message/RefreshRegisteredAuthTokensEnvelope.php index 2262b319a..dcb6c6ba9 100644 --- a/src/Admin/Message/RefreshRegisteredAuthTokensEnvelope.php +++ b/src/Admin/Message/RefreshRegisteredAuthTokensEnvelope.php @@ -35,7 +35,7 @@ class RefreshRegisteredAuthTokensEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RefreshRegisteredAuthTokensBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RefreshRegisteredAuthTokensEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RefreshRegisteredAuthTokensBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RefreshRegisteredAuthTokensBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ReloadLocalConfigBody.php b/src/Admin/Message/ReloadLocalConfigBody.php index 35e3c9c60..95fa4f112 100644 --- a/src/Admin/Message/ReloadLocalConfigBody.php +++ b/src/Admin/Message/ReloadLocalConfigBody.php @@ -33,7 +33,7 @@ class ReloadLocalConfigBody extends SoapBody #[SerializedName('ReloadLocalConfigRequest')] #[Type(ReloadLocalConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ReloadLocalConfigBody extends SoapBody #[SerializedName('ReloadLocalConfigResponse')] #[Type(ReloadLocalConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ReloadLocalConfigBody extends SoapBody * @return self */ public function __construct( - ?ReloadLocalConfigRequest $request = NULL, ?ReloadLocalConfigResponse $response = NULL + ?ReloadLocalConfigRequest $request = null, ?ReloadLocalConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ReloadLocalConfigEnvelope.php b/src/Admin/Message/ReloadLocalConfigEnvelope.php index 690c5cf83..37889a585 100644 --- a/src/Admin/Message/ReloadLocalConfigEnvelope.php +++ b/src/Admin/Message/ReloadLocalConfigEnvelope.php @@ -35,7 +35,7 @@ class ReloadLocalConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ReloadLocalConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ReloadLocalConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ReloadLocalConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ReloadLocalConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ReloadMemcachedClientConfigBody.php b/src/Admin/Message/ReloadMemcachedClientConfigBody.php index dcea1d150..33f3cfa5d 100644 --- a/src/Admin/Message/ReloadMemcachedClientConfigBody.php +++ b/src/Admin/Message/ReloadMemcachedClientConfigBody.php @@ -33,7 +33,7 @@ class ReloadMemcachedClientConfigBody extends SoapBody #[SerializedName('ReloadMemcachedClientConfigRequest')] #[Type(ReloadMemcachedClientConfigRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ReloadMemcachedClientConfigBody extends SoapBody #[SerializedName('ReloadMemcachedClientConfigResponse')] #[Type(ReloadMemcachedClientConfigResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ReloadMemcachedClientConfigBody extends SoapBody * @return self */ public function __construct( - ?ReloadMemcachedClientConfigRequest $request = NULL, ?ReloadMemcachedClientConfigResponse $response = NULL + ?ReloadMemcachedClientConfigRequest $request = null, ?ReloadMemcachedClientConfigResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ReloadMemcachedClientConfigEnvelope.php b/src/Admin/Message/ReloadMemcachedClientConfigEnvelope.php index f7843ce93..45710d6bf 100644 --- a/src/Admin/Message/ReloadMemcachedClientConfigEnvelope.php +++ b/src/Admin/Message/ReloadMemcachedClientConfigEnvelope.php @@ -35,7 +35,7 @@ class ReloadMemcachedClientConfigEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ReloadMemcachedClientConfigBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ReloadMemcachedClientConfigEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ReloadMemcachedClientConfigBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ReloadMemcachedClientConfigBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RemoveAccountAliasBody.php b/src/Admin/Message/RemoveAccountAliasBody.php index a4f56add7..6d58dd047 100644 --- a/src/Admin/Message/RemoveAccountAliasBody.php +++ b/src/Admin/Message/RemoveAccountAliasBody.php @@ -33,7 +33,7 @@ class RemoveAccountAliasBody extends SoapBody #[SerializedName('RemoveAccountAliasRequest')] #[Type(RemoveAccountAliasRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RemoveAccountAliasBody extends SoapBody #[SerializedName('RemoveAccountAliasResponse')] #[Type(RemoveAccountAliasResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RemoveAccountAliasBody extends SoapBody * @return self */ public function __construct( - ?RemoveAccountAliasRequest $request = NULL, ?RemoveAccountAliasResponse $response = NULL + ?RemoveAccountAliasRequest $request = null, ?RemoveAccountAliasResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RemoveAccountAliasEnvelope.php b/src/Admin/Message/RemoveAccountAliasEnvelope.php index 9df5aedb6..c861cb4c8 100644 --- a/src/Admin/Message/RemoveAccountAliasEnvelope.php +++ b/src/Admin/Message/RemoveAccountAliasEnvelope.php @@ -35,7 +35,7 @@ class RemoveAccountAliasEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RemoveAccountAliasBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RemoveAccountAliasEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RemoveAccountAliasBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RemoveAccountAliasBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RemoveAccountLoggerBody.php b/src/Admin/Message/RemoveAccountLoggerBody.php index 943fcce6a..233d032a9 100644 --- a/src/Admin/Message/RemoveAccountLoggerBody.php +++ b/src/Admin/Message/RemoveAccountLoggerBody.php @@ -33,7 +33,7 @@ class RemoveAccountLoggerBody extends SoapBody #[SerializedName('RemoveAccountLoggerRequest')] #[Type(RemoveAccountLoggerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RemoveAccountLoggerBody extends SoapBody #[SerializedName('RemoveAccountLoggerResponse')] #[Type(RemoveAccountLoggerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RemoveAccountLoggerBody extends SoapBody * @return self */ public function __construct( - ?RemoveAccountLoggerRequest $request = NULL, ?RemoveAccountLoggerResponse $response = NULL + ?RemoveAccountLoggerRequest $request = null, ?RemoveAccountLoggerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RemoveAccountLoggerEnvelope.php b/src/Admin/Message/RemoveAccountLoggerEnvelope.php index fdad0b97c..72137ef4c 100644 --- a/src/Admin/Message/RemoveAccountLoggerEnvelope.php +++ b/src/Admin/Message/RemoveAccountLoggerEnvelope.php @@ -35,7 +35,7 @@ class RemoveAccountLoggerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RemoveAccountLoggerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RemoveAccountLoggerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RemoveAccountLoggerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RemoveAccountLoggerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RemoveAccountLoggerRequest.php b/src/Admin/Message/RemoveAccountLoggerRequest.php index 01b8e29d4..2ed9f1a28 100644 --- a/src/Admin/Message/RemoveAccountLoggerRequest.php +++ b/src/Admin/Message/RemoveAccountLoggerRequest.php @@ -72,12 +72,12 @@ class RemoveAccountLoggerRequest extends SoapRequest * @return self */ public function __construct( - ?LoggerInfo $logger = NULL, ?AccountSelector $account = NULL, ?string $id = NULL + ?LoggerInfo $logger = null, ?AccountSelector $account = null, ?string $id = null ) { $this->logger = $logger; $this->account = $account; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Admin/Message/RemoveDistributionListAliasBody.php b/src/Admin/Message/RemoveDistributionListAliasBody.php index ada3bd4f5..da5fefef2 100644 --- a/src/Admin/Message/RemoveDistributionListAliasBody.php +++ b/src/Admin/Message/RemoveDistributionListAliasBody.php @@ -33,7 +33,7 @@ class RemoveDistributionListAliasBody extends SoapBody #[SerializedName('RemoveDistributionListAliasRequest')] #[Type(RemoveDistributionListAliasRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RemoveDistributionListAliasBody extends SoapBody #[SerializedName('RemoveDistributionListAliasResponse')] #[Type(RemoveDistributionListAliasResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RemoveDistributionListAliasBody extends SoapBody * @return self */ public function __construct( - ?RemoveDistributionListAliasRequest $request = NULL, ?RemoveDistributionListAliasResponse $response = NULL + ?RemoveDistributionListAliasRequest $request = null, ?RemoveDistributionListAliasResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RemoveDistributionListAliasEnvelope.php b/src/Admin/Message/RemoveDistributionListAliasEnvelope.php index ed0bf5069..2d34c1d91 100644 --- a/src/Admin/Message/RemoveDistributionListAliasEnvelope.php +++ b/src/Admin/Message/RemoveDistributionListAliasEnvelope.php @@ -35,7 +35,7 @@ class RemoveDistributionListAliasEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RemoveDistributionListAliasBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RemoveDistributionListAliasEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RemoveDistributionListAliasBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RemoveDistributionListAliasBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RemoveDistributionListMemberBody.php b/src/Admin/Message/RemoveDistributionListMemberBody.php index c90c601e3..d208f56a0 100644 --- a/src/Admin/Message/RemoveDistributionListMemberBody.php +++ b/src/Admin/Message/RemoveDistributionListMemberBody.php @@ -33,7 +33,7 @@ class RemoveDistributionListMemberBody extends SoapBody #[SerializedName('RemoveDistributionListMemberRequest')] #[Type(RemoveDistributionListMemberRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RemoveDistributionListMemberBody extends SoapBody #[SerializedName('RemoveDistributionListMemberResponse')] #[Type(RemoveDistributionListMemberResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RemoveDistributionListMemberBody extends SoapBody * @return self */ public function __construct( - ?RemoveDistributionListMemberRequest $request = NULL, ?RemoveDistributionListMemberResponse $response = NULL + ?RemoveDistributionListMemberRequest $request = null, ?RemoveDistributionListMemberResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RemoveDistributionListMemberEnvelope.php b/src/Admin/Message/RemoveDistributionListMemberEnvelope.php index 231ff8b24..95d877f8e 100644 --- a/src/Admin/Message/RemoveDistributionListMemberEnvelope.php +++ b/src/Admin/Message/RemoveDistributionListMemberEnvelope.php @@ -35,7 +35,7 @@ class RemoveDistributionListMemberEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RemoveDistributionListMemberBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RemoveDistributionListMemberEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RemoveDistributionListMemberBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RemoveDistributionListMemberBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameAccountBody.php b/src/Admin/Message/RenameAccountBody.php index 7f95c0908..208700867 100644 --- a/src/Admin/Message/RenameAccountBody.php +++ b/src/Admin/Message/RenameAccountBody.php @@ -33,7 +33,7 @@ class RenameAccountBody extends SoapBody #[SerializedName('RenameAccountRequest')] #[Type(RenameAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameAccountBody extends SoapBody #[SerializedName('RenameAccountResponse')] #[Type(RenameAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameAccountBody extends SoapBody * @return self */ public function __construct( - ?RenameAccountRequest $request = NULL, ?RenameAccountResponse $response = NULL + ?RenameAccountRequest $request = null, ?RenameAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameAccountEnvelope.php b/src/Admin/Message/RenameAccountEnvelope.php index 56db5d594..741e6bb8c 100644 --- a/src/Admin/Message/RenameAccountEnvelope.php +++ b/src/Admin/Message/RenameAccountEnvelope.php @@ -35,7 +35,7 @@ class RenameAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameAccountResponse.php b/src/Admin/Message/RenameAccountResponse.php index 8e0e4e7fd..5d6f22ca6 100644 --- a/src/Admin/Message/RenameAccountResponse.php +++ b/src/Admin/Message/RenameAccountResponse.php @@ -42,7 +42,7 @@ class RenameAccountResponse extends SoapResponse * @param AccountInfo $account * @return self */ - public function __construct(?AccountInfo $account = NULL) + public function __construct(?AccountInfo $account = null) { $this->account = $account; } diff --git a/src/Admin/Message/RenameCalendarResourceBody.php b/src/Admin/Message/RenameCalendarResourceBody.php index a9c3e082f..1d1727fc9 100644 --- a/src/Admin/Message/RenameCalendarResourceBody.php +++ b/src/Admin/Message/RenameCalendarResourceBody.php @@ -33,7 +33,7 @@ class RenameCalendarResourceBody extends SoapBody #[SerializedName('RenameCalendarResourceRequest')] #[Type(RenameCalendarResourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameCalendarResourceBody extends SoapBody #[SerializedName('RenameCalendarResourceResponse')] #[Type(RenameCalendarResourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameCalendarResourceBody extends SoapBody * @return self */ public function __construct( - ?RenameCalendarResourceRequest $request = NULL, ?RenameCalendarResourceResponse $response = NULL + ?RenameCalendarResourceRequest $request = null, ?RenameCalendarResourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameCalendarResourceEnvelope.php b/src/Admin/Message/RenameCalendarResourceEnvelope.php index e181b83fc..39cd3550d 100644 --- a/src/Admin/Message/RenameCalendarResourceEnvelope.php +++ b/src/Admin/Message/RenameCalendarResourceEnvelope.php @@ -35,7 +35,7 @@ class RenameCalendarResourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameCalendarResourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameCalendarResourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameCalendarResourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameCalendarResourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameCalendarResourceResponse.php b/src/Admin/Message/RenameCalendarResourceResponse.php index 7051b4ca2..a138a33b2 100644 --- a/src/Admin/Message/RenameCalendarResourceResponse.php +++ b/src/Admin/Message/RenameCalendarResourceResponse.php @@ -42,7 +42,7 @@ class RenameCalendarResourceResponse extends SoapResponse * @param CalendarResourceInfo $calResource * @return self */ - public function __construct(?CalendarResourceInfo $calResource = NULL) + public function __construct(?CalendarResourceInfo $calResource = null) { $this->calResource = $calResource; } diff --git a/src/Admin/Message/RenameCosBody.php b/src/Admin/Message/RenameCosBody.php index 19cde8cde..1df564a7e 100644 --- a/src/Admin/Message/RenameCosBody.php +++ b/src/Admin/Message/RenameCosBody.php @@ -33,7 +33,7 @@ class RenameCosBody extends SoapBody #[SerializedName('RenameCosRequest')] #[Type(RenameCosRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameCosBody extends SoapBody #[SerializedName('RenameCosResponse')] #[Type(RenameCosResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameCosBody extends SoapBody * @return self */ public function __construct( - ?RenameCosRequest $request = NULL, ?RenameCosResponse $response = NULL + ?RenameCosRequest $request = null, ?RenameCosResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameCosEnvelope.php b/src/Admin/Message/RenameCosEnvelope.php index cf9d1f117..a9e9d3c02 100644 --- a/src/Admin/Message/RenameCosEnvelope.php +++ b/src/Admin/Message/RenameCosEnvelope.php @@ -35,7 +35,7 @@ class RenameCosEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameCosBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameCosEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameCosBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameCosBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameCosResponse.php b/src/Admin/Message/RenameCosResponse.php index 8459f7425..00eabc532 100644 --- a/src/Admin/Message/RenameCosResponse.php +++ b/src/Admin/Message/RenameCosResponse.php @@ -42,7 +42,7 @@ class RenameCosResponse extends SoapResponse * @param CosInfo $cos * @return self */ - public function __construct(?CosInfo $cos = NULL) + public function __construct(?CosInfo $cos = null) { $this->cos = $cos; } diff --git a/src/Admin/Message/RenameDistributionListBody.php b/src/Admin/Message/RenameDistributionListBody.php index a120e9b55..dd602a424 100644 --- a/src/Admin/Message/RenameDistributionListBody.php +++ b/src/Admin/Message/RenameDistributionListBody.php @@ -33,7 +33,7 @@ class RenameDistributionListBody extends SoapBody #[SerializedName('RenameDistributionListRequest')] #[Type(RenameDistributionListRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameDistributionListBody extends SoapBody #[SerializedName('RenameDistributionListResponse')] #[Type(RenameDistributionListResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameDistributionListBody extends SoapBody * @return self */ public function __construct( - ?RenameDistributionListRequest $request = NULL, ?RenameDistributionListResponse $response = NULL + ?RenameDistributionListRequest $request = null, ?RenameDistributionListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameDistributionListEnvelope.php b/src/Admin/Message/RenameDistributionListEnvelope.php index bfda0531f..fb4732957 100644 --- a/src/Admin/Message/RenameDistributionListEnvelope.php +++ b/src/Admin/Message/RenameDistributionListEnvelope.php @@ -35,7 +35,7 @@ class RenameDistributionListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameDistributionListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameDistributionListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameDistributionListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameDistributionListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameDistributionListResponse.php b/src/Admin/Message/RenameDistributionListResponse.php index a52f27cb0..a52e6f03c 100644 --- a/src/Admin/Message/RenameDistributionListResponse.php +++ b/src/Admin/Message/RenameDistributionListResponse.php @@ -42,7 +42,7 @@ class RenameDistributionListResponse extends SoapResponse * @param DLInfo $dl * @return self */ - public function __construct(?DLInfo $dl = NULL) + public function __construct(?DLInfo $dl = null) { $this->dl = $dl; } diff --git a/src/Admin/Message/RenameLDAPEntryBody.php b/src/Admin/Message/RenameLDAPEntryBody.php index d456ed0c5..59de367f2 100644 --- a/src/Admin/Message/RenameLDAPEntryBody.php +++ b/src/Admin/Message/RenameLDAPEntryBody.php @@ -33,7 +33,7 @@ class RenameLDAPEntryBody extends SoapBody #[SerializedName('RenameLDAPEntryRequest')] #[Type(RenameLDAPEntryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameLDAPEntryBody extends SoapBody #[SerializedName('RenameLDAPEntryResponse')] #[Type(RenameLDAPEntryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameLDAPEntryBody extends SoapBody * @return self */ public function __construct( - ?RenameLDAPEntryRequest $request = NULL, ?RenameLDAPEntryResponse $response = NULL + ?RenameLDAPEntryRequest $request = null, ?RenameLDAPEntryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameLDAPEntryEnvelope.php b/src/Admin/Message/RenameLDAPEntryEnvelope.php index 2e5be53f9..79e8482d8 100644 --- a/src/Admin/Message/RenameLDAPEntryEnvelope.php +++ b/src/Admin/Message/RenameLDAPEntryEnvelope.php @@ -35,7 +35,7 @@ class RenameLDAPEntryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameLDAPEntryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameLDAPEntryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameLDAPEntryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameLDAPEntryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameLDAPEntryResponse.php b/src/Admin/Message/RenameLDAPEntryResponse.php index 5f8f5b3bf..5cc382cf2 100644 --- a/src/Admin/Message/RenameLDAPEntryResponse.php +++ b/src/Admin/Message/RenameLDAPEntryResponse.php @@ -42,7 +42,7 @@ class RenameLDAPEntryResponse extends SoapResponse * @param LDAPEntryInfo $LDAPEntry * @return self */ - public function __construct(?LDAPEntryInfo $LDAPEntry = NULL) + public function __construct(?LDAPEntryInfo $LDAPEntry = null) { $this->LDAPEntry = $LDAPEntry; } diff --git a/src/Admin/Message/RenameUCServiceBody.php b/src/Admin/Message/RenameUCServiceBody.php index 7f2dd95c2..0668f8abe 100644 --- a/src/Admin/Message/RenameUCServiceBody.php +++ b/src/Admin/Message/RenameUCServiceBody.php @@ -33,7 +33,7 @@ class RenameUCServiceBody extends SoapBody #[SerializedName('RenameUCServiceRequest')] #[Type(RenameUCServiceRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RenameUCServiceBody extends SoapBody #[SerializedName('RenameUCServiceResponse')] #[Type(RenameUCServiceResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RenameUCServiceBody extends SoapBody * @return self */ public function __construct( - ?RenameUCServiceRequest $request = NULL, ?RenameUCServiceResponse $response = NULL + ?RenameUCServiceRequest $request = null, ?RenameUCServiceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RenameUCServiceEnvelope.php b/src/Admin/Message/RenameUCServiceEnvelope.php index 689bae12c..450083271 100644 --- a/src/Admin/Message/RenameUCServiceEnvelope.php +++ b/src/Admin/Message/RenameUCServiceEnvelope.php @@ -35,7 +35,7 @@ class RenameUCServiceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RenameUCServiceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RenameUCServiceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RenameUCServiceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RenameUCServiceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RenameUCServiceResponse.php b/src/Admin/Message/RenameUCServiceResponse.php index c267ae86b..dfce16329 100644 --- a/src/Admin/Message/RenameUCServiceResponse.php +++ b/src/Admin/Message/RenameUCServiceResponse.php @@ -42,7 +42,7 @@ class RenameUCServiceResponse extends SoapResponse * @param UCServiceInfo $ucService * @return self */ - public function __construct(?UCServiceInfo $ucService = NULL) + public function __construct(?UCServiceInfo $ucService = null) { $this->ucService = $ucService; } diff --git a/src/Admin/Message/ResetAccountPasswordBody.php b/src/Admin/Message/ResetAccountPasswordBody.php index 8eb05026a..97ef44363 100644 --- a/src/Admin/Message/ResetAccountPasswordBody.php +++ b/src/Admin/Message/ResetAccountPasswordBody.php @@ -33,7 +33,7 @@ class ResetAccountPasswordBody extends SoapBody #[SerializedName('ResetAccountPasswordRequest')] #[Type(ResetAccountPasswordRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ResetAccountPasswordBody extends SoapBody #[SerializedName('ResetAccountPasswordResponse')] #[Type(ResetAccountPasswordResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ResetAccountPasswordBody extends SoapBody * @return self */ public function __construct( - ?ResetAccountPasswordRequest $request = NULL, ?ResetAccountPasswordResponse $response = NULL + ?ResetAccountPasswordRequest $request = null, ?ResetAccountPasswordResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ResetAccountPasswordEnvelope.php b/src/Admin/Message/ResetAccountPasswordEnvelope.php index d3ba7e222..573f37454 100644 --- a/src/Admin/Message/ResetAccountPasswordEnvelope.php +++ b/src/Admin/Message/ResetAccountPasswordEnvelope.php @@ -35,7 +35,7 @@ class ResetAccountPasswordEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ResetAccountPasswordBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ResetAccountPasswordEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ResetAccountPasswordBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ResetAccountPasswordBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/ResetAllLoggersBody.php b/src/Admin/Message/ResetAllLoggersBody.php index 30c97e4b2..ebeaf2d69 100644 --- a/src/Admin/Message/ResetAllLoggersBody.php +++ b/src/Admin/Message/ResetAllLoggersBody.php @@ -33,7 +33,7 @@ class ResetAllLoggersBody extends SoapBody #[SerializedName('ResetAllLoggersRequest')] #[Type(ResetAllLoggersRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ResetAllLoggersBody extends SoapBody #[SerializedName('ResetAllLoggersResponse')] #[Type(ResetAllLoggersResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ResetAllLoggersBody extends SoapBody * @return self */ public function __construct( - ?ResetAllLoggersRequest $request = NULL, ?ResetAllLoggersResponse $response = NULL + ?ResetAllLoggersRequest $request = null, ?ResetAllLoggersResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/ResetAllLoggersEnvelope.php b/src/Admin/Message/ResetAllLoggersEnvelope.php index 3e0da092d..5f229fbcb 100644 --- a/src/Admin/Message/ResetAllLoggersEnvelope.php +++ b/src/Admin/Message/ResetAllLoggersEnvelope.php @@ -35,7 +35,7 @@ class ResetAllLoggersEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ResetAllLoggersBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ResetAllLoggersEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ResetAllLoggersBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ResetAllLoggersBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RevokeRightBody.php b/src/Admin/Message/RevokeRightBody.php index 45d4f0f0e..238c5b313 100644 --- a/src/Admin/Message/RevokeRightBody.php +++ b/src/Admin/Message/RevokeRightBody.php @@ -33,7 +33,7 @@ class RevokeRightBody extends SoapBody #[SerializedName('RevokeRightRequest')] #[Type(RevokeRightRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RevokeRightBody extends SoapBody #[SerializedName('RevokeRightResponse')] #[Type(RevokeRightResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RevokeRightBody extends SoapBody * @return self */ public function __construct( - ?RevokeRightRequest $request = NULL, ?RevokeRightResponse $response = NULL + ?RevokeRightRequest $request = null, ?RevokeRightResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RevokeRightEnvelope.php b/src/Admin/Message/RevokeRightEnvelope.php index 7cc523cfe..1d976c29f 100644 --- a/src/Admin/Message/RevokeRightEnvelope.php +++ b/src/Admin/Message/RevokeRightEnvelope.php @@ -35,7 +35,7 @@ class RevokeRightEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RevokeRightBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RevokeRightEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RevokeRightBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RevokeRightBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RunUnitTestsBody.php b/src/Admin/Message/RunUnitTestsBody.php index 0e7ebc330..0b50b1e09 100644 --- a/src/Admin/Message/RunUnitTestsBody.php +++ b/src/Admin/Message/RunUnitTestsBody.php @@ -33,7 +33,7 @@ class RunUnitTestsBody extends SoapBody #[SerializedName('RunUnitTestsRequest')] #[Type(RunUnitTestsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RunUnitTestsBody extends SoapBody #[SerializedName('RunUnitTestsResponse')] #[Type(RunUnitTestsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RunUnitTestsBody extends SoapBody * @return self */ public function __construct( - ?RunUnitTestsRequest $request = NULL, ?RunUnitTestsResponse $response = NULL + ?RunUnitTestsRequest $request = null, ?RunUnitTestsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/RunUnitTestsEnvelope.php b/src/Admin/Message/RunUnitTestsEnvelope.php index 8f3cfac5a..6f30ef4c5 100644 --- a/src/Admin/Message/RunUnitTestsEnvelope.php +++ b/src/Admin/Message/RunUnitTestsEnvelope.php @@ -35,7 +35,7 @@ class RunUnitTestsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RunUnitTestsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RunUnitTestsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RunUnitTestsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RunUnitTestsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/RunUnitTestsResponse.php b/src/Admin/Message/RunUnitTestsResponse.php index 74faaf043..3b969aeaa 100644 --- a/src/Admin/Message/RunUnitTestsResponse.php +++ b/src/Admin/Message/RunUnitTestsResponse.php @@ -67,7 +67,7 @@ class RunUnitTestsResponse extends SoapResponse * @return self */ public function __construct( - ?TestResultInfo $results = NULL, + ?TestResultInfo $results = null, int $numExecuted = 0, int $numFailed = 0 ) diff --git a/src/Admin/Message/SearchAccountsBody.php b/src/Admin/Message/SearchAccountsBody.php index a72d3cfff..b7798f018 100644 --- a/src/Admin/Message/SearchAccountsBody.php +++ b/src/Admin/Message/SearchAccountsBody.php @@ -33,7 +33,7 @@ class SearchAccountsBody extends SoapBody #[SerializedName('SearchAccountsRequest')] #[Type(SearchAccountsRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchAccountsBody extends SoapBody #[SerializedName('SearchAccountsResponse')] #[Type(SearchAccountsResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchAccountsBody extends SoapBody * @return self */ public function __construct( - ?SearchAccountsRequest $request = NULL, ?SearchAccountsResponse $response = NULL + ?SearchAccountsRequest $request = null, ?SearchAccountsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SearchAccountsEnvelope.php b/src/Admin/Message/SearchAccountsEnvelope.php index 17e1a995e..04693b131 100644 --- a/src/Admin/Message/SearchAccountsEnvelope.php +++ b/src/Admin/Message/SearchAccountsEnvelope.php @@ -35,7 +35,7 @@ class SearchAccountsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchAccountsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchAccountsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchAccountsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchAccountsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SearchAccountsRequest.php b/src/Admin/Message/SearchAccountsRequest.php index f682ef387..76ea9eed5 100644 --- a/src/Admin/Message/SearchAccountsRequest.php +++ b/src/Admin/Message/SearchAccountsRequest.php @@ -142,39 +142,39 @@ class SearchAccountsRequest extends SoapRequest */ public function __construct( string $query = '', - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $attrs = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $attrs = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null ) { $this->setQuery($query); - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $domain) { + if (null !== $domain) { $this->setDomain($domain); } - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $types) { + if (null !== $types) { $this->setTypes($types); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } } diff --git a/src/Admin/Message/SearchAccountsResponse.php b/src/Admin/Message/SearchAccountsResponse.php index e6a6e7a60..3e9e2262f 100644 --- a/src/Admin/Message/SearchAccountsResponse.php +++ b/src/Admin/Message/SearchAccountsResponse.php @@ -123,7 +123,7 @@ class SearchAccountsResponse extends SoapResponse * @return self */ public function __construct( - bool $more = FALSE, + bool $more = false, int $searchTotal = 0, array $calResources = [], array $dls = [], diff --git a/src/Admin/Message/SearchAutoProvDirectoryBody.php b/src/Admin/Message/SearchAutoProvDirectoryBody.php index ea0ec0a08..c0d8e1b06 100644 --- a/src/Admin/Message/SearchAutoProvDirectoryBody.php +++ b/src/Admin/Message/SearchAutoProvDirectoryBody.php @@ -33,7 +33,7 @@ class SearchAutoProvDirectoryBody extends SoapBody #[SerializedName('SearchAutoProvDirectoryRequest')] #[Type(SearchAutoProvDirectoryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchAutoProvDirectoryBody extends SoapBody #[SerializedName('SearchAutoProvDirectoryResponse')] #[Type(SearchAutoProvDirectoryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchAutoProvDirectoryBody extends SoapBody * @return self */ public function __construct( - ?SearchAutoProvDirectoryRequest $request = NULL, ?SearchAutoProvDirectoryResponse $response = NULL + ?SearchAutoProvDirectoryRequest $request = null, ?SearchAutoProvDirectoryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SearchAutoProvDirectoryEnvelope.php b/src/Admin/Message/SearchAutoProvDirectoryEnvelope.php index 282a702b2..6a93cafcf 100644 --- a/src/Admin/Message/SearchAutoProvDirectoryEnvelope.php +++ b/src/Admin/Message/SearchAutoProvDirectoryEnvelope.php @@ -35,7 +35,7 @@ class SearchAutoProvDirectoryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchAutoProvDirectoryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchAutoProvDirectoryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchAutoProvDirectoryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchAutoProvDirectoryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SearchAutoProvDirectoryRequest.php b/src/Admin/Message/SearchAutoProvDirectoryRequest.php index 1d8b267ab..02559c5e4 100644 --- a/src/Admin/Message/SearchAutoProvDirectoryRequest.php +++ b/src/Admin/Message/SearchAutoProvDirectoryRequest.php @@ -140,36 +140,36 @@ class SearchAutoProvDirectoryRequest extends SoapRequest implements AttributeSel public function __construct( DomainSelector $domain, string $keyAttr = '', - ?string $query = NULL, - ?string $name = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?bool $refresh = NULL, - ?string $attrs = NULL + ?string $query = null, + ?string $name = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?bool $refresh = null, + ?string $attrs = null ) { $this->setKeyAttr($keyAttr) ->setDomain($domain); - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $maxResults) { + if (null !== $maxResults) { $this->setMaxResults($maxResults); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $refresh) { + if (null !== $refresh) { $this->setRefresh($refresh); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/SearchAutoProvDirectoryResponse.php b/src/Admin/Message/SearchAutoProvDirectoryResponse.php index 04efc44db..000a6a11f 100644 --- a/src/Admin/Message/SearchAutoProvDirectoryResponse.php +++ b/src/Admin/Message/SearchAutoProvDirectoryResponse.php @@ -66,7 +66,7 @@ class SearchAutoProvDirectoryResponse extends SoapResponse * @return self */ public function __construct( - bool $more = FALSE, + bool $more = false, int $searchTotal = 0, array $entries = [] ) diff --git a/src/Admin/Message/SearchCalendarResourcesBody.php b/src/Admin/Message/SearchCalendarResourcesBody.php index 14be18320..6d4777967 100644 --- a/src/Admin/Message/SearchCalendarResourcesBody.php +++ b/src/Admin/Message/SearchCalendarResourcesBody.php @@ -33,7 +33,7 @@ class SearchCalendarResourcesBody extends SoapBody #[SerializedName('SearchCalendarResourcesRequest')] #[Type(SearchCalendarResourcesRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchCalendarResourcesBody extends SoapBody #[SerializedName('SearchCalendarResourcesResponse')] #[Type(SearchCalendarResourcesResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchCalendarResourcesBody extends SoapBody * @return self */ public function __construct( - ?SearchCalendarResourcesRequest $request = NULL, ?SearchCalendarResourcesResponse $response = NULL + ?SearchCalendarResourcesRequest $request = null, ?SearchCalendarResourcesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SearchCalendarResourcesEnvelope.php b/src/Admin/Message/SearchCalendarResourcesEnvelope.php index 4431d44c4..d18175ed0 100644 --- a/src/Admin/Message/SearchCalendarResourcesEnvelope.php +++ b/src/Admin/Message/SearchCalendarResourcesEnvelope.php @@ -35,7 +35,7 @@ class SearchCalendarResourcesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchCalendarResourcesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchCalendarResourcesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchCalendarResourcesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchCalendarResourcesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SearchCalendarResourcesRequest.php b/src/Admin/Message/SearchCalendarResourcesRequest.php index 75098716b..af0f186d6 100644 --- a/src/Admin/Message/SearchCalendarResourcesRequest.php +++ b/src/Admin/Message/SearchCalendarResourcesRequest.php @@ -120,36 +120,36 @@ class SearchCalendarResourcesRequest extends SoapRequest implements AttributeSel * @return self */ public function __construct( - ?EntrySearchFilterInfo $searchFilter = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?string $sortBy = NULL, - ?bool $sortAscending = NULL, - ?string $attrs = NULL + ?EntrySearchFilterInfo $searchFilter = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?string $sortBy = null, + ?bool $sortAscending = null, + ?string $attrs = null ) { $this->searchFilter = $searchFilter; - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $domain) { + if (null !== $domain) { $this->setDomain($domain); } - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/SearchCalendarResourcesResponse.php b/src/Admin/Message/SearchCalendarResourcesResponse.php index 8e2fb9f7a..1f17e4e87 100644 --- a/src/Admin/Message/SearchCalendarResourcesResponse.php +++ b/src/Admin/Message/SearchCalendarResourcesResponse.php @@ -66,7 +66,7 @@ class SearchCalendarResourcesResponse extends SoapResponse * @return self */ public function __construct( - bool $more = FALSE, + bool $more = false, int $searchTotal = 0, array $calResources = [] ) diff --git a/src/Admin/Message/SearchDirectoryBody.php b/src/Admin/Message/SearchDirectoryBody.php index a6f87470a..95acbf80a 100644 --- a/src/Admin/Message/SearchDirectoryBody.php +++ b/src/Admin/Message/SearchDirectoryBody.php @@ -33,7 +33,7 @@ class SearchDirectoryBody extends SoapBody #[SerializedName('SearchDirectoryRequest')] #[Type(SearchDirectoryRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchDirectoryBody extends SoapBody #[SerializedName('SearchDirectoryResponse')] #[Type(SearchDirectoryResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchDirectoryBody extends SoapBody * @return self */ public function __construct( - ?SearchDirectoryRequest $request = NULL, ?SearchDirectoryResponse $response = NULL + ?SearchDirectoryRequest $request = null, ?SearchDirectoryResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SearchDirectoryEnvelope.php b/src/Admin/Message/SearchDirectoryEnvelope.php index 6d4c90ef7..306b75a63 100644 --- a/src/Admin/Message/SearchDirectoryEnvelope.php +++ b/src/Admin/Message/SearchDirectoryEnvelope.php @@ -35,7 +35,7 @@ class SearchDirectoryEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchDirectoryBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchDirectoryEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchDirectoryBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchDirectoryBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SearchDirectoryRequest.php b/src/Admin/Message/SearchDirectoryRequest.php index 994d17b95..6a35b441f 100644 --- a/src/Admin/Message/SearchDirectoryRequest.php +++ b/src/Admin/Message/SearchDirectoryRequest.php @@ -169,54 +169,54 @@ class SearchDirectoryRequest extends SoapRequest implements AttributeSelector * @return self */ public function __construct( - ?string $query = NULL, - ?int $maxResults = NULL, - ?int $limit = NULL, - ?int $offset = NULL, - ?string $domain = NULL, - ?bool $applyCos = NULL, - ?bool $applyConfig = NULL, - ?string $sortBy = NULL, - ?string $types = NULL, - ?bool $sortAscending = NULL, - ?bool $isCountOnly = NULL, - ?string $attrs = NULL + ?string $query = null, + ?int $maxResults = null, + ?int $limit = null, + ?int $offset = null, + ?string $domain = null, + ?bool $applyCos = null, + ?bool $applyConfig = null, + ?string $sortBy = null, + ?string $types = null, + ?bool $sortAscending = null, + ?bool $isCountOnly = null, + ?string $attrs = null ) { - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } - if (NULL !== $maxResults) { + if (null !== $maxResults) { $this->setMaxResults($maxResults); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $domain) { + if (null !== $domain) { $this->setDomain($domain); } - if (NULL !== $applyCos) { + if (null !== $applyCos) { $this->setApplyCos($applyCos); } - if (NULL !== $applyConfig) { + if (null !== $applyConfig) { $this->setApplyConfig($applyConfig); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $types) { + if (null !== $types) { $this->setTypes($types); } - if (NULL !== $sortAscending) { + if (null !== $sortAscending) { $this->setSortAscending($sortAscending); } - if (NULL !== $isCountOnly) { + if (null !== $isCountOnly) { $this->setCountOnly($isCountOnly); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/SearchDirectoryResponse.php b/src/Admin/Message/SearchDirectoryResponse.php index 2eedcf47d..543cb20af 100644 --- a/src/Admin/Message/SearchDirectoryResponse.php +++ b/src/Admin/Message/SearchDirectoryResponse.php @@ -136,7 +136,7 @@ class SearchDirectoryResponse extends SoapResponse */ public function __construct( int $num = 0, - bool $more = FALSE, + bool $more = false, int $searchTotal = 0, array $calResources = [], array $dls = [], diff --git a/src/Admin/Message/SearchGalBody.php b/src/Admin/Message/SearchGalBody.php index c2cb4e89d..30ce76ef1 100644 --- a/src/Admin/Message/SearchGalBody.php +++ b/src/Admin/Message/SearchGalBody.php @@ -33,7 +33,7 @@ class SearchGalBody extends SoapBody #[SerializedName('SearchGalRequest')] #[Type(SearchGalRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchGalBody extends SoapBody #[SerializedName('SearchGalResponse')] #[Type(SearchGalResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchGalBody extends SoapBody * @return self */ public function __construct( - ?SearchGalRequest $request = NULL, ?SearchGalResponse $response = NULL + ?SearchGalRequest $request = null, ?SearchGalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SearchGalEnvelope.php b/src/Admin/Message/SearchGalEnvelope.php index 7fd5d1b05..faa3ba251 100644 --- a/src/Admin/Message/SearchGalEnvelope.php +++ b/src/Admin/Message/SearchGalEnvelope.php @@ -35,7 +35,7 @@ class SearchGalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchGalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchGalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchGalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchGalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SearchGalRequest.php b/src/Admin/Message/SearchGalRequest.php index af3f0d713..549794fa1 100644 --- a/src/Admin/Message/SearchGalRequest.php +++ b/src/Admin/Message/SearchGalRequest.php @@ -93,21 +93,21 @@ class SearchGalRequest extends SoapRequest */ public function __construct( string $domain = '', - ?string $name = NULL, - ?int $limit = NULL, - ?GalSearchType $type = NULL, - ?string $galAccountId = NULL + ?string $name = null, + ?int $limit = null, + ?GalSearchType $type = null, + ?string $galAccountId = null ) { $this->setDomain($domain); $this->type = $type; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $galAccountId) { + if (null !== $galAccountId) { $this->setGalAccountId($galAccountId); } } diff --git a/src/Admin/Message/SearchGalResponse.php b/src/Admin/Message/SearchGalResponse.php index 319167af1..dc6c388ef 100644 --- a/src/Admin/Message/SearchGalResponse.php +++ b/src/Admin/Message/SearchGalResponse.php @@ -94,24 +94,24 @@ class SearchGalResponse extends SoapResponse * @return self */ public function __construct( - ?string $sortBy = NULL, - ?int $offset = NULL, - ?bool $more = NULL, - ?bool $tokenizeKey = NULL, + ?string $sortBy = null, + ?int $offset = null, + ?bool $more = null, + ?bool $tokenizeKey = null, array $contacts = [] ) { $this->setContacts($contacts); - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } - if (NULL !== $tokenizeKey) { + if (null !== $tokenizeKey) { $this->setTokenizeKey($tokenizeKey); } } diff --git a/src/Admin/Message/SetCurrentVolumeBody.php b/src/Admin/Message/SetCurrentVolumeBody.php index 20c7ff24a..4f8c9e88d 100644 --- a/src/Admin/Message/SetCurrentVolumeBody.php +++ b/src/Admin/Message/SetCurrentVolumeBody.php @@ -33,7 +33,7 @@ class SetCurrentVolumeBody extends SoapBody #[SerializedName('SetCurrentVolumeRequest')] #[Type(SetCurrentVolumeRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetCurrentVolumeBody extends SoapBody #[SerializedName('SetCurrentVolumeResponse')] #[Type(SetCurrentVolumeResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetCurrentVolumeBody extends SoapBody * @return self */ public function __construct( - ?SetCurrentVolumeRequest $request = NULL, ?SetCurrentVolumeResponse $response = NULL + ?SetCurrentVolumeRequest $request = null, ?SetCurrentVolumeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SetCurrentVolumeEnvelope.php b/src/Admin/Message/SetCurrentVolumeEnvelope.php index da534807c..9adeabbb7 100644 --- a/src/Admin/Message/SetCurrentVolumeEnvelope.php +++ b/src/Admin/Message/SetCurrentVolumeEnvelope.php @@ -35,7 +35,7 @@ class SetCurrentVolumeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetCurrentVolumeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetCurrentVolumeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetCurrentVolumeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetCurrentVolumeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SetCurrentVolumeResponse.php b/src/Admin/Message/SetCurrentVolumeResponse.php index 3c25c9a2e..3a0efcc3c 100644 --- a/src/Admin/Message/SetCurrentVolumeResponse.php +++ b/src/Admin/Message/SetCurrentVolumeResponse.php @@ -42,7 +42,7 @@ class SetCurrentVolumeResponse extends SoapResponse * @param StoreManagerRuntimeSwitchResult $runtimeSwitchResult * @return self */ - public function __construct(?StoreManagerRuntimeSwitchResult $runtimeSwitchResult = NULL) + public function __construct(?StoreManagerRuntimeSwitchResult $runtimeSwitchResult = null) { $this->runtimeSwitchResult = $runtimeSwitchResult; } diff --git a/src/Admin/Message/SetLocalServerOnlineBody.php b/src/Admin/Message/SetLocalServerOnlineBody.php index 4aadf8b8a..349e8918a 100644 --- a/src/Admin/Message/SetLocalServerOnlineBody.php +++ b/src/Admin/Message/SetLocalServerOnlineBody.php @@ -33,7 +33,7 @@ class SetLocalServerOnlineBody extends SoapBody #[SerializedName('SetLocalServerOnlineRequest')] #[Type(SetLocalServerOnlineRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetLocalServerOnlineBody extends SoapBody #[SerializedName('SetLocalServerOnlineResponse')] #[Type(SetLocalServerOnlineResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetLocalServerOnlineBody extends SoapBody * @return self */ public function __construct( - ?SetLocalServerOnlineRequest $request = NULL, ?SetLocalServerOnlineResponse $response = NULL + ?SetLocalServerOnlineRequest $request = null, ?SetLocalServerOnlineResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SetLocalServerOnlineEnvelope.php b/src/Admin/Message/SetLocalServerOnlineEnvelope.php index 2d28eae26..442fb056b 100644 --- a/src/Admin/Message/SetLocalServerOnlineEnvelope.php +++ b/src/Admin/Message/SetLocalServerOnlineEnvelope.php @@ -35,7 +35,7 @@ class SetLocalServerOnlineEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetLocalServerOnlineBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetLocalServerOnlineEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetLocalServerOnlineBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetLocalServerOnlineBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SetPasswordBody.php b/src/Admin/Message/SetPasswordBody.php index 1020ae6db..336410570 100644 --- a/src/Admin/Message/SetPasswordBody.php +++ b/src/Admin/Message/SetPasswordBody.php @@ -33,7 +33,7 @@ class SetPasswordBody extends SoapBody #[SerializedName('SetPasswordRequest')] #[Type(SetPasswordRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetPasswordBody extends SoapBody #[SerializedName('SetPasswordResponse')] #[Type(SetPasswordResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetPasswordBody extends SoapBody * @return self */ public function __construct( - ?SetPasswordRequest $request = NULL, ?SetPasswordResponse $response = NULL + ?SetPasswordRequest $request = null, ?SetPasswordResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SetPasswordEnvelope.php b/src/Admin/Message/SetPasswordEnvelope.php index 09b16f13d..27fa794fa 100644 --- a/src/Admin/Message/SetPasswordEnvelope.php +++ b/src/Admin/Message/SetPasswordEnvelope.php @@ -35,7 +35,7 @@ class SetPasswordEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetPasswordBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetPasswordEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetPasswordBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetPasswordBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SetPasswordRequest.php b/src/Admin/Message/SetPasswordRequest.php index a8ad3fe3a..79f506a91 100644 --- a/src/Admin/Message/SetPasswordRequest.php +++ b/src/Admin/Message/SetPasswordRequest.php @@ -67,12 +67,12 @@ class SetPasswordRequest extends SoapRequest * @return self */ public function __construct( - string $id = '', string $newPassword = '', ?bool $dryRun = FALSE + string $id = '', string $newPassword = '', ?bool $dryRun = false ) { $this->setId($id) ->setNewPassword($newPassword); - if (NULL !== $dryRun) { + if (null !== $dryRun) { $this->setDryRun($dryRun); } } diff --git a/src/Admin/Message/SetPasswordResponse.php b/src/Admin/Message/SetPasswordResponse.php index b46333f2c..cef8f8e8b 100644 --- a/src/Admin/Message/SetPasswordResponse.php +++ b/src/Admin/Message/SetPasswordResponse.php @@ -42,9 +42,9 @@ class SetPasswordResponse extends SoapResponse * @param string $message * @return self */ - public function __construct(?string $message = NULL) + public function __construct(?string $message = null) { - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Message/SetServerOfflineBody.php b/src/Admin/Message/SetServerOfflineBody.php index 7e3ead89c..9a1558a6c 100644 --- a/src/Admin/Message/SetServerOfflineBody.php +++ b/src/Admin/Message/SetServerOfflineBody.php @@ -33,7 +33,7 @@ class SetServerOfflineBody extends SoapBody #[SerializedName('SetServerOfflineRequest')] #[Type(SetServerOfflineRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetServerOfflineBody extends SoapBody #[SerializedName('SetServerOfflineResponse')] #[Type(SetServerOfflineResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetServerOfflineBody extends SoapBody * @return self */ public function __construct( - ?SetServerOfflineRequest $request = NULL, ?SetServerOfflineResponse $response = NULL + ?SetServerOfflineRequest $request = null, ?SetServerOfflineResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SetServerOfflineEnvelope.php b/src/Admin/Message/SetServerOfflineEnvelope.php index e1845640f..9c50dfe22 100644 --- a/src/Admin/Message/SetServerOfflineEnvelope.php +++ b/src/Admin/Message/SetServerOfflineEnvelope.php @@ -35,7 +35,7 @@ class SetServerOfflineEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetServerOfflineBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetServerOfflineEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetServerOfflineBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetServerOfflineBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/SetServerOfflineRequest.php b/src/Admin/Message/SetServerOfflineRequest.php index 6acd093e1..a311e59ef 100644 --- a/src/Admin/Message/SetServerOfflineRequest.php +++ b/src/Admin/Message/SetServerOfflineRequest.php @@ -46,10 +46,10 @@ class SetServerOfflineRequest extends SoapRequest implements AttributeSelector * @param string $attrs * @return self */ - public function __construct(?ServerSelector $server = NULL, ?string $attrs = NULL) + public function __construct(?ServerSelector $server = null, ?string $attrs = null) { $this->server = $server; - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } } diff --git a/src/Admin/Message/SyncGalAccountBody.php b/src/Admin/Message/SyncGalAccountBody.php index 10045de56..e31e4f325 100644 --- a/src/Admin/Message/SyncGalAccountBody.php +++ b/src/Admin/Message/SyncGalAccountBody.php @@ -33,7 +33,7 @@ class SyncGalAccountBody extends SoapBody #[SerializedName('SyncGalAccountRequest')] #[Type(SyncGalAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SyncGalAccountBody extends SoapBody #[SerializedName('SyncGalAccountResponse')] #[Type(SyncGalAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SyncGalAccountBody extends SoapBody * @return self */ public function __construct( - ?SyncGalAccountRequest $request = NULL, ?SyncGalAccountResponse $response = NULL + ?SyncGalAccountRequest $request = null, ?SyncGalAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/SyncGalAccountEnvelope.php b/src/Admin/Message/SyncGalAccountEnvelope.php index fb97c011e..e3c56eca6 100644 --- a/src/Admin/Message/SyncGalAccountEnvelope.php +++ b/src/Admin/Message/SyncGalAccountEnvelope.php @@ -35,7 +35,7 @@ class SyncGalAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SyncGalAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SyncGalAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SyncGalAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SyncGalAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/UndeployZimletBody.php b/src/Admin/Message/UndeployZimletBody.php index 9ccd6cf5f..68974e24d 100644 --- a/src/Admin/Message/UndeployZimletBody.php +++ b/src/Admin/Message/UndeployZimletBody.php @@ -33,7 +33,7 @@ class UndeployZimletBody extends SoapBody #[SerializedName('UndeployZimletRequest')] #[Type(UndeployZimletRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class UndeployZimletBody extends SoapBody #[SerializedName('UndeployZimletResponse')] #[Type(UndeployZimletResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class UndeployZimletBody extends SoapBody * @return self */ public function __construct( - ?UndeployZimletRequest $request = NULL, ?UndeployZimletResponse $response = NULL + ?UndeployZimletRequest $request = null, ?UndeployZimletResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/UndeployZimletEnvelope.php b/src/Admin/Message/UndeployZimletEnvelope.php index 62a73f7d8..33a850f9d 100644 --- a/src/Admin/Message/UndeployZimletEnvelope.php +++ b/src/Admin/Message/UndeployZimletEnvelope.php @@ -35,7 +35,7 @@ class UndeployZimletEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(UndeployZimletBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class UndeployZimletEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?UndeployZimletBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?UndeployZimletBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/UndeployZimletRequest.php b/src/Admin/Message/UndeployZimletRequest.php index 51a9b6f09..85f31aa52 100644 --- a/src/Admin/Message/UndeployZimletRequest.php +++ b/src/Admin/Message/UndeployZimletRequest.php @@ -54,10 +54,10 @@ class UndeployZimletRequest extends SoapRequest * @param string $action * @return self */ - public function __construct(string $name = '', ?string $action = NULL) + public function __construct(string $name = '', ?string $action = null) { $this->setName($name); - if (NULL !== $action) { + if (null !== $action) { $this->setAction($action); } } diff --git a/src/Admin/Message/VerifyIndexBody.php b/src/Admin/Message/VerifyIndexBody.php index f617064b8..4f385c8df 100644 --- a/src/Admin/Message/VerifyIndexBody.php +++ b/src/Admin/Message/VerifyIndexBody.php @@ -33,7 +33,7 @@ class VerifyIndexBody extends SoapBody #[SerializedName('VerifyIndexRequest')] #[Type(VerifyIndexRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class VerifyIndexBody extends SoapBody #[SerializedName('VerifyIndexResponse')] #[Type(VerifyIndexResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class VerifyIndexBody extends SoapBody * @return self */ public function __construct( - ?VerifyIndexRequest $request = NULL, ?VerifyIndexResponse $response = NULL + ?VerifyIndexRequest $request = null, ?VerifyIndexResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/VerifyIndexEnvelope.php b/src/Admin/Message/VerifyIndexEnvelope.php index f6f320a98..ad98faafa 100644 --- a/src/Admin/Message/VerifyIndexEnvelope.php +++ b/src/Admin/Message/VerifyIndexEnvelope.php @@ -35,7 +35,7 @@ class VerifyIndexEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(VerifyIndexBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class VerifyIndexEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?VerifyIndexBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?VerifyIndexBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/VerifyIndexRequest.php b/src/Admin/Message/VerifyIndexRequest.php index 2f75002d9..fe364b605 100644 --- a/src/Admin/Message/VerifyIndexRequest.php +++ b/src/Admin/Message/VerifyIndexRequest.php @@ -43,7 +43,7 @@ class VerifyIndexRequest extends SoapRequest * @param Mailbox $mbox * @return self */ - public function __construct(?Mailbox $mbox = NULL) + public function __construct(?Mailbox $mbox = null) { $this->mbox = $mbox; } diff --git a/src/Admin/Message/VerifyIndexResponse.php b/src/Admin/Message/VerifyIndexResponse.php index a13826210..ac325c1bd 100644 --- a/src/Admin/Message/VerifyIndexResponse.php +++ b/src/Admin/Message/VerifyIndexResponse.php @@ -53,7 +53,7 @@ class VerifyIndexResponse extends SoapResponse * @param string $message * @return self */ - public function __construct(bool $status = FALSE, string $message = '') + public function __construct(bool $status = false, string $message = '') { $this->setStatus($status) ->setMessage($message); diff --git a/src/Admin/Message/VerifyStoreManagerBody.php b/src/Admin/Message/VerifyStoreManagerBody.php index 71c9a972a..be0df902d 100644 --- a/src/Admin/Message/VerifyStoreManagerBody.php +++ b/src/Admin/Message/VerifyStoreManagerBody.php @@ -33,7 +33,7 @@ class VerifyStoreManagerBody extends SoapBody #[SerializedName('VerifyStoreManagerRequest')] #[Type(VerifyStoreManagerRequest::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class VerifyStoreManagerBody extends SoapBody #[SerializedName('VerifyStoreManagerResponse')] #[Type(VerifyStoreManagerResponse::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class VerifyStoreManagerBody extends SoapBody * @return self */ public function __construct( - ?VerifyStoreManagerRequest $request = NULL, ?VerifyStoreManagerResponse $response = NULL + ?VerifyStoreManagerRequest $request = null, ?VerifyStoreManagerResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Admin/Message/VerifyStoreManagerEnvelope.php b/src/Admin/Message/VerifyStoreManagerEnvelope.php index d8e339ff0..baf93d15a 100644 --- a/src/Admin/Message/VerifyStoreManagerEnvelope.php +++ b/src/Admin/Message/VerifyStoreManagerEnvelope.php @@ -35,7 +35,7 @@ class VerifyStoreManagerEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(VerifyStoreManagerBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class VerifyStoreManagerEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?VerifyStoreManagerBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?VerifyStoreManagerBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Admin/Message/VerifyStoreManagerRequest.php b/src/Admin/Message/VerifyStoreManagerRequest.php index 125718d45..cb989c466 100644 --- a/src/Admin/Message/VerifyStoreManagerRequest.php +++ b/src/Admin/Message/VerifyStoreManagerRequest.php @@ -67,18 +67,18 @@ class VerifyStoreManagerRequest extends SoapRequest * @return self */ public function __construct( - ?int $fileSize = NULL, - ?int $num = NULL, - ?bool $checkBlobs = NULL + ?int $fileSize = null, + ?int $num = null, + ?bool $checkBlobs = null ) { - if (NULL !== $fileSize) { + if (null !== $fileSize) { $this->setFileSize($fileSize); } - if (NULL !== $num) { + if (null !== $num) { $this->setNum($num); } - if (NULL !== $checkBlobs) { + if (null !== $checkBlobs) { $this->setCheckBlobs($checkBlobs); } } diff --git a/src/Admin/Message/VerifyStoreManagerResponse.php b/src/Admin/Message/VerifyStoreManagerResponse.php index 14483b4c8..aa32b6019 100644 --- a/src/Admin/Message/VerifyStoreManagerResponse.php +++ b/src/Admin/Message/VerifyStoreManagerResponse.php @@ -102,30 +102,30 @@ class VerifyStoreManagerResponse extends SoapResponse * @return self */ public function __construct( - ?string $storeManagerClass = NULL, - ?int $incomingTime = NULL, - ?int $stageTime = NULL, - ?int $linkTime = NULL, - ?int $fetchTime = NULL, - ?int $deleteTime = NULL + ?string $storeManagerClass = null, + ?int $incomingTime = null, + ?int $stageTime = null, + ?int $linkTime = null, + ?int $fetchTime = null, + ?int $deleteTime = null ) { - if (NULL !== $storeManagerClass) { + if (null !== $storeManagerClass) { $this->setStoreManagerClass($storeManagerClass); } - if (NULL !== $incomingTime) { + if (null !== $incomingTime) { $this->setIncomingTime($incomingTime); } - if (NULL !== $stageTime) { + if (null !== $stageTime) { $this->setStageTime($stageTime); } - if (NULL !== $linkTime) { + if (null !== $linkTime) { $this->setLinkTime($linkTime); } - if (NULL !== $fetchTime) { + if (null !== $fetchTime) { $this->setFetchTime($fetchTime); } - if (NULL !== $deleteTime) { + if (null !== $deleteTime) { $this->setDeleteTime($deleteTime); } } diff --git a/src/Admin/Struct/AccountInfo.php b/src/Admin/Struct/AccountInfo.php index 0e78d3c8a..bbfd29de4 100644 --- a/src/Admin/Struct/AccountInfo.php +++ b/src/Admin/Struct/AccountInfo.php @@ -44,11 +44,11 @@ class AccountInfo extends AdminObjectInfo * @return self */ public function __construct( - string $name = '', string $id = '', ?bool $isExternal = NULL, array $attrs = [] + string $name = '', string $id = '', ?bool $isExternal = null, array $attrs = [] ) { parent::__construct($name, $id, $attrs); - if (NULL !== $isExternal) { + if (null !== $isExternal) { $this->setIsExternal($isExternal); } } diff --git a/src/Admin/Struct/AdminCustomMetadata.php b/src/Admin/Struct/AdminCustomMetadata.php index 03b90f803..daeb05568 100644 --- a/src/Admin/Struct/AdminCustomMetadata.php +++ b/src/Admin/Struct/AdminCustomMetadata.php @@ -42,10 +42,10 @@ class AdminCustomMetadata extends AdminKeyValuePairs implements CustomMetadataIn * @param array $keyValuePairs * @return self */ - public function __construct(?string $section = NULL, array $keyValuePairs = []) + public function __construct(?string $section = null, array $keyValuePairs = []) { parent::__construct($keyValuePairs); - if (NULL !== $section) { + if (null !== $section) { $this->setSection($section); } } diff --git a/src/Admin/Struct/AdminZimletConfigInfo.php b/src/Admin/Struct/AdminZimletConfigInfo.php index f8dc09d6d..b417571fe 100644 --- a/src/Admin/Struct/AdminZimletConfigInfo.php +++ b/src/Admin/Struct/AdminZimletConfigInfo.php @@ -99,7 +99,7 @@ class AdminZimletConfigInfo implements ZimletConfigInfo #[SerializedName('global')] #[Type(AdminZimletGlobalConfigInfo::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?ZimletGlobalConfigInfo $global = NULL; + private ?ZimletGlobalConfigInfo $global = null; /** * Zimlet host configuration information @@ -110,7 +110,7 @@ class AdminZimletConfigInfo implements ZimletConfigInfo #[SerializedName('host')] #[Type(AdminZimletHostConfigInfo::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?ZimletHostConfigInfo $host = NULL; + private ?ZimletHostConfigInfo $host = null; /** * Constructor @@ -124,30 +124,30 @@ class AdminZimletConfigInfo implements ZimletConfigInfo * @return self */ public function __construct( - ?string $name = NULL, - ?string $version = NULL, - ?string $description = NULL, - ?string $extension = NULL, - ?string $target = NULL, - ?string $label = NULL + ?string $name = null, + ?string $version = null, + ?string $description = null, + ?string $extension = null, + ?string $target = null, + ?string $label = null ) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $extension) { + if (null !== $extension) { $this->setExtension($extension); } - if (NULL !== $target) { + if (null !== $target) { $this->setTarget($target); } - if (NULL !== $label) { + if (null !== $label) { $this->setLabel($label); } } diff --git a/src/Admin/Struct/AdminZimletContext.php b/src/Admin/Struct/AdminZimletContext.php index fa40ebf21..a68348d06 100644 --- a/src/Admin/Struct/AdminZimletContext.php +++ b/src/Admin/Struct/AdminZimletContext.php @@ -67,13 +67,13 @@ class AdminZimletContext implements ZimletContextInterface */ public function __construct( string $baseUrl = '', - ?ZimletPresence $presence = NULL, - ?int $priority = NULL + ?ZimletPresence $presence = null, + ?int $priority = null ) { $this->setZimletBaseUrl($baseUrl) ->setZimletPresence($presence ?? ZimletPresence::ENABLED); - if (NULL !== $priority) { + if (null !== $priority) { $this->setZimletPriority($priority); } } diff --git a/src/Admin/Struct/AdminZimletDesc.php b/src/Admin/Struct/AdminZimletDesc.php index 76775fe29..0ba73006f 100644 --- a/src/Admin/Struct/AdminZimletDesc.php +++ b/src/Admin/Struct/AdminZimletDesc.php @@ -97,7 +97,7 @@ class AdminZimletDesc implements ZimletDesc #[SerializedName('serverExtension')] #[Type(ZimletServerExtension::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?ZimletServerExtension $serverExtension = NULL; + private ?ZimletServerExtension $serverExtension = null; /** * @var AdminZimletInclude @@ -106,7 +106,7 @@ class AdminZimletDesc implements ZimletDesc #[SerializedName('include')] #[Type(AdminZimletInclude::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?AdminZimletInclude $include = NULL; + private ?AdminZimletInclude $include = null; /** * @var AdminZimletIncludeCSS @@ -115,7 +115,7 @@ class AdminZimletDesc implements ZimletDesc #[SerializedName('includeCSS')] #[Type(AdminZimletIncludeCSS::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?AdminZimletIncludeCSS $includeCSS = NULL; + private ?AdminZimletIncludeCSS $includeCSS = null; /** * @var AdminZimletTarget @@ -124,7 +124,7 @@ class AdminZimletDesc implements ZimletDesc #[SerializedName('zimletTarget')] #[Type(AdminZimletTarget::class)] #[XmlElement(namespace: 'urn:zimbraAdmin')] - private ?AdminZimletTarget $zimletTarget = NULL; + private ?AdminZimletTarget $zimletTarget = null; /** * Constructor @@ -138,30 +138,30 @@ class AdminZimletDesc implements ZimletDesc * @return self */ public function __construct( - ?string $name = NULL, - ?string $version = NULL, - ?string $description = NULL, - ?string $extension = NULL, - ?string $target = NULL, - ?string $label = NULL + ?string $name = null, + ?string $version = null, + ?string $description = null, + ?string $extension = null, + ?string $target = null, + ?string $label = null ) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $extension) { + if (null !== $extension) { $this->setExtension($extension); } - if (NULL !== $target) { + if (null !== $target) { $this->setTarget($target); } - if (NULL !== $label) { + if (null !== $label) { $this->setLabel($label); } } diff --git a/src/Admin/Struct/AdminZimletHostConfigInfo.php b/src/Admin/Struct/AdminZimletHostConfigInfo.php index 311f9cee9..c4fbea39a 100644 --- a/src/Admin/Struct/AdminZimletHostConfigInfo.php +++ b/src/Admin/Struct/AdminZimletHostConfigInfo.php @@ -53,9 +53,9 @@ class AdminZimletHostConfigInfo implements ZimletHostConfigInfo * @param array $properties * @return self */ - public function __construct(?string $name = NULL, array $properties = []) + public function __construct(?string $name = null, array $properties = []) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } $this->setZimletProperties($properties); diff --git a/src/Admin/Struct/AdminZimletInclude.php b/src/Admin/Struct/AdminZimletInclude.php index eab5ea151..6d0dd65b6 100644 --- a/src/Admin/Struct/AdminZimletInclude.php +++ b/src/Admin/Struct/AdminZimletInclude.php @@ -40,9 +40,9 @@ class AdminZimletInclude implements ZimletInclude * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/AdminZimletIncludeCSS.php b/src/Admin/Struct/AdminZimletIncludeCSS.php index 29b5c7c3c..46e32f5a0 100644 --- a/src/Admin/Struct/AdminZimletIncludeCSS.php +++ b/src/Admin/Struct/AdminZimletIncludeCSS.php @@ -40,9 +40,9 @@ class AdminZimletIncludeCSS implements ZimletIncludeCSS * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/AdminZimletInfo.php b/src/Admin/Struct/AdminZimletInfo.php index 9f707b1bb..b3df748a6 100644 --- a/src/Admin/Struct/AdminZimletInfo.php +++ b/src/Admin/Struct/AdminZimletInfo.php @@ -66,9 +66,9 @@ class AdminZimletInfo implements ZimletInterface * @return self */ public function __construct( - ?AdminZimletContext $zimletContext = NULL, - ?AdminZimletDesc $zimlet = NULL, - ?AdminZimletConfigInfo $zimletConfig = NULL + ?AdminZimletContext $zimletContext = null, + ?AdminZimletDesc $zimlet = null, + ?AdminZimletConfigInfo $zimletConfig = null ) { $this->zimletContext = $zimletContext; diff --git a/src/Admin/Struct/AdminZimletProperty.php b/src/Admin/Struct/AdminZimletProperty.php index 548fb6a77..ae272cc0c 100644 --- a/src/Admin/Struct/AdminZimletProperty.php +++ b/src/Admin/Struct/AdminZimletProperty.php @@ -52,12 +52,12 @@ class AdminZimletProperty implements ZimletProperty * @param string $value * @return self */ - public function __construct(?string $name = NULL, ?string $value = NULL) + public function __construct(?string $name = null, ?string $value = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/AdminZimletTarget.php b/src/Admin/Struct/AdminZimletTarget.php index 98a65491b..fa858cc3b 100644 --- a/src/Admin/Struct/AdminZimletTarget.php +++ b/src/Admin/Struct/AdminZimletTarget.php @@ -40,9 +40,9 @@ class AdminZimletTarget implements ZimletTarget * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/AliasInfo.php b/src/Admin/Struct/AliasInfo.php index 92e2d8d50..a2453e3c1 100644 --- a/src/Admin/Struct/AliasInfo.php +++ b/src/Admin/Struct/AliasInfo.php @@ -59,7 +59,7 @@ public function __construct( string $name = '', string $id = '', string $targetName = '', - ?TargetType $targetType = NULL, + ?TargetType $targetType = null, array $attrs = [] ) { diff --git a/src/Admin/Struct/AlwaysOnClusterSelector.php b/src/Admin/Struct/AlwaysOnClusterSelector.php index 139143ed2..1b4b5349a 100644 --- a/src/Admin/Struct/AlwaysOnClusterSelector.php +++ b/src/Admin/Struct/AlwaysOnClusterSelector.php @@ -52,11 +52,11 @@ class AlwaysOnClusterSelector * @return self */ public function __construct( - ?AlwaysOnClusterBy $by = NULL, ?string $value = NULL + ?AlwaysOnClusterBy $by = null, ?string $value = null ) { $this->setBy($by ?? AlwaysOnClusterBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/AttachmentIdAttrib.php b/src/Admin/Struct/AttachmentIdAttrib.php index f98376ee9..df5e8579d 100644 --- a/src/Admin/Struct/AttachmentIdAttrib.php +++ b/src/Admin/Struct/AttachmentIdAttrib.php @@ -40,9 +40,9 @@ class AttachmentIdAttrib * @param string $aid * @return self */ - public function __construct(?string $aid = NULL) + public function __construct(?string $aid = null) { - if (NULL !== $aid) { + if (null !== $aid) { $this->setAttachmentId($aid); } } diff --git a/src/Admin/Struct/BaseExternalVolume.php b/src/Admin/Struct/BaseExternalVolume.php index c380300e4..c7d5be273 100644 --- a/src/Admin/Struct/BaseExternalVolume.php +++ b/src/Admin/Struct/BaseExternalVolume.php @@ -41,10 +41,10 @@ abstract class BaseExternalVolume * @return self */ public function __construct( - ?string $storageType = NULL + ?string $storageType = null ) { - if (NULL !== $storageType) { + if (null !== $storageType) { $this->setStorageType($storageType); } } diff --git a/src/Admin/Struct/BlobRevisionInfo.php b/src/Admin/Struct/BlobRevisionInfo.php index 9751bfe89..a119a07b0 100644 --- a/src/Admin/Struct/BlobRevisionInfo.php +++ b/src/Admin/Struct/BlobRevisionInfo.php @@ -80,7 +80,7 @@ public function __construct( string $path = '', int $fileSize = 0, int $revision = 0, - bool $external = FALSE + bool $external = false ) { $this->setPath($path) diff --git a/src/Admin/Struct/BlobSizeInfo.php b/src/Admin/Struct/BlobSizeInfo.php index b925b6798..eac86cbf5 100644 --- a/src/Admin/Struct/BlobSizeInfo.php +++ b/src/Admin/Struct/BlobSizeInfo.php @@ -80,7 +80,7 @@ public function __construct( string $path = '', int $size = 0, int $fileSize = 0, - bool $external = FALSE + bool $external = false ) { $this->setPath($path) diff --git a/src/Admin/Struct/CacheEntrySelector.php b/src/Admin/Struct/CacheEntrySelector.php index fbfc49963..94d19674c 100644 --- a/src/Admin/Struct/CacheEntrySelector.php +++ b/src/Admin/Struct/CacheEntrySelector.php @@ -51,10 +51,10 @@ class CacheEntrySelector * @param string $value * @return self */ - public function __construct(?CacheEntryBy $by = NULL, ?string $value = NULL) + public function __construct(?CacheEntryBy $by = null, ?string $value = null) { $this->setBy($by ?? CacheEntryBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/CacheSelector.php b/src/Admin/Struct/CacheSelector.php index 811861170..1bd5d33ed 100644 --- a/src/Admin/Struct/CacheSelector.php +++ b/src/Admin/Struct/CacheSelector.php @@ -81,14 +81,14 @@ class CacheSelector * @return self */ public function __construct( - string $types = '', ?bool $allServers = NULL, ?bool $imapServers = NULL, array $entries = [] + string $types = '', ?bool $allServers = null, ?bool $imapServers = null, array $entries = [] ) { $this->setTypes($types); - if (NULL !== $allServers) { + if (null !== $allServers) { $this->setAllServers($allServers); } - if (NULL !== $imapServers) { + if (null !== $imapServers) { $this->setIncludeImapServers($imapServers); } $this->setEntries($entries); diff --git a/src/Admin/Struct/CalTZInfo.php b/src/Admin/Struct/CalTZInfo.php index 59932183c..64dc45b1f 100644 --- a/src/Admin/Struct/CalTZInfo.php +++ b/src/Admin/Struct/CalTZInfo.php @@ -119,10 +119,10 @@ public function __construct( string $id = '', int $stdoff = 0, int $dayoff = 0, - ?TzOnsetInfo $standard = NULL, - ?TzOnsetInfo $daylight = NULL, - ?string $stdname = NULL, - ?string $dayname = NULL + ?TzOnsetInfo $standard = null, + ?TzOnsetInfo $daylight = null, + ?string $stdname = null, + ?string $dayname = null ) { $this->setId($id) @@ -130,10 +130,10 @@ public function __construct( ->setTzDayOffset($dayoff); $this->standardTzOnset = $standard; $this->daylightTzOnset = $daylight; - if (NULL !== $stdname) { + if (null !== $stdname) { $this->setStandardTZName($stdname); } - if (NULL !== $dayname) { + if (null !== $dayname) { $this->setDaylightTZName($dayname); } } diff --git a/src/Admin/Struct/CalendarResourceSelector.php b/src/Admin/Struct/CalendarResourceSelector.php index d125049cb..8ec13b070 100644 --- a/src/Admin/Struct/CalendarResourceSelector.php +++ b/src/Admin/Struct/CalendarResourceSelector.php @@ -52,11 +52,11 @@ class CalendarResourceSelector * @return self */ public function __construct( - ?CalendarResourceBy $by = NULL, ?string $value = NULL + ?CalendarResourceBy $by = null, ?string $value = null ) { $this->setBy($by ?? CalendarResourceBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/CheckDirSelector.php b/src/Admin/Struct/CheckDirSelector.php index d3aeea4cb..ce95ce1e9 100644 --- a/src/Admin/Struct/CheckDirSelector.php +++ b/src/Admin/Struct/CheckDirSelector.php @@ -52,10 +52,10 @@ class CheckDirSelector * @param bool $create * @return self */ - public function __construct(string $path = '', ?bool $create = NULL) + public function __construct(string $path = '', ?bool $create = null) { $this->setPath($path); - if (NULL !== $create) { + if (null !== $create) { $this->setCreate($create); } } diff --git a/src/Admin/Struct/CheckedRight.php b/src/Admin/Struct/CheckedRight.php index 014baba21..96e6da84b 100644 --- a/src/Admin/Struct/CheckedRight.php +++ b/src/Admin/Struct/CheckedRight.php @@ -39,9 +39,9 @@ class CheckedRight * @param string $value * @return self */ - public function __construct(?string $value = NULL) + public function __construct(?string $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/CmdRightsInfo.php b/src/Admin/Struct/CmdRightsInfo.php index 7b0c11b65..1e045d938 100644 --- a/src/Admin/Struct/CmdRightsInfo.php +++ b/src/Admin/Struct/CmdRightsInfo.php @@ -68,10 +68,10 @@ class CmdRightsInfo * @return self */ public function __construct( - ?string $name = NULL, array $rights = [], array $notes = [] + ?string $name = null, array $rights = [], array $notes = [] ) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } $this->setRights($rights) diff --git a/src/Admin/Struct/ComboRightInfo.php b/src/Admin/Struct/ComboRightInfo.php index aeacd8b8b..996ebd05c 100644 --- a/src/Admin/Struct/ComboRightInfo.php +++ b/src/Admin/Struct/ComboRightInfo.php @@ -65,12 +65,12 @@ class ComboRightInfo * @return self */ public function __construct( - string $name = '', ?RightType $type = NULL, ?string $targetType = NULL + string $name = '', ?RightType $type = null, ?string $targetType = null ) { $this->setName($name) ->setType($type ?? RightType::PRESET); - if (NULL !== $targetType) { + if (null !== $targetType) { $this->setTargetType($targetType); } } diff --git a/src/Admin/Struct/ConstraintInfo.php b/src/Admin/Struct/ConstraintInfo.php index 654b5ebf0..332e4fe5c 100644 --- a/src/Admin/Struct/ConstraintInfo.php +++ b/src/Admin/Struct/ConstraintInfo.php @@ -65,12 +65,12 @@ class ConstraintInfo * @param array $values * @return self */ - public function __construct(?string $min = NULL, ?string $max = NULL, array $values = []) + public function __construct(?string $min = null, ?string $max = null, array $values = []) { - if (NULL !== $min) { + if (null !== $min) { $this->setMin($min); } - if (NULL !== $max) { + if (null !== $max) { $this->setMax($max); } $this->setValues($values); diff --git a/src/Admin/Struct/ContactBackupServer.php b/src/Admin/Struct/ContactBackupServer.php index 81521487b..1979dde1b 100644 --- a/src/Admin/Struct/ContactBackupServer.php +++ b/src/Admin/Struct/ContactBackupServer.php @@ -52,7 +52,7 @@ class ContactBackupServer * @param ContactBackupStatus $status * @return self */ - public function __construct(string $name = '', ?ContactBackupStatus $status = NULL) + public function __construct(string $name = '', ?ContactBackupStatus $status = null) { $this->setName($name) ->setStatus($status ?? ContactBackupStatus::STOPPED); diff --git a/src/Admin/Struct/ContactGroupMember.php b/src/Admin/Struct/ContactGroupMember.php index ea7d2c2af..12afaf395 100644 --- a/src/Admin/Struct/ContactGroupMember.php +++ b/src/Admin/Struct/ContactGroupMember.php @@ -65,7 +65,7 @@ class ContactGroupMember * @return self */ public function __construct( - string $type = '', string $value = '', ?ContactInfo $contact = NULL + string $type = '', string $value = '', ?ContactInfo $contact = null ) { $this->setType($type) diff --git a/src/Admin/Struct/ContactInfo.php b/src/Admin/Struct/ContactInfo.php index 48c85b639..9cd69b1c3 100644 --- a/src/Admin/Struct/ContactInfo.php +++ b/src/Admin/Struct/ContactInfo.php @@ -291,94 +291,94 @@ class ContactInfo * @return self */ public function __construct( - ?string $sortField = NULL, - ?bool $canExpand = NULL, - ?string $id = NULL, - ?string $folder = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequenceId = NULL, - ?int $date = NULL, - ?int $revisionId = NULL, - ?string $fileAs = NULL, - ?string $email = NULL, - ?string $email2 = NULL, - ?string $email3 = NULL, - ?string $type = NULL, - ?string $dlist = NULL, - ?string $reference = NULL, - ?bool $tooManyMembers = NULL, - ?array $metadatas = NULL, - ?array $attrs = NULL, - ?array $contactGroupMembers = NULL + ?string $sortField = null, + ?bool $canExpand = null, + ?string $id = null, + ?string $folder = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $changeDate = null, + ?int $modifiedSequenceId = null, + ?int $date = null, + ?int $revisionId = null, + ?string $fileAs = null, + ?string $email = null, + ?string $email2 = null, + ?string $email3 = null, + ?string $type = null, + ?string $dlist = null, + ?string $reference = null, + ?bool $tooManyMembers = null, + ?array $metadatas = null, + ?array $attrs = null, + ?array $contactGroupMembers = null ) { - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $canExpand) { + if (null !== $canExpand) { $this->setCanExpand($canExpand); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequenceId) { + if (null !== $modifiedSequenceId) { $this->setModifiedSequenceId($modifiedSequenceId); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $revisionId) { + if (null !== $revisionId) { $this->setRevisionId($revisionId); } - if (NULL !== $fileAs) { + if (null !== $fileAs) { $this->setFileAs($fileAs); } - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } - if (NULL !== $email2) { + if (null !== $email2) { $this->setEmail2($email2); } - if (NULL !== $email3) { + if (null !== $email3) { $this->setEmail3($email3); } - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $dlist) { + if (null !== $dlist) { $this->setDlist($dlist); } - if (NULL !== $reference) { + if (null !== $reference) { $this->setReference($reference); } - if (NULL !== $tooManyMembers) { + if (null !== $tooManyMembers) { $this->setTooManyMembers($tooManyMembers); } - if (NULL !== $metadatas) { + if (null !== $metadatas) { $this->setMetadatas($metadatas); } - if (NULL !== $attrs) { + if (null !== $attrs) { $this->setAttrs($attrs); } - if (NULL !== $contactGroupMembers) { + if (null !== $contactGroupMembers) { $this->setContactGroupMembers($contactGroupMembers); } } diff --git a/src/Admin/Struct/CosCountInfo.php b/src/Admin/Struct/CosCountInfo.php index 8b2d50f43..75b84d599 100644 --- a/src/Admin/Struct/CosCountInfo.php +++ b/src/Admin/Struct/CosCountInfo.php @@ -47,7 +47,7 @@ class CosCountInfo /** * Account count. - * Note, it doesn't include any account with zimbraIsSystemResource=TRUE, + * Note, it doesn't include any account with zimbraIsSystemResource=true, * nor does it include any calendar resources. * * @var int @@ -66,12 +66,12 @@ class CosCountInfo * @return self */ public function __construct( - string $name = '', string $id = '', ?int $value = NULL + string $name = '', string $id = '', ?int $value = null ) { $this->setName($name) ->setId($id); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/CosInfo.php b/src/Admin/Struct/CosInfo.php index b71462264..2fea80039 100644 --- a/src/Admin/Struct/CosInfo.php +++ b/src/Admin/Struct/CosInfo.php @@ -76,13 +76,13 @@ class CosInfo implements AdminObjectInterface * @return self */ public function __construct( - string $name = '', string $id = '', ?bool $isDefaultCos = NULL, array $attrs = [] + string $name = '', string $id = '', ?bool $isDefaultCos = null, array $attrs = [] ) { $this->setName($name) ->setId($id) ->setAttrList($attrs); - if (NULL !== $isDefaultCos) { + if (null !== $isDefaultCos) { $this->setIsDefaultCos($isDefaultCos); } } diff --git a/src/Admin/Struct/CosInfoAttr.php b/src/Admin/Struct/CosInfoAttr.php index a27916589..229e569a7 100644 --- a/src/Admin/Struct/CosInfoAttr.php +++ b/src/Admin/Struct/CosInfoAttr.php @@ -55,14 +55,14 @@ class CosInfoAttr extends Attr * @return self */ public function __construct( - string $key = '', ?string $value = NULL, ?bool $cosAttr = NULL, ?bool $permDenied = NULL + string $key = '', ?string $value = null, ?bool $cosAttr = null, ?bool $permDenied = null ) { parent::__construct($key, $value); - if (NULL !== $cosAttr) { + if (null !== $cosAttr) { $this->setCosAttr($cosAttr); } - if (NULL !== $permDenied) { + if (null !== $permDenied) { $this->setPermDenied($permDenied); } } diff --git a/src/Admin/Struct/CosSelector.php b/src/Admin/Struct/CosSelector.php index 2c9fea1c0..4cef27b30 100644 --- a/src/Admin/Struct/CosSelector.php +++ b/src/Admin/Struct/CosSelector.php @@ -51,10 +51,10 @@ class CosSelector * @param string $value * @return self */ - public function __construct(?CosBy $by = NULL, ?string $value = NULL) + public function __construct(?CosBy $by = null, ?string $value = null) { $this->setBy($by ?? CosBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/DLInfo.php b/src/Admin/Struct/DLInfo.php index 655109eac..92ecbd0a3 100644 --- a/src/Admin/Struct/DLInfo.php +++ b/src/Admin/Struct/DLInfo.php @@ -58,12 +58,12 @@ class DLInfo extends AdminObjectInfo * @return self */ public function __construct( - string $via = '', string $name = '', string $id = '', ?bool $dynamic = NULL, array $attrs = [] + string $via = '', string $name = '', string $id = '', ?bool $dynamic = null, array $attrs = [] ) { parent::__construct($name, $id, $attrs); $this->setVia($via); - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } } diff --git a/src/Admin/Struct/DataSourceInfo.php b/src/Admin/Struct/DataSourceInfo.php index 7847acd92..67880309e 100644 --- a/src/Admin/Struct/DataSourceInfo.php +++ b/src/Admin/Struct/DataSourceInfo.php @@ -66,7 +66,7 @@ class DataSourceInfo extends AdminAttrsImpl * @return self */ public function __construct( - string $name = '', string $id = '', ?DataSourceType $type = NULL, array $attrs = [] + string $name = '', string $id = '', ?DataSourceType $type = null, array $attrs = [] ) { parent::__construct($attrs); diff --git a/src/Admin/Struct/DataSourceSpecifier.php b/src/Admin/Struct/DataSourceSpecifier.php index 8f813e36d..9835052c0 100644 --- a/src/Admin/Struct/DataSourceSpecifier.php +++ b/src/Admin/Struct/DataSourceSpecifier.php @@ -54,7 +54,7 @@ class DataSourceSpecifier extends AdminAttrsImpl * @return self */ public function __construct( - ?DataSourceType $type = NULL, string $name = '', array $attrs = [] + ?DataSourceType $type = null, string $name = '', array $attrs = [] ) { parent::__construct($attrs); diff --git a/src/Admin/Struct/DirPathInfo.php b/src/Admin/Struct/DirPathInfo.php index 24d557f0c..dba497e80 100644 --- a/src/Admin/Struct/DirPathInfo.php +++ b/src/Admin/Struct/DirPathInfo.php @@ -90,10 +90,10 @@ class DirPathInfo */ public function __construct( string $path = '', - bool $exists = FALSE, - bool $directory = FALSE, - bool $readable = FALSE, - bool $writable = FALSE + bool $exists = false, + bool $directory = false, + bool $readable = false, + bool $writable = false ) { $this->setPath($path) diff --git a/src/Admin/Struct/DistributionListInfo.php b/src/Admin/Struct/DistributionListInfo.php index 7e8d5e276..d2de42763 100644 --- a/src/Admin/Struct/DistributionListInfo.php +++ b/src/Admin/Struct/DistributionListInfo.php @@ -73,13 +73,13 @@ public function __construct( array $members = [], array $attrs = [], array $owners = [], - ?bool $dynamic = NULL + ?bool $dynamic = null ) { parent::__construct($name, $id, $attrs); $this->setMembers($members) ->setOwners($owners); - if (NULL !== $dynamic) { + if (null !== $dynamic) { $this->setDynamic($dynamic); } } diff --git a/src/Admin/Struct/DistributionListMembershipInfo.php b/src/Admin/Struct/DistributionListMembershipInfo.php index 6e82b880d..87a6f3456 100644 --- a/src/Admin/Struct/DistributionListMembershipInfo.php +++ b/src/Admin/Struct/DistributionListMembershipInfo.php @@ -66,12 +66,12 @@ class DistributionListMembershipInfo * @return self */ public function __construct( - string $id = '', string $name = '', ?string $via = NULL + string $id = '', string $name = '', ?string $via = null ) { $this->setId($id) ->setName($name); - if (NULL !== $via) { + if (null !== $via) { $this->setVia($via); } } diff --git a/src/Admin/Struct/DistributionListSelector.php b/src/Admin/Struct/DistributionListSelector.php index a632579e8..16eb1ff37 100644 --- a/src/Admin/Struct/DistributionListSelector.php +++ b/src/Admin/Struct/DistributionListSelector.php @@ -51,10 +51,10 @@ class DistributionListSelector * @param string $value * @return self */ - public function __construct(?DistributionListBy $by = NULL, ?string $value = NULL) + public function __construct(?DistributionListBy $by = null, ?string $value = null) { $this->setBy($by ?? DistributionListBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/DomainAdminRight.php b/src/Admin/Struct/DomainAdminRight.php index 1493e4f08..134ba6509 100644 --- a/src/Admin/Struct/DomainAdminRight.php +++ b/src/Admin/Struct/DomainAdminRight.php @@ -79,7 +79,7 @@ class DomainAdminRight */ public function __construct( string $name = '', - ?RightType $type = NULL, + ?RightType $type = null, string $desc = '', array $rights = [] ) diff --git a/src/Admin/Struct/DomainSelector.php b/src/Admin/Struct/DomainSelector.php index 31f3e170a..f236673a5 100644 --- a/src/Admin/Struct/DomainSelector.php +++ b/src/Admin/Struct/DomainSelector.php @@ -51,10 +51,10 @@ class DomainSelector * @param string $value * @return self */ - public function __construct(?DomainBy $by = NULL, ?string $value = NULL) + public function __construct(?DomainBy $by = null, ?string $value = null) { $this->setBy($by ?? DomainBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/EffectiveAttrInfo.php b/src/Admin/Struct/EffectiveAttrInfo.php index 030024aa0..098c33b62 100644 --- a/src/Admin/Struct/EffectiveAttrInfo.php +++ b/src/Admin/Struct/EffectiveAttrInfo.php @@ -66,7 +66,7 @@ class EffectiveAttrInfo * @return self */ public function __construct( - string $name = '', ?ConstraintInfo $constraint = NULL, array $values = [] + string $name = '', ?ConstraintInfo $constraint = null, array $values = [] ) { $this->setName($name) diff --git a/src/Admin/Struct/EffectiveAttrsInfo.php b/src/Admin/Struct/EffectiveAttrsInfo.php index 5c491c612..9f7f94bf0 100644 --- a/src/Admin/Struct/EffectiveAttrsInfo.php +++ b/src/Admin/Struct/EffectiveAttrsInfo.php @@ -52,10 +52,10 @@ class EffectiveAttrsInfo * @param array $attrs * @return self */ - public function __construct(?bool $all = NULL, array $attrs = []) + public function __construct(?bool $all = null, array $attrs = []) { $this->setAttrs($attrs); - if (NULL !== $all) { + if (null !== $all) { $this->setAll($all); } } diff --git a/src/Admin/Struct/EffectiveRightsTarget.php b/src/Admin/Struct/EffectiveRightsTarget.php index f23310974..fdf9092f6 100644 --- a/src/Admin/Struct/EffectiveRightsTarget.php +++ b/src/Admin/Struct/EffectiveRightsTarget.php @@ -75,8 +75,8 @@ class EffectiveRightsTarget * @return self */ public function __construct( - ?TargetType $type = NULL, - ?EffectiveRightsInfo $all = NULL, + ?TargetType $type = null, + ?EffectiveRightsInfo $all = null, array $inDomainLists = [], array $entriesLists = [] ) diff --git a/src/Admin/Struct/EffectiveRightsTargetInfo.php b/src/Admin/Struct/EffectiveRightsTargetInfo.php index 79c7c69ed..88d3ce74e 100644 --- a/src/Admin/Struct/EffectiveRightsTargetInfo.php +++ b/src/Admin/Struct/EffectiveRightsTargetInfo.php @@ -70,7 +70,7 @@ class EffectiveRightsTargetInfo extends EffectiveRightsInfo public function __construct( EffectiveAttrsInfo $setAttrs, EffectiveAttrsInfo $getAttrs, - ?TargetType $type = NULL, + ?TargetType $type = null, string $id = '', string $name = '', array $rights = [] diff --git a/src/Admin/Struct/EffectiveRightsTargetSelector.php b/src/Admin/Struct/EffectiveRightsTargetSelector.php index 8e9b004b9..40447b9ad 100644 --- a/src/Admin/Struct/EffectiveRightsTargetSelector.php +++ b/src/Admin/Struct/EffectiveRightsTargetSelector.php @@ -63,12 +63,12 @@ class EffectiveRightsTargetSelector * @return self */ public function __construct( - ?TargetType $type = NULL, ?TargetBy $by = NULL, ?string $value = NULL + ?TargetType $type = null, ?TargetBy $by = null, ?string $value = null ) { $this->setType($type ?? TargetType::ACCOUNT); $this->by = $by; - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/EntrySearchFilterInfo.php b/src/Admin/Struct/EntrySearchFilterInfo.php index 12ebd8b9d..bdf29b7e9 100755 --- a/src/Admin/Struct/EntrySearchFilterInfo.php +++ b/src/Admin/Struct/EntrySearchFilterInfo.php @@ -54,9 +54,9 @@ class EntrySearchFilterInfo implements EntrySearchFilterInterface * @param SearchFilterCondition $condition * @return self */ - public function __construct(?SearchFilterCondition $condition = NULL) + public function __construct(?SearchFilterCondition $condition = null) { - $this->condition = $this->conditions = NULL; + $this->condition = $this->conditions = null; if ($condition instanceof MultiCond) { $this->setConditions($condition); } diff --git a/src/Admin/Struct/EntrySearchFilterMultiCond.php b/src/Admin/Struct/EntrySearchFilterMultiCond.php index 5d39b3113..14cea8409 100755 --- a/src/Admin/Struct/EntrySearchFilterMultiCond.php +++ b/src/Admin/Struct/EntrySearchFilterMultiCond.php @@ -77,15 +77,15 @@ class EntrySearchFilterMultiCond implements SearchFilterCondition * @return self */ public function __construct( - ?bool $not = NULL, - ?bool $or = NULL, + ?bool $not = null, + ?bool $or = null, array $conditions = [] ) { - if (NULL !== $not) { + if (null !== $not) { $this->setNot($not); } - if (NULL !== $or) { + if (null !== $or) { $this->setOr($or); } $this->setConditions($conditions); diff --git a/src/Admin/Struct/EntrySearchFilterSingleCond.php b/src/Admin/Struct/EntrySearchFilterSingleCond.php index da1834f02..403611bb2 100755 --- a/src/Admin/Struct/EntrySearchFilterSingleCond.php +++ b/src/Admin/Struct/EntrySearchFilterSingleCond.php @@ -79,15 +79,15 @@ class EntrySearchFilterSingleCond implements SearchFilterCondition */ public function __construct( string $attr = '', - ?ConditionOperator $op = NULL, + ?ConditionOperator $op = null, string $value = '', - ?bool $not = NULL + ?bool $not = null ) { $this->setAttr($attr) ->setOp($op ?? ConditionOperator::EQUAL) ->setValue($value); - if (NULL !== $not) { + if (null !== $not) { $this->setNot($not); } } diff --git a/src/Admin/Struct/ExchangeAuthSpec.php b/src/Admin/Struct/ExchangeAuthSpec.php index 2b711eb8e..07b8a6e8f 100644 --- a/src/Admin/Struct/ExchangeAuthSpec.php +++ b/src/Admin/Struct/ExchangeAuthSpec.php @@ -92,15 +92,15 @@ public function __construct( string $url = '', string $user = '', string $pass = '', - ?AuthScheme $scheme = NULL, - ?string $type = NULL + ?AuthScheme $scheme = null, + ?string $type = null ) { $this->setUrl($url) ->setAuthUserName($user) ->setAuthPassword($pass) ->setScheme($scheme ?? AuthScheme::BASIC); - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } } diff --git a/src/Admin/Struct/FreeBusyProviderInfo.php b/src/Admin/Struct/FreeBusyProviderInfo.php index 1f091764a..2b06fb7d1 100644 --- a/src/Admin/Struct/FreeBusyProviderInfo.php +++ b/src/Admin/Struct/FreeBusyProviderInfo.php @@ -102,7 +102,7 @@ class FreeBusyProviderInfo */ public function __construct( string $name = '', - bool $propagate = FALSE, + bool $propagate = false, int $start = 0, int $end = 0, string $queue = '', diff --git a/src/Admin/Struct/GranteeInfo.php b/src/Admin/Struct/GranteeInfo.php index a2dba3968..5e4dbd3ce 100644 --- a/src/Admin/Struct/GranteeInfo.php +++ b/src/Admin/Struct/GranteeInfo.php @@ -65,7 +65,7 @@ class GranteeInfo * @return self */ public function __construct( - string $id = '', string $name = '', ?GranteeType $type = NULL + string $id = '', string $name = '', ?GranteeType $type = null ) { $this->setId($id) diff --git a/src/Admin/Struct/GranteeSelector.php b/src/Admin/Struct/GranteeSelector.php index cdd24c554..45619aa29 100644 --- a/src/Admin/Struct/GranteeSelector.php +++ b/src/Admin/Struct/GranteeSelector.php @@ -88,22 +88,22 @@ class GranteeSelector * @return self */ public function __construct( - ?string $value = NULL, - ?GranteeType $type = NULL, - ?GranteeBy $by = NULL, - ?string $secret = NULL, - ?bool $all = NULL + ?string $value = null, + ?GranteeType $type = null, + ?GranteeBy $by = null, + ?string $secret = null, + ?bool $all = null ) { $this->type = $type; $this->by = $by; - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $secret) { + if (null !== $secret) { $this->setSecret($secret); } - if (NULL !== $all) { + if (null !== $all) { $this->setAll($all); } } diff --git a/src/Admin/Struct/GranteeWithType.php b/src/Admin/Struct/GranteeWithType.php index 1c2c9effd..f4948912c 100644 --- a/src/Admin/Struct/GranteeWithType.php +++ b/src/Admin/Struct/GranteeWithType.php @@ -51,10 +51,10 @@ class GranteeWithType * @param string $value * @return self */ - public function __construct(string $type = '', ?string $value = NULL) + public function __construct(string $type = '', ?string $value = null) { $this->setType($type); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/HostStats.php b/src/Admin/Struct/HostStats.php index 133c87e72..6b38a3685 100644 --- a/src/Admin/Struct/HostStats.php +++ b/src/Admin/Struct/HostStats.php @@ -52,7 +52,7 @@ class HostStats * @param StatsInfo $stats * @return self */ - public function __construct(string $hostName = '', ?StatsInfo $stats = NULL) + public function __construct(string $hostName = '', ?StatsInfo $stats = null) { $this->setHostName($hostName); $this->stats = $stats; diff --git a/src/Admin/Struct/IdStatus.php b/src/Admin/Struct/IdStatus.php index 1bc56fec2..8a509b1e4 100644 --- a/src/Admin/Struct/IdStatus.php +++ b/src/Admin/Struct/IdStatus.php @@ -52,12 +52,12 @@ class IdStatus * @param string $status * @return self */ - public function __construct(?string $id = NULL, ?string $status = NULL) + public function __construct(?string $id = null, ?string $status = null) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $status) { + if (null !== $status) { $this->setStatus($status); } } diff --git a/src/Admin/Struct/IncorrectBlobRevisionInfo.php b/src/Admin/Struct/IncorrectBlobRevisionInfo.php index fcb8b913c..75537b09d 100644 --- a/src/Admin/Struct/IncorrectBlobRevisionInfo.php +++ b/src/Admin/Struct/IncorrectBlobRevisionInfo.php @@ -93,7 +93,7 @@ public function __construct( int $revision = 0, int $size = 0, int $volumeId = 0, - ?BlobRevisionInfo $blob = NULL + ?BlobRevisionInfo $blob = null ) { $this->setId($id) diff --git a/src/Admin/Struct/IncorrectBlobSizeInfo.php b/src/Admin/Struct/IncorrectBlobSizeInfo.php index 6f57d937a..863baabc5 100644 --- a/src/Admin/Struct/IncorrectBlobSizeInfo.php +++ b/src/Admin/Struct/IncorrectBlobSizeInfo.php @@ -93,7 +93,7 @@ public function __construct( int $revision = 0, int $size = 0, int $volumeId = 0, - ?BlobSizeInfo $blob = NULL + ?BlobSizeInfo $blob = null ) { $this->setId($id) diff --git a/src/Admin/Struct/InfoForSessionType.php b/src/Admin/Struct/InfoForSessionType.php index b8d7095dd..8cbea730e 100644 --- a/src/Admin/Struct/InfoForSessionType.php +++ b/src/Admin/Struct/InfoForSessionType.php @@ -77,13 +77,13 @@ class InfoForSessionType * @return self */ public function __construct( - int $activeSessions = 0, ?int $activeAccounts = NULL, array $accounts = [], array $sessions = [] + int $activeSessions = 0, ?int $activeAccounts = null, array $accounts = [], array $sessions = [] ) { $this->setActiveSessions($activeSessions) ->setAccounts($accounts) ->setSessions($sessions); - if (NULL !== $activeAccounts) { + if (null !== $activeAccounts) { $this->setActiveAccounts($activeAccounts); } } diff --git a/src/Admin/Struct/InheritedFlaggedValue.php b/src/Admin/Struct/InheritedFlaggedValue.php index 0fdd6c4d1..e004839b8 100644 --- a/src/Admin/Struct/InheritedFlaggedValue.php +++ b/src/Admin/Struct/InheritedFlaggedValue.php @@ -53,10 +53,10 @@ class InheritedFlaggedValue * @param string $value * @return self */ - public function __construct(bool $inherited = FALSE, ?string $value = NULL) + public function __construct(bool $inherited = false, ?string $value = null) { $this->setInherited($inherited); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/IntegerValueAttrib.php b/src/Admin/Struct/IntegerValueAttrib.php index f62ee6d4b..acc2c89f9 100644 --- a/src/Admin/Struct/IntegerValueAttrib.php +++ b/src/Admin/Struct/IntegerValueAttrib.php @@ -40,9 +40,9 @@ class IntegerValueAttrib * @param int $value * @return self */ - public function __construct(?int $value = NULL) + public function __construct(?int $value = null) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/LimitedQuery.php b/src/Admin/Struct/LimitedQuery.php index ccf77bf43..ecccd5581 100644 --- a/src/Admin/Struct/LimitedQuery.php +++ b/src/Admin/Struct/LimitedQuery.php @@ -51,12 +51,12 @@ class LimitedQuery * @param string $value * @return self */ - public function __construct(?int $limit = NULL, ?string $value = NULL) + public function __construct(?int $limit = null, ?string $value = null) { - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/LocaleInfo.php b/src/Admin/Struct/LocaleInfo.php index ee5714f8d..6310241b8 100644 --- a/src/Admin/Struct/LocaleInfo.php +++ b/src/Admin/Struct/LocaleInfo.php @@ -68,12 +68,12 @@ class LocaleInfo implements LocaleInterface public function __construct( string $id = '', string $name = '', - ?string $localName = NULL + ?string $localName = null ) { $this->setId($id) ->setName($name); - if (NULL !== $localName) { + if (null !== $localName) { $this->setLocalName($localName); } } diff --git a/src/Admin/Struct/LoggerInfo.php b/src/Admin/Struct/LoggerInfo.php index 58378b48e..87a5f0b03 100644 --- a/src/Admin/Struct/LoggerInfo.php +++ b/src/Admin/Struct/LoggerInfo.php @@ -52,7 +52,7 @@ class LoggerInfo * @param LoggingLevel $level * @return self */ - public function __construct(string $category = '', ?LoggingLevel $level = NULL) + public function __construct(string $category = '', ?LoggingLevel $level = null) { $this->setCategory($category); $this->level = $level; diff --git a/src/Admin/Struct/MailQueueAction.php b/src/Admin/Struct/MailQueueAction.php index 53848f83b..01628ca8d 100644 --- a/src/Admin/Struct/MailQueueAction.php +++ b/src/Admin/Struct/MailQueueAction.php @@ -58,7 +58,7 @@ class MailQueueAction * @return self */ public function __construct( - QueueQuery $query, ?QueueAction $op = NULL, ?QueueActionBy $by = NULL + QueueQuery $query, ?QueueAction $op = null, ?QueueActionBy $by = null ) { $this->setQuery($query) diff --git a/src/Admin/Struct/MailQueueDetails.php b/src/Admin/Struct/MailQueueDetails.php index a257cb51c..83f31092f 100644 --- a/src/Admin/Struct/MailQueueDetails.php +++ b/src/Admin/Struct/MailQueueDetails.php @@ -116,9 +116,9 @@ class MailQueueDetails public function __construct( string $name = '', int $time = 0, - bool $stillScanning = FALSE, + bool $stillScanning = false, int $total = 0, - bool $more = FALSE, + bool $more = false, array $queueSummaries = [], array $queueItems = [] ) diff --git a/src/Admin/Struct/MailQueueQuery.php b/src/Admin/Struct/MailQueueQuery.php index 20769ce23..2026e4711 100644 --- a/src/Admin/Struct/MailQueueQuery.php +++ b/src/Admin/Struct/MailQueueQuery.php @@ -77,15 +77,15 @@ class MailQueueQuery * @return self */ public function __construct( - QueueQuery $query, string $name = '', ?bool $scan = NULL, ?int $wait = NULL + QueueQuery $query, string $name = '', ?bool $scan = null, ?int $wait = null ) { $this->setQuery($query) ->setQueueName($name); - if (NULL !== $scan) { + if (null !== $scan) { $this->setScan($scan); } - if (NULL !== $wait) { + if (null !== $wait) { $this->setWaitSeconds($wait); } } diff --git a/src/Admin/Struct/MailboxInfo.php b/src/Admin/Struct/MailboxInfo.php index 1e0f480d8..e5cd6b2cb 100644 --- a/src/Admin/Struct/MailboxInfo.php +++ b/src/Admin/Struct/MailboxInfo.php @@ -194,7 +194,7 @@ public function __construct( int $sizeCheckPoint = 0, int $changeCheckPoint = 0, int $trackingSync = 0, - bool $trackingImap = FALSE, + bool $trackingImap = false, int $lastBackupAt = 0, int $lastSoapAccess = 0, int $newMessages = 0 diff --git a/src/Admin/Struct/MailboxWithMailboxId.php b/src/Admin/Struct/MailboxWithMailboxId.php index aa48bb974..d446ca3c0 100644 --- a/src/Admin/Struct/MailboxWithMailboxId.php +++ b/src/Admin/Struct/MailboxWithMailboxId.php @@ -65,12 +65,12 @@ class MailboxWithMailboxId * @return self */ public function __construct( - int $mbxid = 0, string $accountId = '', ?int $size = NULL + int $mbxid = 0, string $accountId = '', ?int $size = null ) { $this->setMbxid($mbxid) ->setAccountId($accountId); - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } } diff --git a/src/Admin/Struct/MissingBlobInfo.php b/src/Admin/Struct/MissingBlobInfo.php index 8f34b143e..2779d7a14 100644 --- a/src/Admin/Struct/MissingBlobInfo.php +++ b/src/Admin/Struct/MissingBlobInfo.php @@ -118,7 +118,7 @@ public function __construct( int $size = 0, int $volumeId = 0, string $blobPath = '', - bool $external = FALSE, + bool $external = false, int $version = 0 ) { diff --git a/src/Admin/Struct/NameAndValue.php b/src/Admin/Struct/NameAndValue.php index 5bcea922e..fd190477c 100644 --- a/src/Admin/Struct/NameAndValue.php +++ b/src/Admin/Struct/NameAndValue.php @@ -52,10 +52,10 @@ class NameAndValue * @param string $value * @return self */ - public function __construct(string $name = '', ?string $value = NULL) + public function __construct(string $name = '', ?string $value = null) { $this->setName($name); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/PackageRightsInfo.php b/src/Admin/Struct/PackageRightsInfo.php index 482cf5037..6ab5b491d 100644 --- a/src/Admin/Struct/PackageRightsInfo.php +++ b/src/Admin/Struct/PackageRightsInfo.php @@ -51,9 +51,9 @@ class PackageRightsInfo * @param array $cmds * @return self */ - public function __construct(?string $name = NULL, array $cmds = []) + public function __construct(?string $name = null, array $cmds = []) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } $this->setCmds($cmds); diff --git a/src/Admin/Struct/PackageSelector.php b/src/Admin/Struct/PackageSelector.php index 77ea69948..d22ab09b3 100644 --- a/src/Admin/Struct/PackageSelector.php +++ b/src/Admin/Struct/PackageSelector.php @@ -40,9 +40,9 @@ class PackageSelector * @param string $name * @return self */ - public function __construct(?string $name = NULL) + public function __construct(?string $name = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Admin/Struct/PolicyHolder.php b/src/Admin/Struct/PolicyHolder.php index 5e5a930fb..86c7b592b 100644 --- a/src/Admin/Struct/PolicyHolder.php +++ b/src/Admin/Struct/PolicyHolder.php @@ -39,7 +39,7 @@ class PolicyHolder * @param Policy $policy * @return self */ - public function __construct(?Policy $policy = NULL) + public function __construct(?Policy $policy = null) { $this->policy = $policy; } diff --git a/src/Admin/Struct/PrincipalSelector.php b/src/Admin/Struct/PrincipalSelector.php index 63c37a419..416693830 100644 --- a/src/Admin/Struct/PrincipalSelector.php +++ b/src/Admin/Struct/PrincipalSelector.php @@ -51,10 +51,10 @@ class PrincipalSelector * @param string $value * @return self */ - public function __construct(?AutoProvPrincipalBy $by = NULL, ?string $value = NULL) + public function __construct(?AutoProvPrincipalBy $by = null, ?string $value = null) { $this->setBy($by ?? AutoProvPrincipalBy::DN); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/QueueQuery.php b/src/Admin/Struct/QueueQuery.php index 92d14335c..d0e825796 100644 --- a/src/Admin/Struct/QueueQuery.php +++ b/src/Admin/Struct/QueueQuery.php @@ -63,13 +63,13 @@ class QueueQuery * @param int $offset * @return self */ - public function __construct(array $fields = [], ?int $limit = NULL, ?int $offset = NULL) + public function __construct(array $fields = [], ?int $limit = null, ?int $offset = null) { $this->setFields($fields); - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } } diff --git a/src/Admin/Struct/ReindexMailboxInfo.php b/src/Admin/Struct/ReindexMailboxInfo.php index e5148f985..8f67b980c 100644 --- a/src/Admin/Struct/ReindexMailboxInfo.php +++ b/src/Admin/Struct/ReindexMailboxInfo.php @@ -67,14 +67,14 @@ class ReindexMailboxInfo * @return self */ public function __construct( - string $id = '', ?string $types = NULL, ?string $ids = NULL + string $id = '', ?string $types = null, ?string $ids = null ) { $this->setId($id); - if (NULL !== $types) { + if (null !== $types) { $this->setTypes($types); } - if (NULL !== $ids) { + if (null !== $ids) { $this->setIds($ids); } } diff --git a/src/Admin/Struct/RightInfo.php b/src/Admin/Struct/RightInfo.php index 967b0faed..d8eaffb54 100644 --- a/src/Admin/Struct/RightInfo.php +++ b/src/Admin/Struct/RightInfo.php @@ -113,12 +113,12 @@ class RightInfo */ public function __construct( string $name = '', - ?RightType $type = NULL, - ?RightClass $rightClass = NULL, + ?RightType $type = null, + ?RightClass $rightClass = null, string $desc = '', - ?string $targetType = NULL, - ?RightsAttrs $attrs = NULL, - ?ComboRights $rights = NULL + ?string $targetType = null, + ?RightsAttrs $attrs = null, + ?ComboRights $rights = null ) { $this->setName($name) @@ -127,7 +127,7 @@ public function __construct( ->setDesc($desc); $this->attrs = $attrs; $this->rights = $rights; - if (NULL !== $targetType) { + if (null !== $targetType) { $this->setTargetType($targetType); } } diff --git a/src/Admin/Struct/RightModifierInfo.php b/src/Admin/Struct/RightModifierInfo.php index 60a8b6307..907e523c1 100644 --- a/src/Admin/Struct/RightModifierInfo.php +++ b/src/Admin/Struct/RightModifierInfo.php @@ -88,26 +88,26 @@ class RightModifierInfo * @return self */ public function __construct( - ?string $value = NULL, - ?bool $deny = NULL, - ?bool $canDelegate = NULL, - ?bool $disinheritSubGroups = NULL, - ?bool $subDomain = NULL + ?string $value = null, + ?bool $deny = null, + ?bool $canDelegate = null, + ?bool $disinheritSubGroups = null, + ?bool $subDomain = null ) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $deny) { + if (null !== $deny) { $this->setDeny($deny); } - if (NULL !== $canDelegate) { + if (null !== $canDelegate) { $this->setCanDelegate($canDelegate); } - if (NULL !== $disinheritSubGroups) { + if (null !== $disinheritSubGroups) { $this->setDisinheritSubGroups($disinheritSubGroups); } - if (NULL !== $subDomain) { + if (null !== $subDomain) { $this->setSubDomain($subDomain); } } diff --git a/src/Admin/Struct/RightWithName.php b/src/Admin/Struct/RightWithName.php index f92166de7..7e7995942 100644 --- a/src/Admin/Struct/RightWithName.php +++ b/src/Admin/Struct/RightWithName.php @@ -40,9 +40,9 @@ class RightWithName * @param string $name * @return self */ - public function __construct(?string $name = NULL) + public function __construct(?string $name = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Admin/Struct/RightsAttrs.php b/src/Admin/Struct/RightsAttrs.php index 179782908..ea1d7d397 100644 --- a/src/Admin/Struct/RightsAttrs.php +++ b/src/Admin/Struct/RightsAttrs.php @@ -43,9 +43,9 @@ class RightsAttrs * @param array $attrs * @return self */ - public function __construct(?bool $all = NULL, array $attrs = []) + public function __construct(?bool $all = null, array $attrs = []) { - if (NULL !== $all) { + if (null !== $all) { $this->setAll($all); } $this->setAttrs($attrs); diff --git a/src/Admin/Struct/ServerSelector.php b/src/Admin/Struct/ServerSelector.php index 666a8a008..dc8760fc8 100644 --- a/src/Admin/Struct/ServerSelector.php +++ b/src/Admin/Struct/ServerSelector.php @@ -51,10 +51,10 @@ class ServerSelector * @param string $value * @return self */ - public function __construct(?ServerBy $by = NULL, ?string $value = NULL) + public function __construct(?ServerBy $by = null, ?string $value = null) { $this->setBy($by ?? ServerBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/ServiceStatus.php b/src/Admin/Struct/ServiceStatus.php index b1679f0a8..a88f0d20d 100644 --- a/src/Admin/Struct/ServiceStatus.php +++ b/src/Admin/Struct/ServiceStatus.php @@ -76,7 +76,7 @@ class ServiceStatus * @return self */ public function __construct( - string $server = '', string $service = '', int $time = 0, ?ZeroOrOne $status = NULL + string $server = '', string $service = '', int $time = 0, ?ZeroOrOne $status = null ) { $this->setServer($server) diff --git a/src/Admin/Struct/SessionForWaitSet.php b/src/Admin/Struct/SessionForWaitSet.php index 3bfc46ed2..f4aa8a4c9 100644 --- a/src/Admin/Struct/SessionForWaitSet.php +++ b/src/Admin/Struct/SessionForWaitSet.php @@ -114,25 +114,25 @@ class SessionForWaitSet public function __construct( string $account = '', string $interests = '', - ?string $token = NULL, - ?int $mboxSyncToken = NULL, - ?int $mboxSyncTokenDiff = NULL, - ?string $acctIdError = NULL, - ?WaitSetSessionInfo $waitSetSession = NULL + ?string $token = null, + ?int $mboxSyncToken = null, + ?int $mboxSyncTokenDiff = null, + ?string $acctIdError = null, + ?WaitSetSessionInfo $waitSetSession = null ) { $this->setAccount($account) ->setInterests($interests); - if (NULL !== $token) { + if (null !== $token) { $this->setToken($token); } - if (NULL !== $mboxSyncToken) { + if (null !== $mboxSyncToken) { $this->setMboxSyncToken($mboxSyncToken); } - if (NULL !== $mboxSyncTokenDiff) { + if (null !== $mboxSyncTokenDiff) { $this->setMboxSyncTokenDiff($mboxSyncTokenDiff); } - if (NULL !== $acctIdError) { + if (null !== $acctIdError) { $this->setAcctIdError($acctIdError); } $this->waitSetSession = $waitSetSession; diff --git a/src/Admin/Struct/SessionInfo.php b/src/Admin/Struct/SessionInfo.php index bbbd75131..d78444534 100644 --- a/src/Admin/Struct/SessionInfo.php +++ b/src/Admin/Struct/SessionInfo.php @@ -102,18 +102,18 @@ public function __construct( string $sessionId = '', int $createdDate = 0, int $lastAccessedDate = 0, - ?string $zimbraId = NULL, - ?string $name = NULL + ?string $zimbraId = null, + ?string $name = null ) { $this->setSessionId($sessionId) ->setCreatedDate($createdDate) ->setLastAccessedDate($lastAccessedDate); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Admin/Struct/Stat.php b/src/Admin/Struct/Stat.php index c5f1649c2..c2df6125e 100644 --- a/src/Admin/Struct/Stat.php +++ b/src/Admin/Struct/Stat.php @@ -64,16 +64,16 @@ class Stat * @return self */ public function __construct( - ?string $value = NULL, ?string $name = NULL, ?string $description = NULL + ?string $value = null, ?string $name = null, ?string $description = null ) { - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } } diff --git a/src/Admin/Struct/StatsInfo.php b/src/Admin/Struct/StatsInfo.php index e8157528e..46d0fcd69 100644 --- a/src/Admin/Struct/StatsInfo.php +++ b/src/Admin/Struct/StatsInfo.php @@ -52,7 +52,7 @@ class StatsInfo * @param StatsValues $values * @return self */ - public function __construct(string $name = '', ?StatsValues $values = NULL) + public function __construct(string $name = '', ?StatsValues $values = null) { $this->setName($name); $this->values = $values; diff --git a/src/Admin/Struct/StatsSpec.php b/src/Admin/Struct/StatsSpec.php index cb2efe4e2..a171343a4 100644 --- a/src/Admin/Struct/StatsSpec.php +++ b/src/Admin/Struct/StatsSpec.php @@ -65,14 +65,14 @@ class StatsSpec * @return self */ public function __construct( - StatsValueWrapper $values, ?string $name = NULL, ?string $limit = NULL + StatsValueWrapper $values, ?string $name = null, ?string $limit = null ) { $this->setValues($values); - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } } diff --git a/src/Admin/Struct/StoreManagerRuntimeSwitchResult.php b/src/Admin/Struct/StoreManagerRuntimeSwitchResult.php index fc21d311d..f37a1d9df 100644 --- a/src/Admin/Struct/StoreManagerRuntimeSwitchResult.php +++ b/src/Admin/Struct/StoreManagerRuntimeSwitchResult.php @@ -52,10 +52,10 @@ class StoreManagerRuntimeSwitchResult * @param string $message * @return self */ - public function __construct(?RuntimeSwitchStatus $status = NULL, ?string $message = NULL) + public function __construct(?RuntimeSwitchStatus $status = null, ?string $message = null) { $this->setStatus($status ?? RuntimeSwitchStatus::SUCCESS); - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Admin/Struct/SyncGalAccountDataSourceSpec.php b/src/Admin/Struct/SyncGalAccountDataSourceSpec.php index 02501f0f5..b78b9461e 100644 --- a/src/Admin/Struct/SyncGalAccountDataSourceSpec.php +++ b/src/Admin/Struct/SyncGalAccountDataSourceSpec.php @@ -77,20 +77,20 @@ class SyncGalAccountDataSourceSpec * @return self */ public function __construct( - ?DataSourceBy $by = NULL, - ?string $value = NULL, - ?bool $fullSync = NULL, - ?bool $reset = NULL + ?DataSourceBy $by = null, + ?string $value = null, + ?bool $fullSync = null, + ?bool $reset = null ) { $this->setBy($by ?? DataSourceBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $fullSync) { + if (null !== $fullSync) { $this->setFullSync($fullSync); } - if (NULL !== $reset) { + if (null !== $reset) { $this->setReset($reset); } } diff --git a/src/Admin/Struct/TargetWithType.php b/src/Admin/Struct/TargetWithType.php index d9b28c14d..1e8600f67 100644 --- a/src/Admin/Struct/TargetWithType.php +++ b/src/Admin/Struct/TargetWithType.php @@ -51,10 +51,10 @@ class TargetWithType * @param string $value Value matching * @return self */ - public function __construct(string $type = '', ?string $value = NULL) + public function __construct(string $type = '', ?string $value = null) { $this->setType($type); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/TzFixupRule.php b/src/Admin/Struct/TzFixupRule.php index b532b8b0d..bd29c0291 100644 --- a/src/Admin/Struct/TzFixupRule.php +++ b/src/Admin/Struct/TzFixupRule.php @@ -65,9 +65,9 @@ class TzFixupRule * @return self */ public function __construct( - ?TzFixupRuleMatch $match = NULL, - ?SimpleElement $touch = NULL, - ?TzReplaceInfo $replace = NULL + ?TzFixupRuleMatch $match = null, + ?SimpleElement $touch = null, + ?TzReplaceInfo $replace = null ) { $this->match = $match; diff --git a/src/Admin/Struct/TzFixupRuleMatch.php b/src/Admin/Struct/TzFixupRuleMatch.php index 5a8bab4e7..bc27e1997 100644 --- a/src/Admin/Struct/TzFixupRuleMatch.php +++ b/src/Admin/Struct/TzFixupRuleMatch.php @@ -90,11 +90,11 @@ class TzFixupRuleMatch * @return self */ public function __construct( - ?SimpleElement $any = NULL, - ?Id $tzid = NULL, - ?Offset $nonDst = NULL, - ?TzFixupRuleMatchRules $rules = NULL, - ?TzFixupRuleMatchDates $dates = NULL + ?SimpleElement $any = null, + ?Id $tzid = null, + ?Offset $nonDst = null, + ?TzFixupRuleMatchRules $rules = null, + ?TzFixupRuleMatchDates $dates = null ) { $this->any = $any; diff --git a/src/Admin/Struct/TzFixupRuleMatchDate.php b/src/Admin/Struct/TzFixupRuleMatchDate.php index 16a3a6f9e..c2ba89962 100644 --- a/src/Admin/Struct/TzFixupRuleMatchDate.php +++ b/src/Admin/Struct/TzFixupRuleMatchDate.php @@ -103,4 +103,4 @@ public function setMonthDay(int $mday): self $this->monthDay = $mday; return $this; } -} \ No newline at end of file +} diff --git a/src/Admin/Struct/TzReplaceInfo.php b/src/Admin/Struct/TzReplaceInfo.php index c8c5e8a48..ac10adb43 100644 --- a/src/Admin/Struct/TzReplaceInfo.php +++ b/src/Admin/Struct/TzReplaceInfo.php @@ -53,7 +53,7 @@ class TzReplaceInfo * @param CalTZInfo $calTz * @return self */ - public function __construct(?Id $wellKnownTz = NULL, ?CalTZInfo $calTz = NULL) + public function __construct(?Id $wellKnownTz = null, ?CalTZInfo $calTz = null) { $this->wellKnownTz = $wellKnownTz; $this->calTz = $calTz; diff --git a/src/Admin/Struct/UcServiceSelector.php b/src/Admin/Struct/UcServiceSelector.php index 18467466b..0551d3964 100644 --- a/src/Admin/Struct/UcServiceSelector.php +++ b/src/Admin/Struct/UcServiceSelector.php @@ -51,10 +51,10 @@ class UcServiceSelector * @param string $value * @return self */ - public function __construct(?UcServiceBy $by = NULL, ?string $value = NULL) + public function __construct(?UcServiceBy $by = null, ?string $value = null) { $this->setBy($by ?? UcServiceBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/UnexpectedBlobInfo.php b/src/Admin/Struct/UnexpectedBlobInfo.php index 2dfa17f98..ae8421526 100644 --- a/src/Admin/Struct/UnexpectedBlobInfo.php +++ b/src/Admin/Struct/UnexpectedBlobInfo.php @@ -80,7 +80,7 @@ public function __construct( int $volumeId = 0, string $path = '', int $fileSize = 0, - bool $external = FALSE + bool $external = false ) { $this->setVolumeId($volumeId) diff --git a/src/Admin/Struct/UsedBlobInfo.php b/src/Admin/Struct/UsedBlobInfo.php index a440c15d9..4501143ee 100644 --- a/src/Admin/Struct/UsedBlobInfo.php +++ b/src/Admin/Struct/UsedBlobInfo.php @@ -93,7 +93,7 @@ public function __construct( int $revision = 0, int $size = 0, int $volumeId = 0, - ?BlobSizeInfo $blob = NULL + ?BlobSizeInfo $blob = null ) { $this->setId($id) diff --git a/src/Admin/Struct/VersionInfo.php b/src/Admin/Struct/VersionInfo.php index e36206425..0adf0128a 100644 --- a/src/Admin/Struct/VersionInfo.php +++ b/src/Admin/Struct/VersionInfo.php @@ -137,42 +137,42 @@ class VersionInfo * @return self */ public function __construct( - ?string $type = NULL, - ?string $version = NULL, - ?string $release = NULL, - ?string $buildDate = NULL, - ?string $host = NULL, - ?string $majorVersion = NULL, - ?string $minorVersion = NULL, - ?string $microVersion = NULL, - ?string $platform = NULL + ?string $type = null, + ?string $version = null, + ?string $release = null, + ?string $buildDate = null, + ?string $host = null, + ?string $majorVersion = null, + ?string $minorVersion = null, + ?string $microVersion = null, + ?string $platform = null ) { - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $release) { + if (null !== $release) { $this->setRelease($release); } - if (NULL !== $buildDate) { + if (null !== $buildDate) { $this->setBuildDate($buildDate); } - if (NULL !== $host) { + if (null !== $host) { $this->setHost($host); } - if (NULL !== $majorVersion) { + if (null !== $majorVersion) { $this->setMajorVersion($majorVersion); } - if (NULL !== $minorVersion) { + if (null !== $minorVersion) { $this->setMinorVersion($minorVersion); } - if (NULL !== $microVersion) { + if (null !== $microVersion) { $this->setMicroVersion($microVersion); } - if (NULL !== $platform) { + if (null !== $platform) { $this->setPlatform($platform); } diff --git a/src/Admin/Struct/VolumeExternalInfo.php b/src/Admin/Struct/VolumeExternalInfo.php index 0b0372619..49c681923 100644 --- a/src/Admin/Struct/VolumeExternalInfo.php +++ b/src/Admin/Struct/VolumeExternalInfo.php @@ -90,28 +90,28 @@ class VolumeExternalInfo extends BaseExternalVolume * @return self */ public function __construct( - ?string $storageType = NULL, - ?string $volumePrefix = NULL, - ?string $globalBucketConfigId = NULL, - ?bool $useInFrequentAccess = NULL, - ?int $useInFrequentAccessThreshold = NULL, - ?bool $useIntelligentTiering = NULL + ?string $storageType = null, + ?string $volumePrefix = null, + ?string $globalBucketConfigId = null, + ?bool $useInFrequentAccess = null, + ?int $useInFrequentAccessThreshold = null, + ?bool $useIntelligentTiering = null ) { parent::__construct($storageType); - if (NULL !== $volumePrefix) { + if (null !== $volumePrefix) { $this->setVolumePrefix($volumePrefix); } - if (NULL !== $globalBucketConfigId) { + if (null !== $globalBucketConfigId) { $this->setGlobalBucketConfigurationId($globalBucketConfigId); } - if (NULL !== $useInFrequentAccess) { + if (null !== $useInFrequentAccess) { $this->setUseInFrequentAccess($useInFrequentAccess); } - if (NULL !== $useInFrequentAccessThreshold) { + if (null !== $useInFrequentAccessThreshold) { $this->setUseInFrequentAccessThreshold($useInFrequentAccessThreshold); } - if (NULL !== $useIntelligentTiering) { + if (null !== $useIntelligentTiering) { $this->setUseIntelligentTiering($useIntelligentTiering); } } diff --git a/src/Admin/Struct/VolumeExternalOpenIOInfo.php b/src/Admin/Struct/VolumeExternalOpenIOInfo.php index 35f3a894a..089f4468a 100644 --- a/src/Admin/Struct/VolumeExternalOpenIOInfo.php +++ b/src/Admin/Struct/VolumeExternalOpenIOInfo.php @@ -90,28 +90,28 @@ class VolumeExternalOpenIOInfo extends BaseExternalVolume * @return self */ public function __construct( - ?string $storageType = NULL, - ?string $url = NULL, - ?string $account = NULL, - ?string $nameSpace = NULL, - ?int $proxyPort = NULL, - ?int $accountPort = NULL + ?string $storageType = null, + ?string $url = null, + ?string $account = null, + ?string $nameSpace = null, + ?int $proxyPort = null, + ?int $accountPort = null ) { parent::__construct($storageType); - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $account) { + if (null !== $account) { $this->setAccount($account); } - if (NULL !== $nameSpace) { + if (null !== $nameSpace) { $this->setNameSpace($nameSpace); } - if (NULL !== $proxyPort) { + if (null !== $proxyPort) { $this->setProxyPort($proxyPort); } - if (NULL !== $accountPort) { + if (null !== $accountPort) { $this->setAccountPort($accountPort); } } diff --git a/src/Admin/Struct/VolumeInfo.php b/src/Admin/Struct/VolumeInfo.php index 13cfcf37b..09d6837e4 100644 --- a/src/Admin/Struct/VolumeInfo.php +++ b/src/Admin/Struct/VolumeInfo.php @@ -223,64 +223,64 @@ class VolumeInfo * @return self */ public function __construct( - ?int $id = NULL, - ?string $name = NULL, - ?string $rootPath = NULL, - ?int $type = NULL, - ?bool $compressBlobs = NULL, - ?int $compressionThreshold = NULL, - ?int $mgbits = NULL, - ?int $mbits = NULL, - ?int $fgbits = NULL, - ?int $fbits = NULL, - ?bool $isCurrent = NULL, - ?bool $current = NULL, - ?int $storeType = NULL, - ?string $storeManagerClass = NULL, - ?VolumeExternalInfo $volumeExternalInfo = NULL, - ?VolumeExternalOpenIOInfo $volumeExternalOpenIOInfo = NULL + ?int $id = null, + ?string $name = null, + ?string $rootPath = null, + ?int $type = null, + ?bool $compressBlobs = null, + ?int $compressionThreshold = null, + ?int $mgbits = null, + ?int $mbits = null, + ?int $fgbits = null, + ?int $fbits = null, + ?bool $isCurrent = null, + ?bool $current = null, + ?int $storeType = null, + ?string $storeManagerClass = null, + ?VolumeExternalInfo $volumeExternalInfo = null, + ?VolumeExternalOpenIOInfo $volumeExternalOpenIOInfo = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $rootPath) { + if (null !== $rootPath) { $this->setRootPath($rootPath); } - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $compressBlobs) { + if (null !== $compressBlobs) { $this->setCompressBlobs($compressBlobs); } - if (NULL !== $compressionThreshold) { + if (null !== $compressionThreshold) { $this->setCompressionThreshold($compressionThreshold); } - if (NULL !== $mgbits) { + if (null !== $mgbits) { $this->setMgbits($mgbits); } - if (NULL !== $mbits) { + if (null !== $mbits) { $this->setMbits($mbits); } - if (NULL !== $fgbits) { + if (null !== $fgbits) { $this->setFgbits($fgbits); } - if (NULL !== $fbits) { + if (null !== $fbits) { $this->setFbits($fbits); } - if (NULL !== $isCurrent) { + if (null !== $isCurrent) { $this->setIsCurrent($isCurrent); } - if (NULL !== $current) { + if (null !== $current) { $this->setCurrent($current); } - if (NULL !== $storeType) { + if (null !== $storeType) { $this->setStoreType($storeType); } - if (NULL !== $storeManagerClass) { + if (null !== $storeManagerClass) { $this->setStoreManagerClass($storeManagerClass); } $this->volumeExternalInfo = $volumeExternalInfo; diff --git a/src/Admin/Struct/WaitSetInfo.php b/src/Admin/Struct/WaitSetInfo.php index 2e3e7d265..d681427dd 100644 --- a/src/Admin/Struct/WaitSetInfo.php +++ b/src/Admin/Struct/WaitSetInfo.php @@ -169,10 +169,10 @@ public function __construct( string $defaultInterests = '', int $lastAccessDate = 0, array $errors = [], - ?AccountsAttrib $signalledAccounts = NULL, - ?string $cbSeqNo = NULL, - ?string $currentSeqNo = NULL, - ?string $nextSeqNo = NULL, + ?AccountsAttrib $signalledAccounts = null, + ?string $cbSeqNo = null, + ?string $currentSeqNo = null, + ?string $nextSeqNo = null, array $bufferedCommits = [], array $sessions = [] ) @@ -187,13 +187,13 @@ public function __construct( if ($signalledAccounts instanceof AccountsAttrib) { $this->setSignalledAccounts($signalledAccounts); } - if (NULL !== $cbSeqNo) { + if (null !== $cbSeqNo) { $this->setCbSeqNo($cbSeqNo); } - if (NULL !== $currentSeqNo) { + if (null !== $currentSeqNo) { $this->setCurrentSeqNo($currentSeqNo); } - if (NULL !== $nextSeqNo) { + if (null !== $nextSeqNo) { $this->setNextSeqNo($nextSeqNo); } } diff --git a/src/Admin/Struct/WaitSetSessionInfo.php b/src/Admin/Struct/WaitSetSessionInfo.php index 3afa3de17..8f336eeb8 100644 --- a/src/Admin/Struct/WaitSetSessionInfo.php +++ b/src/Admin/Struct/WaitSetSessionInfo.php @@ -130,9 +130,9 @@ public function __construct( int $lastAccessTime = 0, int $creationTime = 0, string $sessionId = '', - ?string $token = NULL, - ?string $folderInterests = NULL, - ?string $changedFolders = NULL + ?string $token = null, + ?string $folderInterests = null, + ?string $changedFolders = null ) { $this->setInterestMask($interestMask) @@ -140,13 +140,13 @@ public function __construct( ->setLastAccessTime($lastAccessTime) ->setCreationTime($creationTime) ->setSessionId($sessionId); - if (NULL !== $token) { + if (null !== $token) { $this->setToken($token); } - if (NULL !== $folderInterests) { + if (null !== $folderInterests) { $this->setFolderInterests($folderInterests); } - if (NULL !== $changedFolders) { + if (null !== $changedFolders) { $this->setChangedFolders($changedFolders); } } diff --git a/src/Admin/Struct/XMPPComponentInfo.php b/src/Admin/Struct/XMPPComponentInfo.php index 1937f972a..8fd449c0a 100644 --- a/src/Admin/Struct/XMPPComponentInfo.php +++ b/src/Admin/Struct/XMPPComponentInfo.php @@ -80,18 +80,18 @@ class XMPPComponentInfo extends AdminAttrsImpl public function __construct( string $name = '', string $id = '', - ?string $domainName = NULL, - ?string $serverName = NULL, + ?string $domainName = null, + ?string $serverName = null, array $attrs = [] ) { parent::__construct($attrs); $this->setName($name) ->setId($id); - if (NULL !== $domainName) { + if (null !== $domainName) { $this->setDomainName($domainName); } - if (NULL !== $serverName) { + if (null !== $serverName) { $this->setServerName($serverName); } } diff --git a/src/Admin/Struct/XMPPComponentSelector.php b/src/Admin/Struct/XMPPComponentSelector.php index 95ffbc946..252fe91a7 100644 --- a/src/Admin/Struct/XMPPComponentSelector.php +++ b/src/Admin/Struct/XMPPComponentSelector.php @@ -51,10 +51,10 @@ class XMPPComponentSelector * @param string $value * @return self */ - public function __construct(?XmppComponentBy $by = NULL, ?string $value = NULL) + public function __construct(?XmppComponentBy $by = null, ?string $value = null) { $this->setBy($by ?? XmppComponentBy::ID); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Admin/Struct/ZimletAcl.php b/src/Admin/Struct/ZimletAcl.php index 67c534e90..1b7a3bd19 100644 --- a/src/Admin/Struct/ZimletAcl.php +++ b/src/Admin/Struct/ZimletAcl.php @@ -52,10 +52,10 @@ class ZimletAcl * @param AclType $acl * @return self */ - public function __construct(?string $cos = NULL, ?AclType $acl = NULL) + public function __construct(?string $cos = null, ?AclType $acl = null) { $this->acl = $acl; - if (NULL !== $cos) { + if (null !== $cos) { $this->setCos($cos); } } diff --git a/src/Admin/Struct/ZimletAclStatusPri.php b/src/Admin/Struct/ZimletAclStatusPri.php index 2bf36e325..fe7b84c0a 100644 --- a/src/Admin/Struct/ZimletAclStatusPri.php +++ b/src/Admin/Struct/ZimletAclStatusPri.php @@ -79,9 +79,9 @@ class ZimletAclStatusPri */ public function __construct( string $name = '', - ?ZimletAcl $acl = NULL, - ?ValueAttrib $status = NULL, - ?IntegerValueAttrib $priority = NULL + ?ZimletAcl $acl = null, + ?ValueAttrib $status = null, + ?IntegerValueAttrib $priority = null ) { $this->setName($name); diff --git a/src/Admin/Struct/ZimletDeploymentStatus.php b/src/Admin/Struct/ZimletDeploymentStatus.php index 39f3fa81d..bd5beb269 100644 --- a/src/Admin/Struct/ZimletDeploymentStatus.php +++ b/src/Admin/Struct/ZimletDeploymentStatus.php @@ -65,12 +65,12 @@ class ZimletDeploymentStatus * @return self */ public function __construct( - string $server = '', ?ZimletDeployStatus $status = NULL, ?string $error = NULL + string $server = '', ?ZimletDeployStatus $status = null, ?string $error = null ) { $this->setServer($server) ->setStatus($status ?? ZimletDeployStatus::SUCCEEDED); - if (NULL !== $error) { + if (null !== $error) { $this->setError($error); } } diff --git a/src/Admin/Struct/ZimletInfo.php b/src/Admin/Struct/ZimletInfo.php index ece9003c2..1fee0e280 100644 --- a/src/Admin/Struct/ZimletInfo.php +++ b/src/Admin/Struct/ZimletInfo.php @@ -44,11 +44,11 @@ class ZimletInfo extends AdminObjectInfo * @return self */ public function __construct( - string $name = '', string $id = '', array $attrs = [], ?string $hasKeyword = NULL + string $name = '', string $id = '', array $attrs = [], ?string $hasKeyword = null ) { parent::__construct($name, $id, $attrs); - if (NULL !== $hasKeyword) { + if (null !== $hasKeyword) { $this->setHasKeyword($hasKeyword); } } diff --git a/src/Admin/Struct/ZimletServerExtension.php b/src/Admin/Struct/ZimletServerExtension.php index 385faabd2..f14cf3f80 100644 --- a/src/Admin/Struct/ZimletServerExtension.php +++ b/src/Admin/Struct/ZimletServerExtension.php @@ -66,18 +66,18 @@ class ZimletServerExtension implements ZimletServerExtensionInterface * @return self */ public function __construct( - ?string $hasKeyword = NULL, - ?string $extensionClass = NULL, - ?string $regex = NULL + ?string $hasKeyword = null, + ?string $extensionClass = null, + ?string $regex = null ) { - if (NULL !== $hasKeyword) { + if (null !== $hasKeyword) { $this->setHasKeyword($hasKeyword); } - if (NULL !== $extensionClass) { + if (null !== $extensionClass) { $this->setExtensionClass($extensionClass); } - if (NULL !== $regex) { + if (null !== $regex) { $this->setRegex($regex); } } diff --git a/src/Admin/Struct/ZimletStatus.php b/src/Admin/Struct/ZimletStatus.php index df3a2545f..fbd65a049 100644 --- a/src/Admin/Struct/ZimletStatus.php +++ b/src/Admin/Struct/ZimletStatus.php @@ -78,15 +78,15 @@ class ZimletStatus */ public function __construct( string $name = '', - ?ZimletStatusSetting $status = NULL, - bool $extension = FALSE, - ?int $priority = NULL + ?ZimletStatusSetting $status = null, + bool $extension = false, + ?int $priority = null ) { $this->setName($name) ->setStatus($status ?? ZimletStatusSetting::ENABLED) ->setExtension($extension); - if (NULL !== $priority) { + if (null !== $priority) { $this->setPriority($priority); } } diff --git a/src/Common/Serializer/AttributeDriverFactory.php b/src/Common/Serializer/AttributeDriverFactory.php index 5debd79d1..976001a69 100644 --- a/src/Common/Serializer/AttributeDriverFactory.php +++ b/src/Common/Serializer/AttributeDriverFactory.php @@ -13,11 +13,20 @@ use Doctrine\Common\Annotations\Reader; use Metadata\Driver\DriverInterface; use JMS\Serializer\Builder\DriverFactoryInterface; -use JMS\Serializer\Metadata\Driver\{AttributeDriver, EnumPropertiesDriver, TypedPropertiesDriver}; +use JMS\Serializer\Metadata\Driver\{ + AttributeDriver, + EnumPropertiesDriver, + TypedPropertiesDriver +}; use JMS\Serializer\Naming\{ - CamelCaseNamingStrategy, PropertyNamingStrategyInterface, SerializedNameAnnotationStrategy + CamelCaseNamingStrategy, + PropertyNamingStrategyInterface, + SerializedNameAnnotationStrategy +}; +use JMS\Serializer\Type\{ + Parser, + ParserInterface }; -use JMS\Serializer\Type\{Parser, ParserInterface}; /** * Attribute driver factory class. @@ -35,14 +44,14 @@ class AttributeDriverFactory implements DriverFactoryInterface * * @var PropertyNamingStrategyInterface */ - private PropertyNamingStrategyInterface $propertyNamingStrategy; + private readonly PropertyNamingStrategyInterface $propertyNamingStrategy; /** * Type parser * * @var ParserInterface */ - private ParserInterface $typeParser; + private readonly ParserInterface $typeParser; /** * Constructor @@ -51,14 +60,14 @@ class AttributeDriverFactory implements DriverFactoryInterface * @param ParserInterface $typeParser */ public function __construct( - ?PropertyNamingStrategyInterface $propertyNamingStrategy = NULL, - ?ParserInterface $typeParser = NULL + ?PropertyNamingStrategyInterface $propertyNamingStrategy = null, + ?ParserInterface $typeParser = null ) { - $this->propertyNamingStrategy = $propertyNamingStrategy ?: new SerializedNameAnnotationStrategy( + $this->propertyNamingStrategy = $propertyNamingStrategy ?? new SerializedNameAnnotationStrategy( new CamelCaseNamingStrategy() ); - $this->typeParser = $typeParser ?: new Parser(); + $this->typeParser = $typeParser ?? new Parser(); } /** diff --git a/src/Common/Serializer/ObjectConstructor.php b/src/Common/Serializer/ObjectConstructor.php index 91321a49c..4e5f9a6f1 100644 --- a/src/Common/Serializer/ObjectConstructor.php +++ b/src/Common/Serializer/ObjectConstructor.php @@ -11,7 +11,8 @@ namespace Zimbra\Common\Serializer; use JMS\Serializer\Construction\{ - ObjectConstructorInterface, UnserializeObjectConstructor + ObjectConstructorInterface, + UnserializeObjectConstructor }; use JMS\Serializer\DeserializationContext as Context; use JMS\Serializer\Metadata\ClassMetadata; @@ -33,7 +34,7 @@ class ObjectConstructor implements ObjectConstructorInterface * * @var ObjectConstructorInterface */ - private ObjectConstructorInterface $fallbackConstructor; + private readonly ObjectConstructorInterface $fallbackConstructor; /** * Constructor @@ -41,9 +42,9 @@ class ObjectConstructor implements ObjectConstructorInterface * @param ObjectConstructorInterface $fallbackConstructor */ public function __construct( - ?ObjectConstructorInterface $fallbackConstructor = NULL + ?ObjectConstructorInterface $fallbackConstructor = null ) { - $this->fallbackConstructor = $fallbackConstructor ?: new UnserializeObjectConstructor(); + $this->fallbackConstructor = $fallbackConstructor ?? new UnserializeObjectConstructor(); } /** @@ -64,10 +65,10 @@ public function construct( return $reflection->newInstanceArgs(); } else { - $isDefaultConstructor = TRUE; + $isDefaultConstructor = true; foreach ($parameters as $parameter) { if (!$parameter->isOptional()) { - $isDefaultConstructor = FALSE; + $isDefaultConstructor = false; break; } } diff --git a/src/Common/Serializer/SerializerFactory.php b/src/Common/Serializer/SerializerFactory.php index 73cdb0548..4c3a3b263 100644 --- a/src/Common/Serializer/SerializerFactory.php +++ b/src/Common/Serializer/SerializerFactory.php @@ -34,21 +34,21 @@ final class SerializerFactory * * @var SerializerBuilder */ - private static ?SerializerBuilder $builder = NULL; + private static ?SerializerBuilder $builder = null; /** * Debug mode * * @var bool */ - private static bool $debug = FALSE; + private static bool $debug = false; /** * Cache dir * * @var string */ - private static ?string $cacheDir = NULL; + private static ?string $cacheDir = null; /** * List of serializer handlers. @@ -63,7 +63,7 @@ final class SerializerFactory * @param bool $debug * @return bool */ - public static function setDebugMode(bool $debug = FALSE): bool + public static function setDebugMode(bool $debug = false): bool { return self::$debug = $debug; } @@ -74,7 +74,7 @@ public static function setDebugMode(bool $debug = FALSE): bool * @param string $cacheDir * @return string */ - public static function setCacheDir(?string $cacheDir = NULL): ?string + public static function setCacheDir(?string $cacheDir = null): ?string { return self::$cacheDir = $cacheDir; } @@ -120,7 +120,7 @@ public static function create(): SerializerInterface if (self::$debug) { self::$builder->setDebug(self::$debug); } - if (NULL !== self::$cacheDir) { + if (null !== self::$cacheDir) { self::$builder->setCacheDir(self::$cacheDir); } diff --git a/src/Common/Soap/AbstractApi.php b/src/Common/Soap/AbstractApi.php index 108ba4c50..bff648039 100755 --- a/src/Common/Soap/AbstractApi.php +++ b/src/Common/Soap/AbstractApi.php @@ -11,9 +11,17 @@ namespace Zimbra\Common\Soap; use JMS\Serializer\SerializerInterface; -use Psr\Log\{LoggerAwareInterface, LoggerAwareTrait, LoggerInterface, NullLogger}; +use Psr\Log\{ + LoggerAwareInterface, + LoggerAwareTrait, + LoggerInterface, + NullLogger +}; use Zimbra\Common\Serializer\SerializerFactory; -use Zimbra\Common\Struct\Header\{AccountInfo, Context}; +use Zimbra\Common\Struct\Header\{ + AccountInfo, + Context +}; use Zimbra\Common\Struct\{ SoapBodyInterface, SoapEnvelopeInterface, @@ -36,6 +44,7 @@ abstract class AbstractApi implements ApiInterface, HeaderAwareInterface, LoggerAwareInterface { use LoggerAwareTrait; + const SERIALIZE_FORMAT = 'xml'; /** @@ -50,21 +59,21 @@ abstract class AbstractApi implements ApiInterface, HeaderAwareInterface, Logger * * @var SerializerInterface */ - private ?SerializerInterface $serializer = NULL; + private ?SerializerInterface $serializer = null; /** * Request soap header * * @var SoapHeaderInterface */ - private ?SoapHeaderInterface $requestHeader = NULL; + private ?SoapHeaderInterface $requestHeader = null; /** * Response soap header * * @var SoapHeaderInterface */ - private ?SoapHeaderInterface $responseHeader = NULL; + private ?SoapHeaderInterface $responseHeader = null; /** * Constructor @@ -163,7 +172,7 @@ public function invoke(SoapRequestInterface $request): ?SoapResponseInterface $this->getLogger()->debug('Soap request message: {request}', ['request' => $requestMessage]); $response = $this->getClient()->sendRequest($requestMessage); - $soapResponse = NULL; + $soapResponse = null; $responseMessage = $response->getBody()->getContents(); $this->getLogger()->debug('Soap response message: {response}', ['response' => $responseMessage]); $responseEnvelope = $this->getSerializer()->deserialize( diff --git a/src/Common/Soap/Client.php b/src/Common/Soap/Client.php index 873d1de74..87b923fb1 100755 --- a/src/Common/Soap/Client.php +++ b/src/Common/Soap/Client.php @@ -12,7 +12,10 @@ use Psr\Http\Client\ClientInterface as HttpClientInterface; use Psr\Http\Message\{ - RequestFactoryInterface, RequestInterface, ResponseInterface, StreamFactoryInterface + RequestFactoryInterface, + RequestInterface, + ResponseInterface, + StreamFactoryInterface }; /** @@ -59,21 +62,21 @@ class Client implements ClientInterface * * @var string */ - private ?string $cookie = NULL; + private ?string $cookie = null; /** * Http request message * * @var RequestInterface */ - private ?RequestInterface $httpRequest = NULL; + private ?RequestInterface $httpRequest = null; /** * Http response message * * @var ResponseInterface */ - private ?ResponseInterface $httpResponse = NULL; + private ?ResponseInterface $httpResponse = null; /** * Constructor @@ -84,10 +87,10 @@ class Client implements ClientInterface * @param StreamFactoryInterface $streamFactory */ public function __construct( - private string $serviceUrl, - private HttpClientInterface $httpClient, - private RequestFactoryInterface $requestFactory, - private StreamFactoryInterface $streamFactory + private readonly string $serviceUrl, + private readonly HttpClientInterface $httpClient, + private readonly RequestFactoryInterface $requestFactory, + private readonly StreamFactoryInterface $streamFactory ) { } @@ -147,7 +150,7 @@ public function getHttpResponse(): ?ResponseInterface private static function getOriginatingIp(): ?string { - static $ip = NULL; + static $ip = null; if (empty($ip) && !empty($_SERVER)) { foreach(self::$serverOriginatingIpHeaders as $header) { if (!empty($_SERVER[$header])) { diff --git a/src/Common/Soap/ClientFactory.php b/src/Common/Soap/ClientFactory.php index 993709608..c587549f4 100644 --- a/src/Common/Soap/ClientFactory.php +++ b/src/Common/Soap/ClientFactory.php @@ -12,7 +12,10 @@ use PsrDiscovery\Discover; use Psr\Http\Client\ClientInterface as HttpClientInterface; -use Psr\Http\Message\{RequestFactoryInterface, StreamFactoryInterface}; +use Psr\Http\Message\{ + RequestFactoryInterface, + StreamFactoryInterface +}; /** * Factory for client instances. @@ -36,16 +39,16 @@ final class ClientFactory */ public static function create( string $serviceUrl, - ?HttpClientInterface $httpClient = NULL, - ?RequestFactoryInterface $requestFactory = NULL, - ?StreamFactoryInterface $streamFactory = NULL + ?HttpClientInterface $httpClient = null, + ?RequestFactoryInterface $requestFactory = null, + ?StreamFactoryInterface $streamFactory = null ): ClientInterface { return new Client( $serviceUrl, - $httpClient ?: Discover::httpClient(), - $requestFactory ?: Discover::httpRequestFactory(), - $streamFactory ?: Discover::httpStreamFactory() + $httpClient ?? Discover::httpClient(), + $requestFactory ?? Discover::httpRequestFactory(), + $streamFactory ?? Discover::httpStreamFactory() ); } } diff --git a/src/Common/Soap/ClientInterface.php b/src/Common/Soap/ClientInterface.php index fb9db7098..ccd5571f4 100755 --- a/src/Common/Soap/ClientInterface.php +++ b/src/Common/Soap/ClientInterface.php @@ -11,7 +11,10 @@ namespace Zimbra\Common\Soap; use Psr\Http\Client\ClientInterface as HttpClientInterface; -use Psr\Http\Message\{RequestInterface, ResponseInterface}; +use Psr\Http\Message\{ + RequestInterface, + ResponseInterface +}; /** * ClientInterface is a interface which provides a client for Zimbra SOAP service diff --git a/src/Common/Soap/Exception.php b/src/Common/Soap/Exception.php index 4a839f371..8753eb309 100755 --- a/src/Common/Soap/Exception.php +++ b/src/Common/Soap/Exception.php @@ -29,7 +29,9 @@ class Exception extends \RuntimeException implements ExceptionInterface * @param SoapFaultInterface $soapFault * @param int $code */ - public function __construct(private SoapFaultInterface $soapFault, int $code = 0) + public function __construct( + private readonly SoapFaultInterface $soapFault, int $code = 0 + ) { parent::__construct($soapFault->faultString(), $code); } diff --git a/src/Common/Struct/AccountNameSelector.php b/src/Common/Struct/AccountNameSelector.php index 180217c12..9994530d0 100755 --- a/src/Common/Struct/AccountNameSelector.php +++ b/src/Common/Struct/AccountNameSelector.php @@ -64,14 +64,14 @@ class AccountNameSelector * @return self */ public function __construct( - ?AccountBy $by = NULL, ?string $name = NULL, ?string $value = NULL + ?AccountBy $by = null, ?string $name = null, ?string $value = null ) { $this->setBy($by ?? AccountBy::NAME); - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/AccountSelector.php b/src/Common/Struct/AccountSelector.php index cb1f9af9e..5a2a34ec0 100755 --- a/src/Common/Struct/AccountSelector.php +++ b/src/Common/Struct/AccountSelector.php @@ -51,10 +51,10 @@ class AccountSelector * @param string $value * @return self */ - public function __construct(?AccountBy $by = NULL, ?string $value = NULL) + public function __construct(?AccountBy $by = null, ?string $value = null) { $this->setBy($by ?? AccountBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/AuthTokenControl.php b/src/Common/Struct/AuthTokenControl.php index 338c04a1d..22dd91bc2 100755 --- a/src/Common/Struct/AuthTokenControl.php +++ b/src/Common/Struct/AuthTokenControl.php @@ -40,9 +40,9 @@ class AuthTokenControl * @param bool $voidOnExpired * @return self */ - public function __construct(?bool $voidOnExpired = NULL) + public function __construct(?bool $voidOnExpired = null) { - if (NULL !== $voidOnExpired) { + if (null !== $voidOnExpired) { $this->setVoidOnExpired($voidOnExpired); } } diff --git a/src/Common/Struct/BatchRequest.php b/src/Common/Struct/BatchRequest.php index f37ab91ec..8e746800e 100755 --- a/src/Common/Struct/BatchRequest.php +++ b/src/Common/Struct/BatchRequest.php @@ -41,7 +41,7 @@ abstract class BatchRequest extends SoapRequest implements BatchRequestInterface * @param OnError $onerror * @return self */ - public function __construct(array $requests = [], ?OnError $onerror = NULL) + public function __construct(array $requests = [], ?OnError $onerror = null) { $this->setOnError($onerror ?? OnError::CONTINUE) ->setRequests($requests); diff --git a/src/Common/Struct/ContactAttr.php b/src/Common/Struct/ContactAttr.php index 3509db566..dd9a5b87e 100644 --- a/src/Common/Struct/ContactAttr.php +++ b/src/Common/Struct/ContactAttr.php @@ -80,24 +80,24 @@ class ContactAttr extends KeyValuePair */ public function __construct( string $key = '', - ?string$value = NULL, - ?string $part = NULL, - ?string $contentType = NULL, - ?int $size = NULL, - ?string $contentFilename = NULL + ?string$value = null, + ?string $part = null, + ?string $contentType = null, + ?int $size = null, + ?string $contentFilename = null ) { parent::__construct($key, $value); - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $contentFilename) { + if (null !== $contentFilename) { $this->setContentFilename($contentFilename); } } diff --git a/src/Common/Struct/CursorInfo.php b/src/Common/Struct/CursorInfo.php index 799bba89c..e8af56dae 100755 --- a/src/Common/Struct/CursorInfo.php +++ b/src/Common/Struct/CursorInfo.php @@ -77,22 +77,22 @@ class CursorInfo * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortVal = NULL, - ?string $endSortVal = NULL, - ?bool $includeOffset = NULL + ?string $id = null, + ?string $sortVal = null, + ?string $endSortVal = null, + ?bool $includeOffset = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $sortVal) { + if (null !== $sortVal) { $this->setSortVal($sortVal); } - if (NULL !== $endSortVal) { + if (null !== $endSortVal) { $this->setEndSortVal($endSortVal); } - if (NULL !== $includeOffset) { + if (null !== $includeOffset) { $this->setIncludeOffset($includeOffset); } } diff --git a/src/Common/Struct/DistributionListSelector.php b/src/Common/Struct/DistributionListSelector.php index ebf5cba69..16cc73a8a 100644 --- a/src/Common/Struct/DistributionListSelector.php +++ b/src/Common/Struct/DistributionListSelector.php @@ -51,10 +51,10 @@ class DistributionListSelector * @param string $value * @return self */ - public function __construct(?DistributionListBy $by = NULL, ?string $value = NULL) + public function __construct(?DistributionListBy $by = null, ?string $value = null) { $this->setBy($by ?? DistributionListBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/GranteeChooser.php b/src/Common/Struct/GranteeChooser.php index 9aea04c7f..97e0ed66a 100755 --- a/src/Common/Struct/GranteeChooser.php +++ b/src/Common/Struct/GranteeChooser.php @@ -65,16 +65,16 @@ class GranteeChooser * @return self */ public function __construct( - ?string $type = NULL, ?string $id = NULL, ?string $name = NULL + ?string $type = null, ?string $id = null, ?string $name = null ) { - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Common/Struct/Id.php b/src/Common/Struct/Id.php index 1cf083079..0766bdf6f 100755 --- a/src/Common/Struct/Id.php +++ b/src/Common/Struct/Id.php @@ -40,9 +40,9 @@ class Id * @param string $id * @return self */ - public function __construct(?string $id = NULL) + public function __construct(?string $id = null) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Common/Struct/KeyValuePair.php b/src/Common/Struct/KeyValuePair.php index 2caf7a87d..0011b1152 100755 --- a/src/Common/Struct/KeyValuePair.php +++ b/src/Common/Struct/KeyValuePair.php @@ -51,10 +51,10 @@ class KeyValuePair * @param string $value * @return self */ - public function __construct(string $key = '', ?string $value = NULL) + public function __construct(string $key = '', ?string $value = null) { $this->setKey($key); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/NamedElement.php b/src/Common/Struct/NamedElement.php index a8cbb2001..9d1c4be7c 100755 --- a/src/Common/Struct/NamedElement.php +++ b/src/Common/Struct/NamedElement.php @@ -40,9 +40,9 @@ class NamedElement * @param string $name The name * @return self */ - public function __construct(?string $name = NULL) + public function __construct(?string $name = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Common/Struct/NamedValue.php b/src/Common/Struct/NamedValue.php index 7e48ff856..eebdaec84 100755 --- a/src/Common/Struct/NamedValue.php +++ b/src/Common/Struct/NamedValue.php @@ -51,10 +51,10 @@ class NamedValue * @param string $value * @return self */ - public function __construct(string $name = '', ?string $value = NULL) + public function __construct(string $name = '', ?string $value = null) { $this->setName($name); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/OpValue.php b/src/Common/Struct/OpValue.php index 3c234e287..0e0582310 100755 --- a/src/Common/Struct/OpValue.php +++ b/src/Common/Struct/OpValue.php @@ -51,10 +51,10 @@ class OpValue * @param string $value * @return self */ - public function __construct(string $op = '+', ?string $value = NULL) + public function __construct(string $op = '+', ?string $value = null) { $this->setOp($op); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/ShareInfo.php b/src/Common/Struct/ShareInfo.php index 4414107c9..9b7f759f8 100644 --- a/src/Common/Struct/ShareInfo.php +++ b/src/Common/Struct/ShareInfo.php @@ -198,7 +198,7 @@ public function __construct( string $granteeId = '', string $granteeName = '', string $granteeDisplayName = '', - string $mountpointId = NULL + string $mountpointId = null ) { $this->setOwnerId($ownerId) @@ -214,7 +214,7 @@ public function __construct( ->setGranteeName($granteeName) ->setGranteeDisplayName($granteeDisplayName); - if (NULL !== $mountpointId) { + if (null !== $mountpointId) { $this->setMountpointId($mountpointId); } } diff --git a/src/Common/Struct/SimpleSearchHit.php b/src/Common/Struct/SimpleSearchHit.php index a054461c6..fe967f924 100644 --- a/src/Common/Struct/SimpleSearchHit.php +++ b/src/Common/Struct/SimpleSearchHit.php @@ -53,14 +53,14 @@ class SimpleSearchHit implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL + ?string $id = null, + ?string $sortField = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } } diff --git a/src/Common/Struct/SoapBody.php b/src/Common/Struct/SoapBody.php index 6f9129cd0..76da25ddf 100644 --- a/src/Common/Struct/SoapBody.php +++ b/src/Common/Struct/SoapBody.php @@ -43,9 +43,9 @@ abstract class SoapBody implements SoapBodyInterface * @return self */ public function __construct( - ?SoapRequestInterface $request = NULL, - ?SoapResponseInterface $response = NULL, - ?SoapFaultInterface $soapFault = NULL + ?SoapRequestInterface $request = null, + ?SoapResponseInterface $response = null, + ?SoapFaultInterface $soapFault = null ) { $this->soapFault = $soapFault; diff --git a/src/Common/Struct/SoapEnvelope.php b/src/Common/Struct/SoapEnvelope.php index 63d043beb..02c2e89dd 100755 --- a/src/Common/Struct/SoapEnvelope.php +++ b/src/Common/Struct/SoapEnvelope.php @@ -43,7 +43,7 @@ abstract class SoapEnvelope implements SoapEnvelopeInterface * @param SoapHeaderInterface $header * @return self */ - public function __construct(?SoapBodyInterface $body = NULL, ?SoapHeaderInterface $header = NULL) + public function __construct(?SoapBodyInterface $body = null, ?SoapHeaderInterface $header = null) { $this->header = $header; if ($body instanceof SoapBodyInterface) { diff --git a/src/Common/Struct/SoapFault.php b/src/Common/Struct/SoapFault.php index e6e2aee2d..2cc33783e 100755 --- a/src/Common/Struct/SoapFault.php +++ b/src/Common/Struct/SoapFault.php @@ -54,7 +54,7 @@ class SoapFault implements SoapFaultInterface * @return self */ public function __construct( - ?Code $faultCode = NULL, ?Reason $faultReason = NULL + ?Code $faultCode = null, ?Reason $faultReason = null ) { $this->faultCode = $faultCode; diff --git a/src/Common/Struct/SoapHeader.php b/src/Common/Struct/SoapHeader.php index c1ee60ed0..735ed9bed 100644 --- a/src/Common/Struct/SoapHeader.php +++ b/src/Common/Struct/SoapHeader.php @@ -42,7 +42,7 @@ class SoapHeader implements SoapHeaderInterface * @param Context $context * @return self */ - public function __construct(?Context $context = NULL) + public function __construct(?Context $context = null) { $this->context = $context; } diff --git a/src/Common/Struct/SoapRequest.php b/src/Common/Struct/SoapRequest.php index 9d71db7f7..08628ab6b 100755 --- a/src/Common/Struct/SoapRequest.php +++ b/src/Common/Struct/SoapRequest.php @@ -31,7 +31,7 @@ abstract class SoapRequest implements SoapRequestInterface * @var SoapEnvelopeInterface */ #[Exclude] - private ?SoapEnvelopeInterface $soapEnvelope = NULL; + private ?SoapEnvelopeInterface $soapEnvelope = null; /** * {@inheritdoc} diff --git a/src/Common/Struct/TzOnsetInfo.php b/src/Common/Struct/TzOnsetInfo.php index 631e83a84..c87f01e86 100755 --- a/src/Common/Struct/TzOnsetInfo.php +++ b/src/Common/Struct/TzOnsetInfo.php @@ -117,9 +117,9 @@ public function __construct( int $hour = 0, int $minute = 0, int $second = 0, - ?int $dayOfMonth = NULL, - ?int $week = NULL, - ?int $dayOfWeek = NULL + ?int $dayOfMonth = null, + ?int $week = null, + ?int $dayOfWeek = null ) { $this->setMonth($month) @@ -127,13 +127,13 @@ public function __construct( ->setMinute($minute) ->setSecond($second); - if (is_int($dayOfMonth) and in_array((int) $dayOfMonth, range(1, 31))) { + if (is_int($dayOfMonth) && in_array((int) $dayOfMonth, range(1, 31))) { $this->setDayOfMonth($dayOfMonth); } - if (is_int($week) and in_array((int) $week, [-1, 1, 2, 3, 4])) { + if (is_int($week) && in_array((int) $week, [-1, 1, 2, 3, 4])) { $this->setWeek($week); } - if (is_int($dayOfWeek) and in_array((int) $dayOfWeek, range(1, 7))) { + if (is_int($dayOfWeek) && in_array((int) $dayOfWeek, range(1, 7))) { $this->setDayOfWeek((int) $dayOfWeek); } } diff --git a/src/Common/Struct/UrlAndValue.php b/src/Common/Struct/UrlAndValue.php index 90b66c33b..090063086 100755 --- a/src/Common/Struct/UrlAndValue.php +++ b/src/Common/Struct/UrlAndValue.php @@ -51,12 +51,12 @@ class UrlAndValue * @param string $value * @return self */ - public function __construct(?string $url = NULL, ?string $value = NULL) + public function __construct(?string $url = null, ?string $value = null) { - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Common/Struct/WaitSetAddSpec.php b/src/Common/Struct/WaitSetAddSpec.php index ad230dbae..e2503168d 100755 --- a/src/Common/Struct/WaitSetAddSpec.php +++ b/src/Common/Struct/WaitSetAddSpec.php @@ -11,7 +11,13 @@ namespace Zimbra\Common\Struct; use JMS\Serializer\Annotation\{ - Accessor, Exclude, SerializedName, SkipWhenEmpty, Type, VirtualProperty, XmlAttribute + Accessor, + Exclude, + SerializedName, + SkipWhenEmpty, + Type, + VirtualProperty, + XmlAttribute }; use Zimbra\Common\Enum\InterestType; @@ -88,22 +94,22 @@ class WaitSetAddSpec * @return self */ public function __construct( - ?string $name = NULL, - ?string $id = NULL, - ?string $token = NULL, - ?string $interests = NULL + ?string $name = null, + ?string $id = null, + ?string $token = null, + ?string $interests = null ) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $token) { + if (null !== $token) { $this->setToken($token); } - if (NULL !== $interests) { + if (null !== $interests) { $this->setInterests($interests); } } @@ -182,8 +188,11 @@ public function setToken(string $token): self */ public function setInterests(string $interests): self { - $types = array_filter(explode(',', $interests), static fn ($type) => InterestType::tryFrom($type)); - $this->interests = !empty($types) ? implode(',', array_unique($types)) : NULL; + $types = array_filter( + explode(',', $interests), + static fn ($type) => InterestType::tryFrom($type) + ); + $this->interests = !empty($types) ? implode(',', array_unique($types)) : null; return $this; } @@ -210,11 +219,16 @@ public function setFolderInterests($folderInterests): self { $this->folderInterests = []; if (is_array($folderInterests)) { - $folderInterests = array_map(static fn ($folderId) => (int) $folderId, $folderInterests); + $folderInterests = array_map( + static fn ($folderId) => (int) $folderId, $folderInterests + ); $this->folderInterests = array_unique($folderInterests); } else { - $folderInterests = array_map(static fn ($folderId) => (int) $folderId, explode(',', $folderInterests)); + $folderInterests = array_map( + static fn ($folderId) => (int) $folderId, + explode(',', $folderInterests) + ); $this->folderInterests = array_unique($folderInterests); } return $this; @@ -232,6 +246,6 @@ public function setFolderInterests($folderInterests): self #[XmlAttribute] public function getFolderInterests(): ?string { - return !empty($this->folderInterests) ? implode(',', $this->folderInterests) : NULL; + return !empty($this->folderInterests) ? implode(',', $this->folderInterests) : null; } } diff --git a/src/Common/Struct/WildcardExpansionQueryInfo.php b/src/Common/Struct/WildcardExpansionQueryInfo.php index 7f58c50eb..bf9292172 100644 --- a/src/Common/Struct/WildcardExpansionQueryInfo.php +++ b/src/Common/Struct/WildcardExpansionQueryInfo.php @@ -68,7 +68,7 @@ class WildcardExpansionQueryInfo */ public function __construct( string $str = '', - bool $expanded = FALSE, + bool $expanded = false, int $numExpanded = 0 ) { diff --git a/src/Mail/MailApi.php b/src/Mail/MailApi.php index 045c6361c..987ff985f 100644 --- a/src/Mail/MailApi.php +++ b/src/Mail/MailApi.php @@ -100,7 +100,7 @@ class MailApi extends AccountApi implements MailApiInterface * {@inheritdoc} */ public function addAppointmentInvite( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ): ?Message\AddAppointmentInviteResponse { return $this->invoke(new Message\AddAppointmentInviteRequest($partStat, $msg)); @@ -117,7 +117,7 @@ public function addComment(AddedComment $comment): ?Message\AddCommentResponse /** * {@inheritdoc} */ - public function addMsg(AddMsgSpec $msg, ?bool $filterSent = NULL): ?Message\AddMsgResponse + public function addMsg(AddMsgSpec $msg, ?bool $filterSent = null): ?Message\AddMsgResponse { return $this->invoke(new Message\AddMsgRequest($msg, $filterSent)); } @@ -126,7 +126,7 @@ public function addMsg(AddMsgSpec $msg, ?bool $filterSent = NULL): ?Message\AddM * {@inheritdoc} */ public function addTaskInvite( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ): ?Message\AddTaskInviteResponse { return $this->invoke(new Message\AddTaskInviteRequest($partStat, $msg)); @@ -144,7 +144,7 @@ public function announceOrganizerChange(string $id): ?Message\AnnounceOrganizerC * {@inheritdoc} */ public function applyFilterRules( - array $filterRules = [], ?IdsAttr $msgIds = NULL, ?string $query = NULL + array $filterRules = [], ?IdsAttr $msgIds = null, ?string $query = null ): ?Message\ApplyFilterRulesResponse { return $this->invoke(new Message\ApplyFilterRulesRequest( @@ -156,7 +156,7 @@ public function applyFilterRules( * {@inheritdoc} */ public function applyOutgoingFilterRules( - array $filterRules = [], ?IdsAttr $msgIds = NULL, ?string $query = NULL + array $filterRules = [], ?IdsAttr $msgIds = null, ?string $query = null ): ?Message\ApplyOutgoingFilterRulesResponse { return $this->invoke(new Message\ApplyOutgoingFilterRulesRequest( @@ -169,10 +169,10 @@ public function applyOutgoingFilterRules( */ public function autoComplete( string $name, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $folderList = NULL, - ?bool $includeGal = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $folderList = null, + ?bool $includeGal = null ): ?Message\AutoCompleteResponse { return $this->invoke(new Message\AutoCompleteRequest( @@ -200,7 +200,7 @@ public function bounceMsg(BounceMsgSpec $msg): ?Message\BounceMsgResponse * {@inheritdoc} */ public function browse( - ?BrowseBy $browseBy = NULL, ?string $regex = NULL, ?int $max = NULL + ?BrowseBy $browseBy = null, ?string $regex = null, ?int $max = null ): ?Message\BrowseResponse { return $this->invoke(new Message\BrowseRequest( @@ -212,13 +212,13 @@ public function browse( * {@inheritdoc} */ public function cancelAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?InstanceRecurIdInfo $instance = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?InstanceRecurIdInfo $instance = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\CancelAppointmentResponse { return $this->invoke(new Message\CancelAppointmentRequest( @@ -230,13 +230,13 @@ public function cancelAppointment( * {@inheritdoc} */ public function cancelTask( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?InstanceRecurIdInfo $instance = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?InstanceRecurIdInfo $instance = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\CancelTaskResponse { return $this->invoke(new Message\CancelTaskRequest( @@ -248,7 +248,7 @@ public function cancelTask( * {@inheritdoc} */ public function checkPermission( - ?TargetSpec $target = NULL, array $rights = [] + ?TargetSpec $target = null, array $rights = [] ): ?Message\CheckPermissionResponse { return $this->invoke(new Message\CheckPermissionRequest($target, $rights)); @@ -258,10 +258,10 @@ public function checkPermission( * {@inheritdoc} */ public function checkRecurConflicts( - ?int $startTime = NULL, - ?int $endTime = NULL, - ?bool $allInstances = NULL, - ?string $excludeUid = NULL, + ?int $startTime = null, + ?int $endTime = null, + ?bool $allInstances = null, + ?string $excludeUid = null, array $timezones = [], array $components = [], array $freebusyUsers = [] @@ -276,7 +276,7 @@ public function checkRecurConflicts( * {@inheritdoc} */ public function checkSpelling( - ?string $dictionary = NULL, ?string $ignoreList = NULL, ?string $text = NULL + ?string $dictionary = null, ?string $ignoreList = null, ?string $text = null ): ?Message\CheckSpellingResponse { return $this->invoke(new Message\CheckSpellingRequest( @@ -288,7 +288,7 @@ public function checkSpelling( * {@inheritdoc} */ public function completeTaskInstance( - DtTimeInfo $exceptionId, string $id, ?CalTZInfo $timezone = NULL + DtTimeInfo $exceptionId, string $id, ?CalTZInfo $timezone = null ): ?Message\CompleteTaskInstanceResponse { return $this->invoke(new Message\CompleteTaskInstanceRequest( @@ -316,11 +316,11 @@ public function convAction(ConvActionSelector $action): ?Message\ConvActionRespo * {@inheritdoc} */ public function counterAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null ): ?Message\CounterAppointmentResponse { return $this->invoke(new Message\CounterAppointmentRequest( @@ -332,16 +332,16 @@ public function counterAppointment( * {@inheritdoc} */ public function createAppointmentException( - ?string $id = NULL, - ?int $numComponents = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $numComponents = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateAppointmentExceptionResponse { return $this->invoke(new Message\CreateAppointmentExceptionRequest( @@ -362,12 +362,12 @@ public function createAppointmentException( * {@inheritdoc} */ public function createAppointment( - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateAppointmentResponse { return $this->invoke(new Message\CreateAppointmentRequest( @@ -380,9 +380,9 @@ public function createAppointment( */ public function createContact( ContactSpec $contact, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\CreateContactResponse { return $this->invoke(new Message\CreateContactRequest( @@ -393,7 +393,7 @@ public function createContact( /** * {@inheritdoc} */ - public function createDataSource(?MailDataSource $dataSource = NULL): ?Message\CreateDataSourceResponse + public function createDataSource(?MailDataSource $dataSource = null): ?Message\CreateDataSourceResponse { return $this->invoke(new Message\CreateDataSourceRequest($dataSource)); } @@ -433,7 +433,7 @@ public function createSearchFolder(NewSearchFolderSpec $searchFolder): ?Message\ /** * {@inheritdoc} */ - public function createTag(?TagSpec $tag = NULL): ?Message\CreateTagResponse + public function createTag(?TagSpec $tag = null): ?Message\CreateTagResponse { return $this->invoke(new Message\CreateTagRequest($tag)); } @@ -442,16 +442,16 @@ public function createTag(?TagSpec $tag = NULL): ?Message\CreateTagResponse * {@inheritdoc} */ public function createTaskException( - ?string $id = NULL, - ?int $numComponents = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $numComponents = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateTaskExceptionResponse { return $this->invoke(new Message\CreateTaskExceptionRequest( @@ -472,12 +472,12 @@ public function createTaskException( * {@inheritdoc} */ public function createTask( - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateTaskResponse { return $this->invoke(new Message\CreateTaskRequest( @@ -489,7 +489,7 @@ public function createTask( * {@inheritdoc} */ public function createWaitSet( - string $defaultInterests, ?bool $allAccounts = NULL, array $accounts = [] + string $defaultInterests, ?bool $allAccounts = null, array $accounts = [] ): ?Message\CreateWaitSetResponse { return $this->invoke(new Message\CreateWaitSetRequest( @@ -500,7 +500,7 @@ public function createWaitSet( /** * {@inheritdoc} */ - public function declineCounterAppointment(?Msg $msg = NULL): ?Message\DeclineCounterAppointmentResponse + public function declineCounterAppointment(?Msg $msg = null): ?Message\DeclineCounterAppointmentResponse { return $this->invoke(new Message\DeclineCounterAppointmentRequest($msg)); } @@ -524,7 +524,7 @@ public function destroyWaitSet(string $waitSetId): ?Message\DestroyWaitSetRespon /** * {@inheritdoc} */ - public function diffDocument(?DiffDocumentVersionSpec $doc = NULL): ?Message\DiffDocumentResponse + public function diffDocument(?DiffDocumentVersionSpec $doc = null): ?Message\DiffDocumentResponse { return $this->invoke(new Message\DiffDocumentRequest($doc)); } @@ -581,10 +581,10 @@ public function expandRecur( */ public function exportContacts( string $contentType, - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL, - ?string $csvDelimiter = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null, + ?string $csvDelimiter = null ): ?Message\ExportContactsResponse { return $this->invoke(new Message\ExportContactsRequest( @@ -627,7 +627,7 @@ public function folderAction(FolderActionSelector $action): ?Message\FolderActio * {@inheritdoc} */ public function forwardAppointmentInvite( - ?string $id = NULL, ?Msg $msg = NULL + ?string $id = null, ?Msg $msg = null ): ?Message\ForwardAppointmentInviteResponse { return $this->invoke(new Message\ForwardAppointmentInviteRequest($id, $msg)); @@ -637,10 +637,10 @@ public function forwardAppointmentInvite( * {@inheritdoc} */ public function forwardAppointment( - ?string $id = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\ForwardAppointmentResponse { return $this->invoke(new Message\ForwardAppointmentRequest( @@ -660,11 +660,11 @@ public function generateUUID(): ?Message\GenerateUUIDResponse * {@inheritdoc} */ public function getAppointment( - ?bool $sync = NULL, - ?bool $includeContent = NULL, - ?bool $includeInvites = NULL, - ?string $uid = NULL, - ?string $id = NULL + ?bool $sync = null, + ?bool $includeContent = null, + ?bool $includeInvites = null, + ?string $uid = null, + ?string $id = null ): ?Message\GetAppointmentResponse { return $this->invoke(new Message\GetAppointmentRequest( @@ -700,7 +700,7 @@ public function getAppointmentIdsSince( * {@inheritdoc} */ public function getApptSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetApptSummariesResponse { return $this->invoke(new Message\GetApptSummariesRequest( @@ -712,7 +712,7 @@ public function getApptSummaries( * {@inheritdoc} */ public function getCalendarItemSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetCalendarItemSummariesResponse { return $this->invoke(new Message\GetCalendarItemSummariesRequest( @@ -740,15 +740,15 @@ public function getContactBackupList(): ?Message\GetContactBackupListResponse * {@inheritdoc} */ public function getContacts( - ?bool $sync = NULL, - ?string $folderId = NULL, - ?string $sortBy = NULL, - ?bool $derefGroupMember = NULL, - ?bool $includeMemberOf = NULL, - ?bool $returnHiddenAttrs = NULL, - ?bool $returnCertInfo = NULL, - ?bool $wantImapUid = NULL, - ?int $maxMembers = NULL, + ?bool $sync = null, + ?string $folderId = null, + ?string $sortBy = null, + ?bool $derefGroupMember = null, + ?bool $includeMemberOf = null, + ?bool $returnHiddenAttrs = null, + ?bool $returnCertInfo = null, + ?bool $wantImapUid = null, + ?int $maxMembers = null, array $attributes = [], array $memberAttributes = [], array $contacts = [] @@ -782,7 +782,7 @@ public function getConv(ConversationSpec $conversation): ?Message\GetConvRespons * {@inheritdoc} */ public function getCustomMetadata( - SectionAttr $metadata, ?string $id = NULL + SectionAttr $metadata, ?string $id = null ): ?Message\GetCustomMetadataResponse { return $this->invoke(new Message\GetCustomMetadataRequest($metadata, $id)); @@ -832,12 +832,12 @@ public function getFilterRules(): ?Message\GetFilterRulesResponse * {@inheritdoc} */ public function getFolder( - ?GetFolderSpec $folder = NULL, - ?bool $isVisible = NULL, - ?bool $needGranteeName = NULL, - ?string $viewConstraint = NULL, - ?int $treeDepth = NULL, - ?bool $traverseMountpoints = NULL + ?GetFolderSpec $folder = null, + ?bool $isVisible = null, + ?bool $needGranteeName = null, + ?string $viewConstraint = null, + ?int $treeDepth = null, + ?bool $traverseMountpoints = null ): ?Message\GetFolderResponse { return $this->invoke(new Message\GetFolderRequest( @@ -856,10 +856,10 @@ public function getFolder( public function getFreeBusy( int $startTime, int $endTime, - ?string $uid = NULL, - ?string $id = NULL, - ?string $name = NULL, - ?string $excludeUid = NULL, + ?string $uid = null, + ?string $id = null, + ?string $name = null, + ?string $excludeUid = null, array $freebusyUsers = [] ): ?Message\GetFreeBusyResponse { @@ -878,7 +878,7 @@ public function getFreeBusy( * {@inheritdoc} */ public function getICal( - ?string $id = NULL, ?int $startTime = NULL, ?int $endTime = NULL + ?string $id = null, ?int $startTime = null, ?int $endTime = null ): ?Message\GetICalResponse { return $this->invoke(new Message\GetICalRequest( @@ -941,7 +941,7 @@ public function getMiniCal( int $startTime, int $endTime, array $folders = [], - ?CalTZInfo $timezone = NULL + ?CalTZInfo $timezone = null ): ?Message\GetMiniCalResponse { return $this->invoke(new Message\GetMiniCalRequest( @@ -1049,11 +1049,11 @@ public function getTag(): ?Message\GetTagResponse * {@inheritdoc} */ public function getTask( - ?bool $sync = NULL, - ?bool $includeContent = NULL, - ?bool $includeInvites = NULL, - ?string $uid = NULL, - ?string $id = NULL + ?bool $sync = null, + ?bool $includeContent = null, + ?bool $includeInvites = null, + ?string $uid = null, + ?string $id = null ): ?Message\GetTaskResponse { return $this->invoke(new Message\GetTaskRequest( @@ -1065,7 +1065,7 @@ public function getTask( * {@inheritdoc} */ public function getTaskSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetTaskSummariesResponse { return $this->invoke(new Message\GetTaskSummariesRequest( @@ -1077,7 +1077,7 @@ public function getTaskSummaries( * {@inheritdoc} */ public function getWorkingHours( - int $startTime, int $endTime, ?string $id = NULL, ?string $name = NULL + int $startTime, int $endTime, ?string $id = null, ?string $name = null ): ?Message\GetWorkingHoursResponse { return $this->invoke(new Message\GetWorkingHoursRequest( @@ -1120,7 +1120,7 @@ public function iCalReply(string $ical): ?Message\ICalReplyResponse /** * {@inheritdoc} */ - public function imapCopy(string $ids, ?MailItemType $type = NULL, int $folder = 0): ?Message\IMAPCopyResponse + public function imapCopy(string $ids, ?MailItemType $type = null, int $folder = 0): ?Message\IMAPCopyResponse { return $this->invoke(new Message\IMAPCopyRequest( $ids, $type, $folder @@ -1133,7 +1133,7 @@ public function imapCopy(string $ids, ?MailItemType $type = NULL, int $folder = public function importAppointments( ContentSpec $content, string $contentType = 'text/calendar', - ?string $folderId = NULL + ?string $folderId = null ): ?Message\ImportAppointmentsResponse { return $this->invoke(new Message\ImportAppointmentsRequest( @@ -1147,9 +1147,9 @@ public function importAppointments( public function importContacts( Content $content, string $contentType = 'text/csv', - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null ): ?Message\ImportContactsResponse { return $this->invoke(new Message\ImportContactsRequest( @@ -1203,16 +1203,16 @@ public function listIMAPSubscriptions(): ?Message\ListIMAPSubscriptionsResponse * {@inheritdoc} */ public function modifyAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\ModifyAppointmentResponse { return $this->invoke(new Message\ModifyAppointmentRequest( @@ -1234,10 +1234,10 @@ public function modifyAppointment( */ public function modifyContact( ModifyContactSpec $contact, - ?bool $replace = NULL, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $replace = null, + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\ModifyContactResponse { return $this->invoke(new Message\ModifyContactRequest( @@ -1248,7 +1248,7 @@ public function modifyContact( /** * {@inheritdoc} */ - public function modifyDataSource(?MailDataSource $dataSource = NULL): ?Message\ModifyDataSourceResponse + public function modifyDataSource(?MailDataSource $dataSource = null): ?Message\ModifyDataSourceResponse { return $this->invoke(new Message\ModifyDataSourceRequest($dataSource)); } @@ -1265,7 +1265,7 @@ public function modifyFilterRules(array $filterRules = []): ?Message\ModifyFilte * {@inheritdoc} */ public function modifyMailboxMetadata( - ?MailCustomMetadata $metadata = NULL + ?MailCustomMetadata $metadata = null ): ?Message\ModifyMailboxMetadataResponse { return $this->invoke(new Message\ModifyMailboxMetadataRequest($metadata)); @@ -1285,7 +1285,7 @@ public function modifyOutgoingFilterRules( * {@inheritdoc} */ public function modifyProfileImage( - ?string $uploadId = NULL, ?string $imageB64Data = NULL + ?string $uploadId = null, ?string $imageB64Data = null ): ?Message\ModifyProfileImageResponse { return $this->invoke(new Message\ModifyProfileImageRequest( @@ -1307,16 +1307,16 @@ public function modifySearchFolder( * {@inheritdoc} */ public function modifyTask( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\ModifyTaskResponse { return $this->invoke(new Message\ModifyTaskRequest( @@ -1345,10 +1345,10 @@ public function msgAction(ActionSelector $action): ?Message\MsgActionResponse * {@inheritdoc} */ public function noOp( - ?bool $wait = NULL, - ?bool $includeDelegates = NULL, - ?bool $enforceLimit = NULL, - ?int $timeout = NULL + ?bool $wait = null, + ?bool $includeDelegates = null, + ?bool $enforceLimit = null, + ?int $timeout = null ): ?Message\NoOpResponse { return $this->invoke(new Message\NoOpRequest( @@ -1368,7 +1368,7 @@ public function noteAction(NoteActionSelector $action): ?Message\NoteActionRespo * {@inheritdoc} */ public function openIMAPFolder( - string $folderId, int $limit, ?ImapCursorInfo $cursor = NULL + string $folderId, int $limit, ?ImapCursorInfo $cursor = null ): ?Message\OpenIMAPFolderResponse { return $this->invoke(new Message\OpenIMAPFolderRequest( @@ -1405,8 +1405,8 @@ public function recordIMAPSession(string $folderId): ?Message\RecordIMAPSessionR */ public function recoverAccount( string $email, - ?RecoverAccountOperation $op = NULL, - ?Channel $channel = NULL + ?RecoverAccountOperation $op = null, + ?Channel $channel = null ): ?Message\RecoverAccountResponse { return $this->invoke(new Message\RecoverAccountRequest( @@ -1434,7 +1434,7 @@ public function resetRecentMessageCount(): ?Message\ResetRecentMessageCountRespo * {@inheritdoc} */ public function restoreContacts( - string $fileName, ?RestoreResolve $resolve = NULL + string $fileName, ?RestoreResolve $resolve = null ): ?Message\RestoreContactsResponse { return $this->invoke(new Message\RestoreContactsRequest( @@ -1463,8 +1463,8 @@ public function saveDocument(DocumentSpec $doc): ?Message\SaveDocumentResponse */ public function saveDraft( SaveDraftMsg $msg, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\SaveDraftResponse { return $this->invoke(new Message\SaveDraftRequest( @@ -1497,37 +1497,37 @@ public function searchAction( */ function searchConv( string $conversationId = '', - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $nestMessages = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $nestMessages = null ): ?Message\SearchConvResponse { return $this->invoke(new Message\SearchConvRequest( @@ -1570,37 +1570,37 @@ function searchConv( * {@inheritdoc} */ public function search( - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $warmup = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $warmup = null ): ?Message\SearchResponse { return $this->invoke(new Message\SearchRequest( @@ -1652,12 +1652,12 @@ public function sendDeliveryReport(string $messageId): ?Message\SendDeliveryRepo public function sendInviteReply( string $id, int $componentNum, - ?VerbType $verb = NULL, - ?bool $updateOrganizer = NULL, - ?string $identityId = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?VerbType $verb = null, + ?bool $updateOrganizer = null, + ?string $identityId = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\SendInviteReplyResponse { return $this->invoke(new Message\SendInviteReplyRequest( @@ -1677,12 +1677,12 @@ public function sendInviteReply( */ public function sendMsg( MsgToSend $msg, - ?bool $needCalendarSentbyFixup = NULL, - ?bool $isCalendarForward = NULL, - ?bool $noSaveToSent = NULL, - ?bool $fetchSavedMsg = NULL, - ?string $sendUid = NULL, - ?bool $deliveryReport = NULL + ?bool $needCalendarSentbyFixup = null, + ?bool $isCalendarForward = null, + ?bool $noSaveToSent = null, + ?bool $fetchSavedMsg = null, + ?string $sendUid = null, + ?bool $deliveryReport = null ): ?Message\SendMsgResponse { return $this->invoke(new Message\SendMsgRequest( @@ -1700,7 +1700,7 @@ public function sendMsg( * {@inheritdoc} */ public function sendShareNotification( - Id $item, array $emailAddresses = [], ?ShareAction $action = NULL, ?string $notes = NULL + Id $item, array $emailAddresses = [], ?ShareAction $action = null, ?string $notes = null ): ?Message\SendShareNotificationResponse { return $this->invoke(new Message\SendShareNotificationRequest( @@ -1711,7 +1711,7 @@ public function sendShareNotification( /** * {@inheritdoc} */ - public function sendVerificationCode(?string $address = NULL): ?Message\SendVerificationCodeResponse + public function sendVerificationCode(?string $address = null): ?Message\SendVerificationCodeResponse { return $this->invoke(new Message\SendVerificationCodeRequest($address)); } @@ -1720,13 +1720,13 @@ public function sendVerificationCode(?string $address = NULL): ?Message\SendVeri * {@inheritdoc} */ public function setAppointment( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?bool $noNextAlarm = NULL, - ?int $nextAlarm = NULL, - ?SetCalendarItemInfo $defaultId = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?bool $noNextAlarm = null, + ?int $nextAlarm = null, + ?SetCalendarItemInfo $defaultId = null, array $exceptions = [], array $cancellations = [], array $replies = [] @@ -1770,10 +1770,10 @@ public function setMailboxMetadata( * {@inheritdoc} */ public function setRecoveryAccount( - ?RecoveryAccountOperation $op = NULL, - ?string $recoveryAccount = NULL, - ?string $verificationCode = NULL, - ?Channel $channel = NULL + ?RecoveryAccountOperation $op = null, + ?string $recoveryAccount = null, + ?string $verificationCode = null, + ?Channel $channel = null ): ?Message\SetRecoveryAccountResponse { return $this->invoke(new Message\SetRecoveryAccountRequest( @@ -1785,13 +1785,13 @@ public function setRecoveryAccount( * {@inheritdoc} */ public function setTask( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?bool $noNextAlarm = NULL, - ?int $nextAlarm = NULL, - ?SetCalendarItemInfo $defaultId = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?bool $noNextAlarm = null, + ?int $nextAlarm = null, + ?SetCalendarItemInfo $defaultId = null, array $exceptions = [], array $cancellations = [], array $replies = [] @@ -1823,13 +1823,13 @@ public function snoozeCalendarItemAlarm(array $alarms = []): ?Message\SnoozeCale * {@inheritdoc} */ public function sync( - ?string $token = NULL, - ?int $calendarCutoff = NULL, - ?int $msgCutoff = NULL, - ?string $folderId = NULL, - ?bool $typedDeletes = NULL, - ?int $deleteLimit = NULL, - ?int $changeLimit = NULL + ?string $token = null, + ?int $calendarCutoff = null, + ?int $msgCutoff = null, + ?string $folderId = null, + ?bool $typedDeletes = null, + ?int $deleteLimit = null, + ?int $changeLimit = null ): ?Message\SyncResponse { return $this->invoke(new Message\SyncRequest( @@ -1854,7 +1854,7 @@ public function tagAction(TagActionSelector $action): ?Message\TagActionResponse /** * {@inheritdoc} */ - public function testDataSource(?MailDataSource $dataSource = NULL): ?Message\TestDataSourceResponse + public function testDataSource(?MailDataSource $dataSource = null): ?Message\TestDataSourceResponse { return $this->invoke(new Message\TestDataSourceRequest($dataSource)); } @@ -1863,7 +1863,7 @@ public function testDataSource(?MailDataSource $dataSource = NULL): ?Message\Tes * {@inheritdoc} */ public function verifyCode( - ?string $address = NULL, ?string $verificationCode = NULL + ?string $address = null, ?string $verificationCode = null ): ?Message\VerifyCodeResponse { return $this->invoke(new Message\VerifyCodeRequest( @@ -1877,10 +1877,10 @@ public function verifyCode( public function waitSet( string $waitSetId, string $lastKnownSeqNo, - ?bool $block = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, - ?bool $expand = NULL, + ?bool $block = null, + ?string $defaultInterests = null, + ?int $timeout = null, + ?bool $expand = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] diff --git a/src/Mail/MailApiInterface.php b/src/Mail/MailApiInterface.php index ef5f0d728..83420d45b 100644 --- a/src/Mail/MailApiInterface.php +++ b/src/Mail/MailApiInterface.php @@ -109,7 +109,7 @@ interface MailApiInterface extends AccountApiInterface * @return Message\AddAppointmentInviteResponse */ function addAppointmentInvite( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ): ?Message\AddAppointmentInviteResponse; /** @@ -128,7 +128,7 @@ function addComment(AddedComment $comment): ?Message\AddCommentResponse; * @param bool $filterSent * @return Message\AddMsgResponse */ - function addMsg(AddMsgSpec $msg, ?bool $filterSent = NULL): ?Message\AddMsgResponse; + function addMsg(AddMsgSpec $msg, ?bool $filterSent = null): ?Message\AddMsgResponse; /** * Add a task invite @@ -138,7 +138,7 @@ function addMsg(AddMsgSpec $msg, ?bool $filterSent = NULL): ?Message\AddMsgRespo * @return Message\AddTaskInviteResponse */ function addTaskInvite( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ): ?Message\AddTaskInviteResponse; /** @@ -163,7 +163,7 @@ function announceOrganizerChange(string $id): ?Message\AnnounceOrganizerChangeRe * @return Message\ApplyFilterRulesResponse */ function applyFilterRules( - array $filterRules = [], ?IdsAttr $msgIds = NULL, ?string $query = NULL + array $filterRules = [], ?IdsAttr $msgIds = null, ?string $query = null ): ?Message\ApplyFilterRulesResponse; /** @@ -180,7 +180,7 @@ function applyFilterRules( * @return Message\ApplyOutgoingFilterRulesResponse */ function applyOutgoingFilterRules( - array $filterRules = [], ?IdsAttr $msgIds = NULL, ?string $query = NULL + array $filterRules = [], ?IdsAttr $msgIds = null, ?string $query = null ): ?Message\ApplyOutgoingFilterRulesResponse; /** @@ -195,10 +195,10 @@ function applyOutgoingFilterRules( */ function autoComplete( string $name, - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $folderList = NULL, - ?bool $includeGal = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $folderList = null, + ?bool $includeGal = null ): ?Message\AutoCompleteResponse; /** @@ -230,7 +230,7 @@ function bounceMsg(BounceMsgSpec $msg): ?Message\BounceMsgResponse; * @return Message\BrowseResponse */ function browse( - ?BrowseBy $browseBy = NULL, ?string $regex = NULL, ?int $max = NULL + ?BrowseBy $browseBy = null, ?string $regex = null, ?int $max = null ): ?Message\BrowseResponse; /** @@ -248,13 +248,13 @@ function browse( * @return Message\CancelAppointmentResponse */ function cancelAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?InstanceRecurIdInfo $instance = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?InstanceRecurIdInfo $instance = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\CancelAppointmentResponse; /** @@ -270,13 +270,13 @@ function cancelAppointment( * @return Message\CancelTaskResponse */ function cancelTask( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?InstanceRecurIdInfo $instance = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?InstanceRecurIdInfo $instance = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\CancelTaskResponse; /** @@ -288,7 +288,7 @@ function cancelTask( * @return Message\CheckPermissionResponse */ function checkPermission( - ?TargetSpec $target = NULL, array $rights = [] + ?TargetSpec $target = null, array $rights = [] ): ?Message\CheckPermissionResponse; /** @@ -306,10 +306,10 @@ function checkPermission( * @return Message\CheckRecurConflictsResponse */ function checkRecurConflicts( - ?int $startTime = NULL, - ?int $endTime = NULL, - ?bool $allInstances = NULL, - ?string $excludeUid = NULL, + ?int $startTime = null, + ?int $endTime = null, + ?bool $allInstances = null, + ?string $excludeUid = null, array $timezones = [], array $components = [], array $freebusyUsers = [] @@ -326,7 +326,7 @@ function checkRecurConflicts( * @return Message\CheckSpellingResponse */ function checkSpelling( - ?string $dictionary = NULL, ?string $ignoreList = NULL, ?string $text = NULL + ?string $dictionary = null, ?string $ignoreList = null, ?string $text = null ): ?Message\CheckSpellingResponse; /** @@ -338,7 +338,7 @@ function checkSpelling( * @return Message\CompleteTaskInstanceResponse */ function completeTaskInstance( - DtTimeInfo $exceptionId, string $id, ?CalTZInfo $timezone = NULL + DtTimeInfo $exceptionId, string $id, ?CalTZInfo $timezone = null ): ?Message\CompleteTaskInstanceResponse; /** @@ -371,11 +371,11 @@ function convAction(ConvActionSelector $action): ?Message\ConvActionResponse; * @return Message\CounterAppointmentResponse */ function counterAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null ): ?Message\CounterAppointmentResponse; /** @@ -394,16 +394,16 @@ function counterAppointment( * @return Message\CreateAppointmentExceptionResponse */ function createAppointmentException( - ?string $id = NULL, - ?int $numComponents = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $numComponents = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateAppointmentExceptionResponse; /** @@ -418,12 +418,12 @@ function createAppointmentException( * @return Message\CreateAppointmentResponse */ function createAppointment( - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateAppointmentResponse; /** @@ -437,9 +437,9 @@ function createAppointment( */ function createContact( ContactSpec $contact, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\CreateContactResponse; /** @@ -450,7 +450,7 @@ function createContact( * @param MailDataSource $dataSource * @return Message\CreateDataSourceResponse */ - function createDataSource(?MailDataSource $dataSource = NULL): ?Message\CreateDataSourceResponse; + function createDataSource(?MailDataSource $dataSource = null): ?Message\CreateDataSourceResponse; /** * Create folder @@ -490,7 +490,7 @@ function createSearchFolder(NewSearchFolderSpec $searchFolder): ?Message\CreateS * @param TagSpec $tag * @return Message\CreateTagResponse */ - function createTag(?TagSpec $tag = NULL): ?Message\CreateTagResponse; + function createTag(?TagSpec $tag = null): ?Message\CreateTagResponse; /** * Create task exception. @@ -508,16 +508,16 @@ function createTag(?TagSpec $tag = NULL): ?Message\CreateTagResponse; * @return Message\CreateTaskExceptionResponse */ function createTaskException( - ?string $id = NULL, - ?int $numComponents = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $numComponents = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateTaskExceptionResponse; /** @@ -532,12 +532,12 @@ function createTaskException( * @return Message\CreateTaskResponse */ function createTask( - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\CreateTaskResponse; /** @@ -551,7 +551,7 @@ function createTask( * @return Message\CreateWaitSetResponse */ function createWaitSet( - string $defaultInterests, ?bool $allAccounts = NULL, array $accounts = [] + string $defaultInterests, ?bool $allAccounts = null, array $accounts = [] ): ?Message\CreateWaitSetResponse; /** @@ -562,7 +562,7 @@ function createWaitSet( * @param Msg $msg * @return Message\DeclineCounterAppointmentResponse */ - function declineCounterAppointment(?Msg $msg = NULL): ?Message\DeclineCounterAppointmentResponse; + function declineCounterAppointment(?Msg $msg = null): ?Message\DeclineCounterAppointmentResponse; /** * Deletes the given data sources. @@ -592,7 +592,7 @@ function destroyWaitSet(string $waitSetId): ?Message\DestroyWaitSetResponse; * @param DiffDocumentVersionSpec $doc * @return Message\DiffDocumentResponse */ - function diffDocument(?DiffDocumentVersionSpec $doc = NULL): ?Message\DiffDocumentResponse; + function diffDocument(?DiffDocumentVersionSpec $doc = null): ?Message\DiffDocumentResponse; /** * Dismiss calendar item alarm @@ -653,10 +653,10 @@ function expandRecur( */ function exportContacts( string $contentType, - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL, - ?string $csvDelimiter = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null, + ?string $csvDelimiter = null ): ?Message\ExportContactsResponse; /** @@ -794,7 +794,7 @@ function folderAction(FolderActionSelector $action): ?Message\FolderActionRespon * @return Message\ForwardAppointmentInviteResponse */ function forwardAppointmentInvite( - ?string $id = NULL, ?Msg $msg = NULL + ?string $id = null, ?Msg $msg = null ): ?Message\ForwardAppointmentInviteResponse; /** @@ -807,10 +807,10 @@ function forwardAppointmentInvite( * @return Message\ForwardAppointmentResponse */ function forwardAppointment( - ?string $id = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\ForwardAppointmentResponse; /** @@ -832,11 +832,11 @@ function generateUUID(): ?Message\GenerateUUIDResponse; * @return Message\GetAppointmentResponse */ function getAppointment( - ?bool $sync = NULL, - ?bool $includeContent = NULL, - ?bool $includeInvites = NULL, - ?string $uid = NULL, - ?string $id = NULL + ?bool $sync = null, + ?bool $includeContent = null, + ?bool $includeInvites = null, + ?string $uid = null, + ?string $id = null ): ?Message\GetAppointmentResponse; /** @@ -871,7 +871,7 @@ function getAppointmentIdsSince( * @return Message\GetApptSummariesResponse */ function getApptSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetApptSummariesResponse; /** @@ -883,7 +883,7 @@ function getApptSummaries( * @return Message\GetCalendarItemSummariesResponse */ function getCalendarItemSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetCalendarItemSummariesResponse; /** @@ -930,15 +930,15 @@ function getContactBackupList(): ?Message\GetContactBackupListResponse; * @return Message\GetContactsResponse */ function getContacts( - ?bool $sync = NULL, - ?string $folderId = NULL, - ?string $sortBy = NULL, - ?bool $derefGroupMember = NULL, - ?bool $includeMemberOf = NULL, - ?bool $returnHiddenAttrs = NULL, - ?bool $returnCertInfo = NULL, - ?bool $wantImapUid = NULL, - ?int $maxMembers = NULL, + ?bool $sync = null, + ?string $folderId = null, + ?string $sortBy = null, + ?bool $derefGroupMember = null, + ?bool $includeMemberOf = null, + ?bool $returnHiddenAttrs = null, + ?bool $returnCertInfo = null, + ?bool $wantImapUid = null, + ?int $maxMembers = null, array $attributes = [], array $memberAttributes = [], array $contacts = [] @@ -967,7 +967,7 @@ function getConv(ConversationSpec $conversation): ?Message\GetConvResponse; * @return Message\GetCustomMetadataResponse */ function getCustomMetadata( - SectionAttr $metadata, ?string $id = NULL + SectionAttr $metadata, ?string $id = null ): ?Message\GetCustomMetadataResponse; /** @@ -1027,12 +1027,12 @@ function getFilterRules(): ?Message\GetFilterRulesResponse; * @return Message\GetFolderResponse */ function getFolder( - ?GetFolderSpec $folder = NULL, - ?bool $isVisible = NULL, - ?bool $needGranteeName = NULL, - ?string $viewConstraint = NULL, - ?int $treeDepth = NULL, - ?bool $traverseMountpoints = NULL + ?GetFolderSpec $folder = null, + ?bool $isVisible = null, + ?bool $needGranteeName = null, + ?string $viewConstraint = null, + ?int $treeDepth = null, + ?bool $traverseMountpoints = null ): ?Message\GetFolderResponse; /** @@ -1052,10 +1052,10 @@ function getFolder( function getFreeBusy( int $startTime, int $endTime, - ?string $uid = NULL, - ?string $id = NULL, - ?string $name = NULL, - ?string $excludeUid = NULL, + ?string $uid = null, + ?string $id = null, + ?string $name = null, + ?string $excludeUid = null, array $freebusyUsers = [] ): ?Message\GetFreeBusyResponse; @@ -1071,7 +1071,7 @@ function getFreeBusy( * @return Message\GetICalResponse */ function getICal( - ?string $id = NULL, ?int $startTime = NULL, ?int $endTime = NULL + ?string $id = null, ?int $startTime = null, ?int $endTime = null ): ?Message\GetICalResponse; /** @@ -1139,7 +1139,7 @@ function getMiniCal( int $startTime, int $endTime, array $folders = [], - ?CalTZInfo $timezone = NULL + ?CalTZInfo $timezone = null ): ?Message\GetMiniCalResponse; /** @@ -1248,11 +1248,11 @@ function getTag(): ?Message\GetTagResponse; * @return Message\GetTaskResponse */ function getTask( - ?bool $sync = NULL, - ?bool $includeContent = NULL, - ?bool $includeInvites = NULL, - ?string $uid = NULL, - ?string $id = NULL + ?bool $sync = null, + ?bool $includeContent = null, + ?bool $includeInvites = null, + ?string $uid = null, + ?string $id = null ): ?Message\GetTaskResponse; /** @@ -1264,7 +1264,7 @@ function getTask( * @return Message\GetTaskSummariesResponse */ function getTaskSummaries( - int $startTime, int $endTime, ?string $folderId = NULL + int $startTime, int $endTime, ?string $folderId = null ): ?Message\GetTaskSummariesResponse; /** @@ -1280,7 +1280,7 @@ function getTaskSummaries( * @return Message\GetWorkingHoursResponse */ function getWorkingHours( - int $startTime, int $endTime, ?string $id = NULL, ?string $name = NULL + int $startTime, int $endTime, ?string $id = null, ?string $name = null ): ?Message\GetWorkingHoursResponse; /** @@ -1326,7 +1326,7 @@ function iCalReply(string $ical): ?Message\ICalReplyResponse; * @param int $folder * @return Message\IMAPCopyResponse */ - function imapCopy(string $ids, ?MailItemType $type = NULL, int $folder = 0): ?Message\IMAPCopyResponse; + function imapCopy(string $ids, ?MailItemType $type = null, int $folder = 0): ?Message\IMAPCopyResponse; /** * Import appointments @@ -1339,7 +1339,7 @@ function imapCopy(string $ids, ?MailItemType $type = NULL, int $folder = 0): ?Me function importAppointments( ContentSpec $content, string $contentType = 'text/calendar', - ?string $folderId = NULL + ?string $folderId = null ): ?Message\ImportAppointmentsResponse; /** @@ -1355,9 +1355,9 @@ function importAppointments( function importContacts( Content $content, string $contentType = 'text/csv', - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null ): ?Message\ImportContactsResponse; /** @@ -1423,16 +1423,16 @@ function listIMAPSubscriptions(): ?Message\ListIMAPSubscriptionsResponse; * @return Message\ModifyAppointmentResponse */ function modifyAppointment( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\ModifyAppointmentResponse; /** @@ -1449,10 +1449,10 @@ function modifyAppointment( */ function modifyContact( ModifyContactSpec $contact, - ?bool $replace = NULL, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $replace = null, + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\ModifyContactResponse; /** @@ -1464,7 +1464,7 @@ function modifyContact( * @param MailDataSource $dataSource * @return Message\ModifyDataSourceResponse */ - function modifyDataSource(?MailDataSource $dataSource = NULL): ?Message\ModifyDataSourceResponse; + function modifyDataSource(?MailDataSource $dataSource = null): ?Message\ModifyDataSourceResponse; /** * Modify Filter rules @@ -1485,7 +1485,7 @@ function modifyFilterRules(array $filterRules = []): ?Message\ModifyFilterRulesR * @return Message\ModifyMailboxMetadataResponse */ function modifyMailboxMetadata( - ?MailCustomMetadata $metadata = NULL + ?MailCustomMetadata $metadata = null ): ?Message\ModifyMailboxMetadataResponse; /** @@ -1506,7 +1506,7 @@ function modifyOutgoingFilterRules( * @return Message\ModifyProfileImageResponse */ function modifyProfileImage( - ?string $uploadId = NULL, ?string $imageB64Data = NULL + ?string $uploadId = null, ?string $imageB64Data = null ): ?Message\ModifyProfileImageResponse; /** @@ -1535,16 +1535,16 @@ function modifySearchFolder( * @return Message\ModifyTaskResponse */ function modifyTask( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ): ?Message\ModifyTaskResponse; /** @@ -1591,10 +1591,10 @@ function msgAction(ActionSelector $action): ?Message\MsgActionResponse; * @return Message\NoOpResponse */ function noOp( - ?bool $wait = NULL, - ?bool $includeDelegates = NULL, - ?bool $enforceLimit = NULL, - ?int $timeout = NULL + ?bool $wait = null, + ?bool $includeDelegates = null, + ?bool $enforceLimit = null, + ?int $timeout = null ): ?Message\NoOpResponse; /** @@ -1614,7 +1614,7 @@ function noteAction(NoteActionSelector $action): ?Message\NoteActionResponse; * @return Message\OpenIMAPFolderResponse */ function openIMAPFolder( - string $folderId, int $limit, ?ImapCursorInfo $cursor = NULL + string $folderId, int $limit, ?ImapCursorInfo $cursor = null ): ?Message\OpenIMAPFolderResponse; /** @@ -1654,8 +1654,8 @@ function recordIMAPSession(string $folderId): ?Message\RecordIMAPSessionResponse */ function recoverAccount( string $email, - ?RecoverAccountOperation $op = NULL, - ?Channel $channel = NULL + ?RecoverAccountOperation $op = null, + ?Channel $channel = null ): ?Message\RecoverAccountResponse; /** @@ -1684,7 +1684,7 @@ function resetRecentMessageCount(): ?Message\ResetRecentMessageCountResponse; * @return Message\RestoreContactsResponse */ function restoreContacts( - string $fileName, ?RestoreResolve $resolve = NULL + string $fileName, ?RestoreResolve $resolve = null ): ?Message\RestoreContactsResponse; /** @@ -1751,8 +1751,8 @@ function saveDocument(DocumentSpec $doc): ?Message\SaveDocumentResponse; */ function saveDraft( SaveDraftMsg $msg, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ): ?Message\SaveDraftResponse; /** @@ -1813,37 +1813,37 @@ function searchAction( */ function searchConv( string $conversationId = '', - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $nestMessages = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $nestMessages = null ): ?Message\SearchConvResponse; /** @@ -1885,37 +1885,37 @@ function searchConv( * @return Message\SearchResponse */ function search( - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $warmup = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $warmup = null ): ?Message\SearchResponse; /** @@ -1940,12 +1940,12 @@ function sendDeliveryReport(string $messageId): ?Message\SendDeliveryReportRespo function sendInviteReply( string $id, int $componentNum, - ?VerbType $verb = NULL, - ?bool $updateOrganizer = NULL, - ?string $identityId = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?VerbType $verb = null, + ?bool $updateOrganizer = null, + ?string $identityId = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ): ?Message\SendInviteReplyResponse; /** @@ -1981,12 +1981,12 @@ function sendInviteReply( */ function sendMsg( MsgToSend $msg, - ?bool $needCalendarSentbyFixup = NULL, - ?bool $isCalendarForward = NULL, - ?bool $noSaveToSent = NULL, - ?bool $fetchSavedMsg = NULL, - ?string $sendUid = NULL, - ?bool $deliveryReport = NULL + ?bool $needCalendarSentbyFixup = null, + ?bool $isCalendarForward = null, + ?bool $noSaveToSent = null, + ?bool $fetchSavedMsg = null, + ?string $sendUid = null, + ?bool $deliveryReport = null ): ?Message\SendMsgResponse; /** @@ -2000,7 +2000,7 @@ function sendMsg( * @return Message\SendShareNotificationResponse */ function sendShareNotification( - Id $item, array $emailAddresses = [], ?ShareAction $action = NULL, ?string $notes = NULL + Id $item, array $emailAddresses = [], ?ShareAction $action = null, ?string $notes = null ): ?Message\SendShareNotificationResponse; /** @@ -2010,7 +2010,7 @@ function sendShareNotification( * @return Message\SendVerificationCodeResponse */ function sendVerificationCode( - ?string $address = NULL + ?string $address = null ): ?Message\SendVerificationCodeResponse; /** @@ -2034,13 +2034,13 @@ function sendVerificationCode( * @return Message\SetAppointmentResponse */ function setAppointment( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?bool $noNextAlarm = NULL, - ?int $nextAlarm = NULL, - ?SetCalendarItemInfo $defaultId = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?bool $noNextAlarm = null, + ?int $nextAlarm = null, + ?SetCalendarItemInfo $defaultId = null, array $exceptions = [], array $cancellations = [], array $replies = [] @@ -2082,10 +2082,10 @@ function setMailboxMetadata( * @return Message\SetRecoveryAccountResponse */ function setRecoveryAccount( - ?RecoveryAccountOperation $op = NULL, - ?string $recoveryAccount = NULL, - ?string $verificationCode = NULL, - ?Channel $channel = NULL + ?RecoveryAccountOperation $op = null, + ?string $recoveryAccount = null, + ?string $verificationCode = null, + ?Channel $channel = null ): ?Message\SetRecoveryAccountResponse; /** @@ -2105,13 +2105,13 @@ function setRecoveryAccount( * @return Message\SetTaskResponse */ function setTask( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?bool $noNextAlarm = NULL, - ?int $nextAlarm = NULL, - ?SetCalendarItemInfo $defaultId = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?bool $noNextAlarm = null, + ?int $nextAlarm = null, + ?SetCalendarItemInfo $defaultId = null, array $exceptions = [], array $cancellations = [], array $replies = [] @@ -2145,13 +2145,13 @@ function snoozeCalendarItemAlarm(array $alarms = []): ?Message\SnoozeCalendarIte * @return Message\SyncResponse */ function sync( - ?string $token = NULL, - ?int $calendarCutoff = NULL, - ?int $msgCutoff = NULL, - ?string $folderId = NULL, - ?bool $typedDeletes = NULL, - ?int $deleteLimit = NULL, - ?int $changeLimit = NULL + ?string $token = null, + ?int $calendarCutoff = null, + ?int $msgCutoff = null, + ?string $folderId = null, + ?bool $typedDeletes = null, + ?int $deleteLimit = null, + ?int $changeLimit = null ): ?Message\SyncResponse; /** @@ -2170,7 +2170,7 @@ function tagAction(TagActionSelector $action): ?Message\TagActionResponse; * @param MailDataSource $dataSource * @return Message\TestDataSourceResponse */ - function testDataSource(?MailDataSource $dataSource = NULL): ?Message\TestDataSourceResponse; + function testDataSource(?MailDataSource $dataSource = null): ?Message\TestDataSourceResponse; /** * Validate the verification code sent to a device. @@ -2182,7 +2182,7 @@ function testDataSource(?MailDataSource $dataSource = NULL): ?Message\TestDataSo * @return Message\VerifyCodeResponse */ function verifyCode( - ?string $address = NULL, ?string $verificationCode = NULL + ?string $address = null, ?string $verificationCode = null ): ?Message\VerifyCodeResponse; /** @@ -2223,10 +2223,10 @@ function verifyCode( function waitSet( string $waitSetId, string $lastKnownSeqNo, - ?bool $block = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, - ?bool $expand = NULL, + ?bool $block = null, + ?string $defaultInterests = null, + ?int $timeout = null, + ?bool $expand = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] diff --git a/src/Mail/Message/AddAppointmentInviteBody.php b/src/Mail/Message/AddAppointmentInviteBody.php index a49c30686..24b1b4b36 100644 --- a/src/Mail/Message/AddAppointmentInviteBody.php +++ b/src/Mail/Message/AddAppointmentInviteBody.php @@ -33,7 +33,7 @@ class AddAppointmentInviteBody extends SoapBody #[SerializedName('AddAppointmentInviteRequest')] #[Type(AddAppointmentInviteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddAppointmentInviteBody extends SoapBody #[SerializedName('AddAppointmentInviteResponse')] #[Type(AddAppointmentInviteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddAppointmentInviteBody extends SoapBody * @return self */ public function __construct( - ?AddAppointmentInviteRequest $request = NULL, ?AddAppointmentInviteResponse $response = NULL + ?AddAppointmentInviteRequest $request = null, ?AddAppointmentInviteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AddAppointmentInviteEnvelope.php b/src/Mail/Message/AddAppointmentInviteEnvelope.php index 3fd87c806..92c899391 100644 --- a/src/Mail/Message/AddAppointmentInviteEnvelope.php +++ b/src/Mail/Message/AddAppointmentInviteEnvelope.php @@ -35,7 +35,7 @@ class AddAppointmentInviteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddAppointmentInviteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddAppointmentInviteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddAppointmentInviteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddAppointmentInviteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AddAppointmentInviteRequest.php b/src/Mail/Message/AddAppointmentInviteRequest.php index 19541e77c..2e85ae2e1 100644 --- a/src/Mail/Message/AddAppointmentInviteRequest.php +++ b/src/Mail/Message/AddAppointmentInviteRequest.php @@ -42,7 +42,7 @@ class AddAppointmentInviteRequest extends SoapRequest * @return self */ public function __construct( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ) { $this->__traitConstruct($partStat, $msg); diff --git a/src/Mail/Message/AddAppointmentInviteResponse.php b/src/Mail/Message/AddAppointmentInviteResponse.php index c6895fbaa..152b169d0 100644 --- a/src/Mail/Message/AddAppointmentInviteResponse.php +++ b/src/Mail/Message/AddAppointmentInviteResponse.php @@ -66,16 +66,16 @@ class AddAppointmentInviteResponse extends SoapResponse * @return self */ public function __construct( - ?int $calItemId = NULL, ?int $invId = NULL, ?int $componentNum = NULL + ?int $calItemId = null, ?int $invId = null, ?int $componentNum = null ) { - if (NULL !== $calItemId) { + if (null !== $calItemId) { $this->setCalItemId($calItemId); } - if (NULL !== $invId) { + if (null !== $invId) { $this->setInvId($invId); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } } diff --git a/src/Mail/Message/AddCommentBody.php b/src/Mail/Message/AddCommentBody.php index 2a738e684..aac962b06 100644 --- a/src/Mail/Message/AddCommentBody.php +++ b/src/Mail/Message/AddCommentBody.php @@ -33,7 +33,7 @@ class AddCommentBody extends SoapBody #[SerializedName('AddCommentRequest')] #[Type(AddCommentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddCommentBody extends SoapBody #[SerializedName('AddCommentResponse')] #[Type(AddCommentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddCommentBody extends SoapBody * @return self */ public function __construct( - ?AddCommentRequest $request = NULL, ?AddCommentResponse $response = NULL + ?AddCommentRequest $request = null, ?AddCommentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AddCommentEnvelope.php b/src/Mail/Message/AddCommentEnvelope.php index e8a177e78..f4ce25e94 100644 --- a/src/Mail/Message/AddCommentEnvelope.php +++ b/src/Mail/Message/AddCommentEnvelope.php @@ -35,7 +35,7 @@ class AddCommentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddCommentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddCommentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddCommentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddCommentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AddCommentResponse.php b/src/Mail/Message/AddCommentResponse.php index 8df82ed4a..6ef345d11 100644 --- a/src/Mail/Message/AddCommentResponse.php +++ b/src/Mail/Message/AddCommentResponse.php @@ -41,7 +41,7 @@ class AddCommentResponse extends SoapResponse * @param Id $comment * @return self */ - public function __construct(?Id $comment = NULL) + public function __construct(?Id $comment = null) { $this->comment = $comment; } diff --git a/src/Mail/Message/AddMsgBody.php b/src/Mail/Message/AddMsgBody.php index 1f0d66f3a..b09e99d3a 100644 --- a/src/Mail/Message/AddMsgBody.php +++ b/src/Mail/Message/AddMsgBody.php @@ -33,7 +33,7 @@ class AddMsgBody extends SoapBody #[SerializedName('AddMsgRequest')] #[Type(AddMsgRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddMsgBody extends SoapBody #[SerializedName('AddMsgResponse')] #[Type(AddMsgResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddMsgBody extends SoapBody * @return self */ public function __construct( - ?AddMsgRequest $request = NULL, ?AddMsgResponse $response = NULL + ?AddMsgRequest $request = null, ?AddMsgResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AddMsgEnvelope.php b/src/Mail/Message/AddMsgEnvelope.php index 9fc09cc4a..7af1c244c 100644 --- a/src/Mail/Message/AddMsgEnvelope.php +++ b/src/Mail/Message/AddMsgEnvelope.php @@ -35,7 +35,7 @@ class AddMsgEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddMsgBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddMsgEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddMsgBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddMsgBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AddMsgRequest.php b/src/Mail/Message/AddMsgRequest.php index 7656da4a2..25e257f30 100644 --- a/src/Mail/Message/AddMsgRequest.php +++ b/src/Mail/Message/AddMsgRequest.php @@ -56,10 +56,10 @@ class AddMsgRequest extends SoapRequest * @param bool $filterSent * @return self */ - public function __construct(AddMsgSpec $msg, ?bool $filterSent = NULL) + public function __construct(AddMsgSpec $msg, ?bool $filterSent = null) { $this->setMsg($msg); - if (NULL !== $filterSent) { + if (null !== $filterSent) { $this->setFilterSent($filterSent); } } diff --git a/src/Mail/Message/AddMsgResponse.php b/src/Mail/Message/AddMsgResponse.php index 556be9abc..b6666075f 100644 --- a/src/Mail/Message/AddMsgResponse.php +++ b/src/Mail/Message/AddMsgResponse.php @@ -53,7 +53,7 @@ class AddMsgResponse extends SoapResponse * @param MessageSummary $message * @return self */ - public function __construct(?MessageSummary $message = NULL) + public function __construct(?MessageSummary $message = null) { if ($message instanceof MessageSummary) { $this->setMessage($message); @@ -68,7 +68,7 @@ public function __construct(?MessageSummary $message = NULL) */ public function setMessage(MessageSummary $message): self { - $this->message = $this->chatMessage = NULL; + $this->message = $this->chatMessage = null; if ($message instanceof ChatSummary) { $this->chatMessage = $message; } diff --git a/src/Mail/Message/AddTaskInviteBody.php b/src/Mail/Message/AddTaskInviteBody.php index 8ea7c2c20..493df2ce1 100644 --- a/src/Mail/Message/AddTaskInviteBody.php +++ b/src/Mail/Message/AddTaskInviteBody.php @@ -33,7 +33,7 @@ class AddTaskInviteBody extends SoapBody #[SerializedName('AddTaskInviteRequest')] #[Type(AddTaskInviteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AddTaskInviteBody extends SoapBody #[SerializedName('AddTaskInviteResponse')] #[Type(AddTaskInviteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AddTaskInviteBody extends SoapBody * @return self */ public function __construct( - ?AddTaskInviteRequest $request = NULL, ?AddTaskInviteResponse $response = NULL + ?AddTaskInviteRequest $request = null, ?AddTaskInviteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AddTaskInviteEnvelope.php b/src/Mail/Message/AddTaskInviteEnvelope.php index 31c515e0a..54fee459c 100644 --- a/src/Mail/Message/AddTaskInviteEnvelope.php +++ b/src/Mail/Message/AddTaskInviteEnvelope.php @@ -35,7 +35,7 @@ class AddTaskInviteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AddTaskInviteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AddTaskInviteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AddTaskInviteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AddTaskInviteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AddTaskInviteRequest.php b/src/Mail/Message/AddTaskInviteRequest.php index 642f5f532..fe15c3ae2 100644 --- a/src/Mail/Message/AddTaskInviteRequest.php +++ b/src/Mail/Message/AddTaskInviteRequest.php @@ -38,7 +38,7 @@ class AddTaskInviteRequest extends SoapRequest * @return self */ public function __construct( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ) { $this->__traitConstruct($partStat, $msg); diff --git a/src/Mail/Message/AnnounceOrganizerChangeBody.php b/src/Mail/Message/AnnounceOrganizerChangeBody.php index ac3e72174..da19b417c 100644 --- a/src/Mail/Message/AnnounceOrganizerChangeBody.php +++ b/src/Mail/Message/AnnounceOrganizerChangeBody.php @@ -33,7 +33,7 @@ class AnnounceOrganizerChangeBody extends SoapBody #[SerializedName('AnnounceOrganizerChangeRequest')] #[Type(AnnounceOrganizerChangeRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AnnounceOrganizerChangeBody extends SoapBody #[SerializedName('AnnounceOrganizerChangeResponse')] #[Type(AnnounceOrganizerChangeResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AnnounceOrganizerChangeBody extends SoapBody * @return self */ public function __construct( - ?AnnounceOrganizerChangeRequest $request = NULL, ?AnnounceOrganizerChangeResponse $response = NULL + ?AnnounceOrganizerChangeRequest $request = null, ?AnnounceOrganizerChangeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AnnounceOrganizerChangeEnvelope.php b/src/Mail/Message/AnnounceOrganizerChangeEnvelope.php index 749f5ed81..573f8eadd 100644 --- a/src/Mail/Message/AnnounceOrganizerChangeEnvelope.php +++ b/src/Mail/Message/AnnounceOrganizerChangeEnvelope.php @@ -35,7 +35,7 @@ class AnnounceOrganizerChangeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AnnounceOrganizerChangeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AnnounceOrganizerChangeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AnnounceOrganizerChangeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AnnounceOrganizerChangeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ApplyFilterRulesBody.php b/src/Mail/Message/ApplyFilterRulesBody.php index 6aae90dec..3fe6933fa 100644 --- a/src/Mail/Message/ApplyFilterRulesBody.php +++ b/src/Mail/Message/ApplyFilterRulesBody.php @@ -33,7 +33,7 @@ class ApplyFilterRulesBody extends SoapBody #[SerializedName('ApplyFilterRulesRequest')] #[Type(ApplyFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ApplyFilterRulesBody extends SoapBody #[SerializedName('ApplyFilterRulesResponse')] #[Type(ApplyFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ApplyFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ApplyFilterRulesRequest $request = NULL, ?ApplyFilterRulesResponse $response = NULL + ?ApplyFilterRulesRequest $request = null, ?ApplyFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ApplyFilterRulesEnvelope.php b/src/Mail/Message/ApplyFilterRulesEnvelope.php index 0cf75a61f..70d3dba3d 100644 --- a/src/Mail/Message/ApplyFilterRulesEnvelope.php +++ b/src/Mail/Message/ApplyFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class ApplyFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ApplyFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ApplyFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ApplyFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ApplyFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ApplyFilterRulesRequest.php b/src/Mail/Message/ApplyFilterRulesRequest.php index f37d32b25..a386f5f1c 100644 --- a/src/Mail/Message/ApplyFilterRulesRequest.php +++ b/src/Mail/Message/ApplyFilterRulesRequest.php @@ -73,12 +73,12 @@ class ApplyFilterRulesRequest extends SoapRequest * @return self */ public function __construct( - array $filterRules = [], ?IdsAttr $msgIds = NULL, ?string $query = NULL + array $filterRules = [], ?IdsAttr $msgIds = null, ?string $query = null ) { $this->setFilterRules($filterRules); $this->msgIds = $msgIds; - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } } diff --git a/src/Mail/Message/ApplyFilterRulesResponse.php b/src/Mail/Message/ApplyFilterRulesResponse.php index ae5a162a1..885026616 100644 --- a/src/Mail/Message/ApplyFilterRulesResponse.php +++ b/src/Mail/Message/ApplyFilterRulesResponse.php @@ -42,7 +42,7 @@ class ApplyFilterRulesResponse extends SoapResponse * @param IdsAttr $msgIds * @return self */ - public function __construct(?IdsAttr $msgIds = NULL) + public function __construct(?IdsAttr $msgIds = null) { $this->msgIds = $msgIds; } diff --git a/src/Mail/Message/ApplyOutgoingFilterRulesBody.php b/src/Mail/Message/ApplyOutgoingFilterRulesBody.php index 0fba1ef47..535ef4209 100644 --- a/src/Mail/Message/ApplyOutgoingFilterRulesBody.php +++ b/src/Mail/Message/ApplyOutgoingFilterRulesBody.php @@ -33,7 +33,7 @@ class ApplyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ApplyOutgoingFilterRulesRequest')] #[Type(ApplyOutgoingFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ApplyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ApplyOutgoingFilterRulesResponse')] #[Type(ApplyOutgoingFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ApplyOutgoingFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ApplyOutgoingFilterRulesRequest $request = NULL, ?ApplyOutgoingFilterRulesResponse $response = NULL + ?ApplyOutgoingFilterRulesRequest $request = null, ?ApplyOutgoingFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ApplyOutgoingFilterRulesEnvelope.php b/src/Mail/Message/ApplyOutgoingFilterRulesEnvelope.php index 7589ceef1..9de08f8ce 100644 --- a/src/Mail/Message/ApplyOutgoingFilterRulesEnvelope.php +++ b/src/Mail/Message/ApplyOutgoingFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class ApplyOutgoingFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ApplyOutgoingFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ApplyOutgoingFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ApplyOutgoingFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ApplyOutgoingFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AutoCompleteBody.php b/src/Mail/Message/AutoCompleteBody.php index c9300c2d3..ecc8c79ed 100644 --- a/src/Mail/Message/AutoCompleteBody.php +++ b/src/Mail/Message/AutoCompleteBody.php @@ -33,7 +33,7 @@ class AutoCompleteBody extends SoapBody #[SerializedName('AutoCompleteRequest')] #[Type(AutoCompleteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class AutoCompleteBody extends SoapBody #[SerializedName('AutoCompleteResponse')] #[Type(AutoCompleteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class AutoCompleteBody extends SoapBody * @return self */ public function __construct( - ?AutoCompleteRequest $request = NULL, ?AutoCompleteResponse $response = NULL + ?AutoCompleteRequest $request = null, ?AutoCompleteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/AutoCompleteEnvelope.php b/src/Mail/Message/AutoCompleteEnvelope.php index 9d6bf7373..fe49fecd6 100644 --- a/src/Mail/Message/AutoCompleteEnvelope.php +++ b/src/Mail/Message/AutoCompleteEnvelope.php @@ -35,7 +35,7 @@ class AutoCompleteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(AutoCompleteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class AutoCompleteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?AutoCompleteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?AutoCompleteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/AutoCompleteRequest.php b/src/Mail/Message/AutoCompleteRequest.php index e5cd167c3..972168bce 100644 --- a/src/Mail/Message/AutoCompleteRequest.php +++ b/src/Mail/Message/AutoCompleteRequest.php @@ -92,21 +92,21 @@ class AutoCompleteRequest extends SoapRequest */ public function __construct( string $name = '', - ?GalSearchType $type = NULL, - ?bool $needCanExpand = NULL, - ?string $folderList = NULL, - ?bool $includeGal = NULL + ?GalSearchType $type = null, + ?bool $needCanExpand = null, + ?string $folderList = null, + ?bool $includeGal = null ) { $this->setName($name); $this->type = $type; - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } - if (NULL !== $folderList) { + if (null !== $folderList) { $this->setFolderList($folderList); } - if (NULL !== $includeGal) { + if (null !== $includeGal) { $this->setIncludeGal($includeGal); } } diff --git a/src/Mail/Message/AutoCompleteResponse.php b/src/Mail/Message/AutoCompleteResponse.php index 01d61a499..159c4f215 100644 --- a/src/Mail/Message/AutoCompleteResponse.php +++ b/src/Mail/Message/AutoCompleteResponse.php @@ -55,11 +55,11 @@ class AutoCompleteResponse extends SoapResponse */ public function __construct( array $matches = [], - ?bool $canBeCached = NULL + ?bool $canBeCached = null ) { $this->setMatches($matches); - if (NULL !== $canBeCached) { + if (null !== $canBeCached) { $this->setCanBeCached($canBeCached); } } diff --git a/src/Mail/Message/BeginTrackingIMAPBody.php b/src/Mail/Message/BeginTrackingIMAPBody.php index a6aa06a45..c6a48229c 100644 --- a/src/Mail/Message/BeginTrackingIMAPBody.php +++ b/src/Mail/Message/BeginTrackingIMAPBody.php @@ -33,7 +33,7 @@ class BeginTrackingIMAPBody extends SoapBody #[SerializedName('BeginTrackingIMAPRequest')] #[Type(BeginTrackingIMAPRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class BeginTrackingIMAPBody extends SoapBody #[SerializedName('BeginTrackingIMAPResponse')] #[Type(BeginTrackingIMAPResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class BeginTrackingIMAPBody extends SoapBody * @return self */ public function __construct( - ?BeginTrackingIMAPRequest $request = NULL, ?BeginTrackingIMAPResponse $response = NULL + ?BeginTrackingIMAPRequest $request = null, ?BeginTrackingIMAPResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/BeginTrackingIMAPEnvelope.php b/src/Mail/Message/BeginTrackingIMAPEnvelope.php index 318f50d20..134042701 100644 --- a/src/Mail/Message/BeginTrackingIMAPEnvelope.php +++ b/src/Mail/Message/BeginTrackingIMAPEnvelope.php @@ -35,7 +35,7 @@ class BeginTrackingIMAPEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(BeginTrackingIMAPBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class BeginTrackingIMAPEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?BeginTrackingIMAPBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?BeginTrackingIMAPBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/BounceMsgBody.php b/src/Mail/Message/BounceMsgBody.php index 1a4953feb..cb11a4184 100644 --- a/src/Mail/Message/BounceMsgBody.php +++ b/src/Mail/Message/BounceMsgBody.php @@ -33,7 +33,7 @@ class BounceMsgBody extends SoapBody #[SerializedName('BounceMsgRequest')] #[Type(BounceMsgRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class BounceMsgBody extends SoapBody #[SerializedName('BounceMsgResponse')] #[Type(BounceMsgResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class BounceMsgBody extends SoapBody * @return self */ public function __construct( - ?BounceMsgRequest $request = NULL, ?BounceMsgResponse $response = NULL + ?BounceMsgRequest $request = null, ?BounceMsgResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/BounceMsgEnvelope.php b/src/Mail/Message/BounceMsgEnvelope.php index 1954d8c46..b1d647d4f 100644 --- a/src/Mail/Message/BounceMsgEnvelope.php +++ b/src/Mail/Message/BounceMsgEnvelope.php @@ -35,7 +35,7 @@ class BounceMsgEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(BounceMsgBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class BounceMsgEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?BounceMsgBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?BounceMsgBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/BrowseBody.php b/src/Mail/Message/BrowseBody.php index d9426a6cc..0b25a0299 100644 --- a/src/Mail/Message/BrowseBody.php +++ b/src/Mail/Message/BrowseBody.php @@ -33,7 +33,7 @@ class BrowseBody extends SoapBody #[SerializedName('BrowseRequest')] #[Type(BrowseRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class BrowseBody extends SoapBody #[SerializedName('BrowseResponse')] #[Type(BrowseResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class BrowseBody extends SoapBody * @return self */ public function __construct( - ?BrowseRequest $request = NULL, ?BrowseResponse $response = NULL + ?BrowseRequest $request = null, ?BrowseResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/BrowseEnvelope.php b/src/Mail/Message/BrowseEnvelope.php index 111c7f419..e97587cbe 100644 --- a/src/Mail/Message/BrowseEnvelope.php +++ b/src/Mail/Message/BrowseEnvelope.php @@ -35,7 +35,7 @@ class BrowseEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(BrowseBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class BrowseEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?BrowseBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?BrowseBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/BrowseRequest.php b/src/Mail/Message/BrowseRequest.php index 8f82d4dbf..e5079f937 100644 --- a/src/Mail/Message/BrowseRequest.php +++ b/src/Mail/Message/BrowseRequest.php @@ -67,14 +67,14 @@ class BrowseRequest extends SoapRequest * @return self */ public function __construct( - ?BrowseBy $browseBy = NULL, ?string $regex = NULL, ?int $max = NULL + ?BrowseBy $browseBy = null, ?string $regex = null, ?int $max = null ) { $this->setBrowseBy($browseBy ?? BrowseBy::DOMAINS); - if (NULL !== $regex) { + if (null !== $regex) { $this->setRegex($regex); } - if (NULL !== $max) { + if (null !== $max) { $this->setMax($max); } } diff --git a/src/Mail/Message/CancelAppointmentBody.php b/src/Mail/Message/CancelAppointmentBody.php index 19cef879f..8568eef27 100644 --- a/src/Mail/Message/CancelAppointmentBody.php +++ b/src/Mail/Message/CancelAppointmentBody.php @@ -33,7 +33,7 @@ class CancelAppointmentBody extends SoapBody #[SerializedName('CancelAppointmentRequest')] #[Type(CancelAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CancelAppointmentBody extends SoapBody #[SerializedName('CancelAppointmentResponse')] #[Type(CancelAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CancelAppointmentBody extends SoapBody * @return self */ public function __construct( - ?CancelAppointmentRequest $request = NULL, ?CancelAppointmentResponse $response = NULL + ?CancelAppointmentRequest $request = null, ?CancelAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CancelAppointmentEnvelope.php b/src/Mail/Message/CancelAppointmentEnvelope.php index 6dec7b001..87f527ace 100644 --- a/src/Mail/Message/CancelAppointmentEnvelope.php +++ b/src/Mail/Message/CancelAppointmentEnvelope.php @@ -35,7 +35,7 @@ class CancelAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CancelAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CancelAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CancelAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CancelAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CancelAppointmentRequest.php b/src/Mail/Message/CancelAppointmentRequest.php index 5d3b1b811..e98af7974 100644 --- a/src/Mail/Message/CancelAppointmentRequest.php +++ b/src/Mail/Message/CancelAppointmentRequest.php @@ -118,28 +118,28 @@ class CancelAppointmentRequest extends SoapRequest * @return self */ public function __construct( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?InstanceRecurIdInfo $instance = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?InstanceRecurIdInfo $instance = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ) { $this->instance = $instance; $this->timezone = $timezone; $this->msg = $msg; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } } diff --git a/src/Mail/Message/CancelTaskBody.php b/src/Mail/Message/CancelTaskBody.php index c34d94b9d..0bf7a97be 100644 --- a/src/Mail/Message/CancelTaskBody.php +++ b/src/Mail/Message/CancelTaskBody.php @@ -33,7 +33,7 @@ class CancelTaskBody extends SoapBody #[SerializedName('CancelTaskRequest')] #[Type(CancelTaskRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CancelTaskBody extends SoapBody #[SerializedName('CancelTaskResponse')] #[Type(CancelTaskResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CancelTaskBody extends SoapBody * @return self */ public function __construct( - ?CancelTaskRequest $request = NULL, ?CancelTaskResponse $response = NULL + ?CancelTaskRequest $request = null, ?CancelTaskResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CancelTaskEnvelope.php b/src/Mail/Message/CancelTaskEnvelope.php index 4cb7b0b87..a3d96d78b 100644 --- a/src/Mail/Message/CancelTaskEnvelope.php +++ b/src/Mail/Message/CancelTaskEnvelope.php @@ -35,7 +35,7 @@ class CancelTaskEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CancelTaskBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CancelTaskEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CancelTaskBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CancelTaskBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CheckPermissionBody.php b/src/Mail/Message/CheckPermissionBody.php index 8f39c3819..6ace00d15 100644 --- a/src/Mail/Message/CheckPermissionBody.php +++ b/src/Mail/Message/CheckPermissionBody.php @@ -33,7 +33,7 @@ class CheckPermissionBody extends SoapBody #[SerializedName('CheckPermissionRequest')] #[Type(CheckPermissionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckPermissionBody extends SoapBody #[SerializedName('CheckPermissionResponse')] #[Type(CheckPermissionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckPermissionBody extends SoapBody * @return self */ public function __construct( - ?CheckPermissionRequest $request = NULL, ?CheckPermissionResponse $response = NULL + ?CheckPermissionRequest $request = null, ?CheckPermissionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CheckPermissionEnvelope.php b/src/Mail/Message/CheckPermissionEnvelope.php index 8cce4bbdf..db613f9e6 100644 --- a/src/Mail/Message/CheckPermissionEnvelope.php +++ b/src/Mail/Message/CheckPermissionEnvelope.php @@ -35,7 +35,7 @@ class CheckPermissionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckPermissionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckPermissionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckPermissionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckPermissionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CheckPermissionRequest.php b/src/Mail/Message/CheckPermissionRequest.php index 477848812..efa811833 100644 --- a/src/Mail/Message/CheckPermissionRequest.php +++ b/src/Mail/Message/CheckPermissionRequest.php @@ -55,7 +55,7 @@ class CheckPermissionRequest extends SoapRequest * @param array $rights * @return self */ - public function __construct(?TargetSpec $target = NULL, array $rights = []) + public function __construct(?TargetSpec $target = null, array $rights = []) { $this->setRights($rights); $this->target = $target; diff --git a/src/Mail/Message/CheckPermissionResponse.php b/src/Mail/Message/CheckPermissionResponse.php index 7d718de0d..21ac9bffe 100644 --- a/src/Mail/Message/CheckPermissionResponse.php +++ b/src/Mail/Message/CheckPermissionResponse.php @@ -54,7 +54,7 @@ class CheckPermissionResponse extends SoapResponse * @return self */ public function __construct( - bool $allow = FALSE, + bool $allow = false, array $rights = [] ) { diff --git a/src/Mail/Message/CheckRecurConflictsBody.php b/src/Mail/Message/CheckRecurConflictsBody.php index d25a0161a..c30a62d40 100644 --- a/src/Mail/Message/CheckRecurConflictsBody.php +++ b/src/Mail/Message/CheckRecurConflictsBody.php @@ -33,7 +33,7 @@ class CheckRecurConflictsBody extends SoapBody #[SerializedName('CheckRecurConflictsRequest')] #[Type(CheckRecurConflictsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckRecurConflictsBody extends SoapBody #[SerializedName('CheckRecurConflictsResponse')] #[Type(CheckRecurConflictsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckRecurConflictsBody extends SoapBody * @return self */ public function __construct( - ?CheckRecurConflictsRequest $request = NULL, ?CheckRecurConflictsResponse $response = NULL + ?CheckRecurConflictsRequest $request = null, ?CheckRecurConflictsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CheckRecurConflictsEnvelope.php b/src/Mail/Message/CheckRecurConflictsEnvelope.php index 78c9b7074..c62ee24bb 100644 --- a/src/Mail/Message/CheckRecurConflictsEnvelope.php +++ b/src/Mail/Message/CheckRecurConflictsEnvelope.php @@ -35,7 +35,7 @@ class CheckRecurConflictsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckRecurConflictsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckRecurConflictsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckRecurConflictsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckRecurConflictsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CheckRecurConflictsRequest.php b/src/Mail/Message/CheckRecurConflictsRequest.php index 7adec558e..60c11e6d7 100644 --- a/src/Mail/Message/CheckRecurConflictsRequest.php +++ b/src/Mail/Message/CheckRecurConflictsRequest.php @@ -143,10 +143,10 @@ class CheckRecurConflictsRequest extends SoapRequest * @return self */ public function __construct( - ?int $startTime = NULL, - ?int $endTime = NULL, - ?bool $allInstances = NULL, - ?string $excludeUid = NULL, + ?int $startTime = null, + ?int $endTime = null, + ?bool $allInstances = null, + ?string $excludeUid = null, array $timezones = [], array $components = [], array $freebusyUsers = [] @@ -155,16 +155,16 @@ public function __construct( $this->setTimezones($timezones) ->setComponents($components) ->setFreebusyUsers($freebusyUsers); - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $endTime) { + if (null !== $endTime) { $this->setEndTime($endTime); } - if (NULL !== $allInstances) { + if (null !== $allInstances) { $this->setAllInstances($allInstances); } - if (NULL !== $excludeUid) { + if (null !== $excludeUid) { $this->setExcludeUid($excludeUid); } } diff --git a/src/Mail/Message/CheckSpellingBody.php b/src/Mail/Message/CheckSpellingBody.php index 32bea8a9c..9d6126ecf 100644 --- a/src/Mail/Message/CheckSpellingBody.php +++ b/src/Mail/Message/CheckSpellingBody.php @@ -33,7 +33,7 @@ class CheckSpellingBody extends SoapBody #[SerializedName('CheckSpellingRequest')] #[Type(CheckSpellingRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CheckSpellingBody extends SoapBody #[SerializedName('CheckSpellingResponse')] #[Type(CheckSpellingResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CheckSpellingBody extends SoapBody * @return self */ public function __construct( - ?CheckSpellingRequest $request = NULL, ?CheckSpellingResponse $response = NULL + ?CheckSpellingRequest $request = null, ?CheckSpellingResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CheckSpellingEnvelope.php b/src/Mail/Message/CheckSpellingEnvelope.php index fef54dc96..8cb58c797 100644 --- a/src/Mail/Message/CheckSpellingEnvelope.php +++ b/src/Mail/Message/CheckSpellingEnvelope.php @@ -35,7 +35,7 @@ class CheckSpellingEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CheckSpellingBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CheckSpellingEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CheckSpellingBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CheckSpellingBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CheckSpellingRequest.php b/src/Mail/Message/CheckSpellingRequest.php index 88475d7bb..e963b7394 100644 --- a/src/Mail/Message/CheckSpellingRequest.php +++ b/src/Mail/Message/CheckSpellingRequest.php @@ -71,16 +71,16 @@ class CheckSpellingRequest extends SoapRequest * @return self */ public function __construct( - ?string $dictionary = NULL, ?string $ignoreList = NULL, ?string $text = NULL + ?string $dictionary = null, ?string $ignoreList = null, ?string $text = null ) { - if (NULL !== $dictionary) { + if (null !== $dictionary) { $this->setDictionary($dictionary); } - if (NULL !== $ignoreList) { + if (null !== $ignoreList) { $this->setIgnoreList($ignoreList); } - if (NULL !== $text) { + if (null !== $text) { $this->setText($text); } } diff --git a/src/Mail/Message/CheckSpellingResponse.php b/src/Mail/Message/CheckSpellingResponse.php index 3845998a7..ca370dd50 100644 --- a/src/Mail/Message/CheckSpellingResponse.php +++ b/src/Mail/Message/CheckSpellingResponse.php @@ -54,7 +54,7 @@ class CheckSpellingResponse extends SoapResponse * @param array $misspelledWords * @return self */ - public function __construct(bool $available = FALSE, array $misspelledWords = []) + public function __construct(bool $available = false, array $misspelledWords = []) { $this->setAvailable($available) ->setMisspelledWords($misspelledWords); diff --git a/src/Mail/Message/CompleteTaskInstanceBody.php b/src/Mail/Message/CompleteTaskInstanceBody.php index 1ac5b5098..338c5cc1c 100644 --- a/src/Mail/Message/CompleteTaskInstanceBody.php +++ b/src/Mail/Message/CompleteTaskInstanceBody.php @@ -33,7 +33,7 @@ class CompleteTaskInstanceBody extends SoapBody #[SerializedName('CompleteTaskInstanceRequest')] #[Type(CompleteTaskInstanceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CompleteTaskInstanceBody extends SoapBody #[SerializedName('CompleteTaskInstanceResponse')] #[Type(CompleteTaskInstanceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CompleteTaskInstanceBody extends SoapBody * @return self */ public function __construct( - ?CompleteTaskInstanceRequest $request = NULL, ?CompleteTaskInstanceResponse $response = NULL + ?CompleteTaskInstanceRequest $request = null, ?CompleteTaskInstanceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CompleteTaskInstanceEnvelope.php b/src/Mail/Message/CompleteTaskInstanceEnvelope.php index b3e407f2a..965b2e20d 100644 --- a/src/Mail/Message/CompleteTaskInstanceEnvelope.php +++ b/src/Mail/Message/CompleteTaskInstanceEnvelope.php @@ -35,7 +35,7 @@ class CompleteTaskInstanceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CompleteTaskInstanceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CompleteTaskInstanceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CompleteTaskInstanceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CompleteTaskInstanceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CompleteTaskInstanceRequest.php b/src/Mail/Message/CompleteTaskInstanceRequest.php index e0419e931..fbc50c5b6 100644 --- a/src/Mail/Message/CompleteTaskInstanceRequest.php +++ b/src/Mail/Message/CompleteTaskInstanceRequest.php @@ -68,7 +68,7 @@ class CompleteTaskInstanceRequest extends SoapRequest * @return self */ public function __construct( - DtTimeInfo $exceptionId, string $id = '', ?CalTZInfo $timezone = NULL + DtTimeInfo $exceptionId, string $id = '', ?CalTZInfo $timezone = null ) { $this->setId($id) diff --git a/src/Mail/Message/ContactActionBody.php b/src/Mail/Message/ContactActionBody.php index 404f4793a..d6cf41f55 100644 --- a/src/Mail/Message/ContactActionBody.php +++ b/src/Mail/Message/ContactActionBody.php @@ -33,7 +33,7 @@ class ContactActionBody extends SoapBody #[SerializedName('ContactActionRequest')] #[Type(ContactActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ContactActionBody extends SoapBody #[SerializedName('ContactActionResponse')] #[Type(ContactActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ContactActionBody extends SoapBody * @return self */ public function __construct( - ?ContactActionRequest $request = NULL, ?ContactActionResponse $response = NULL + ?ContactActionRequest $request = null, ?ContactActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ContactActionEnvelope.php b/src/Mail/Message/ContactActionEnvelope.php index 12065c8f3..c93eeede7 100644 --- a/src/Mail/Message/ContactActionEnvelope.php +++ b/src/Mail/Message/ContactActionEnvelope.php @@ -35,7 +35,7 @@ class ContactActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ContactActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ContactActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ContactActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ContactActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ContactActionResponse.php b/src/Mail/Message/ContactActionResponse.php index 604757bdd..37fb777e8 100644 --- a/src/Mail/Message/ContactActionResponse.php +++ b/src/Mail/Message/ContactActionResponse.php @@ -42,7 +42,7 @@ class ContactActionResponse extends SoapResponse * @param FolderActionResult $action * @return self */ - public function __construct(?FolderActionResult $action = NULL) + public function __construct(?FolderActionResult $action = null) { $this->action = $action; if ($action instanceof FolderActionResult) { diff --git a/src/Mail/Message/ConvActionBody.php b/src/Mail/Message/ConvActionBody.php index e45c7fd9f..07eca054b 100644 --- a/src/Mail/Message/ConvActionBody.php +++ b/src/Mail/Message/ConvActionBody.php @@ -33,7 +33,7 @@ class ConvActionBody extends SoapBody #[SerializedName('ConvActionRequest')] #[Type(ConvActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ConvActionBody extends SoapBody #[SerializedName('ConvActionResponse')] #[Type(ConvActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ConvActionBody extends SoapBody * @return self */ public function __construct( - ?ConvActionRequest $request = NULL, ?ConvActionResponse $response = NULL + ?ConvActionRequest $request = null, ?ConvActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ConvActionEnvelope.php b/src/Mail/Message/ConvActionEnvelope.php index 339aaf230..75318cdcf 100644 --- a/src/Mail/Message/ConvActionEnvelope.php +++ b/src/Mail/Message/ConvActionEnvelope.php @@ -35,7 +35,7 @@ class ConvActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ConvActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ConvActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ConvActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ConvActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ConvActionResponse.php b/src/Mail/Message/ConvActionResponse.php index 3c292b690..088a679b8 100644 --- a/src/Mail/Message/ConvActionResponse.php +++ b/src/Mail/Message/ConvActionResponse.php @@ -42,7 +42,7 @@ class ConvActionResponse extends SoapResponse * @param ActionResult $action * @return self */ - public function __construct(?ActionResult $action = NULL) + public function __construct(?ActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/CounterAppointmentBody.php b/src/Mail/Message/CounterAppointmentBody.php index 43507677c..9e53ad815 100644 --- a/src/Mail/Message/CounterAppointmentBody.php +++ b/src/Mail/Message/CounterAppointmentBody.php @@ -33,7 +33,7 @@ class CounterAppointmentBody extends SoapBody #[SerializedName('CounterAppointmentRequest')] #[Type(CounterAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CounterAppointmentBody extends SoapBody #[SerializedName('CounterAppointmentResponse')] #[Type(CounterAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CounterAppointmentBody extends SoapBody * @return self */ public function __construct( - ?CounterAppointmentRequest $request = NULL, ?CounterAppointmentResponse $response = NULL + ?CounterAppointmentRequest $request = null, ?CounterAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CounterAppointmentEnvelope.php b/src/Mail/Message/CounterAppointmentEnvelope.php index 3d71cb3bd..8888d064f 100644 --- a/src/Mail/Message/CounterAppointmentEnvelope.php +++ b/src/Mail/Message/CounterAppointmentEnvelope.php @@ -35,7 +35,7 @@ class CounterAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CounterAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CounterAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CounterAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CounterAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CounterAppointmentRequest.php b/src/Mail/Message/CounterAppointmentRequest.php index ac0c916a7..1946f116a 100644 --- a/src/Mail/Message/CounterAppointmentRequest.php +++ b/src/Mail/Message/CounterAppointmentRequest.php @@ -97,24 +97,24 @@ class CounterAppointmentRequest extends SoapRequest * @return self */ public function __construct( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null ) { $this->msg = $msg; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } } diff --git a/src/Mail/Message/CreateAppointmentBody.php b/src/Mail/Message/CreateAppointmentBody.php index 71f44e017..1ba322075 100644 --- a/src/Mail/Message/CreateAppointmentBody.php +++ b/src/Mail/Message/CreateAppointmentBody.php @@ -33,7 +33,7 @@ class CreateAppointmentBody extends SoapBody #[SerializedName('CreateAppointmentRequest')] #[Type(CreateAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateAppointmentBody extends SoapBody #[SerializedName('CreateAppointmentResponse')] #[Type(CreateAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateAppointmentBody extends SoapBody * @return self */ public function __construct( - ?CreateAppointmentRequest $request = NULL, ?CreateAppointmentResponse $response = NULL + ?CreateAppointmentRequest $request = null, ?CreateAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateAppointmentEnvelope.php b/src/Mail/Message/CreateAppointmentEnvelope.php index b02c0370b..65ad8b2db 100644 --- a/src/Mail/Message/CreateAppointmentEnvelope.php +++ b/src/Mail/Message/CreateAppointmentEnvelope.php @@ -35,7 +35,7 @@ class CreateAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateAppointmentExceptionBody.php b/src/Mail/Message/CreateAppointmentExceptionBody.php index 3b70daccd..553bc2380 100644 --- a/src/Mail/Message/CreateAppointmentExceptionBody.php +++ b/src/Mail/Message/CreateAppointmentExceptionBody.php @@ -33,7 +33,7 @@ class CreateAppointmentExceptionBody extends SoapBody #[SerializedName('CreateAppointmentExceptionRequest')] #[Type(CreateAppointmentExceptionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateAppointmentExceptionBody extends SoapBody #[SerializedName('CreateAppointmentExceptionResponse')] #[Type(CreateAppointmentExceptionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateAppointmentExceptionBody extends SoapBody * @return self */ public function __construct( - ?CreateAppointmentExceptionRequest $request = NULL, ?CreateAppointmentExceptionResponse $response = NULL + ?CreateAppointmentExceptionRequest $request = null, ?CreateAppointmentExceptionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateAppointmentExceptionEnvelope.php b/src/Mail/Message/CreateAppointmentExceptionEnvelope.php index 8678daf0c..ae146f085 100644 --- a/src/Mail/Message/CreateAppointmentExceptionEnvelope.php +++ b/src/Mail/Message/CreateAppointmentExceptionEnvelope.php @@ -35,7 +35,7 @@ class CreateAppointmentExceptionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateAppointmentExceptionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateAppointmentExceptionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateAppointmentExceptionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateAppointmentExceptionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateAppointmentExceptionRequest.php b/src/Mail/Message/CreateAppointmentExceptionRequest.php index 131f59ba1..f5674d3ba 100644 --- a/src/Mail/Message/CreateAppointmentExceptionRequest.php +++ b/src/Mail/Message/CreateAppointmentExceptionRequest.php @@ -86,29 +86,29 @@ class CreateAppointmentExceptionRequest extends CalItemRequestBase * @return self */ public function __construct( - ?string $id = NULL, - ?int $numComponents = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $numComponents = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ) { parent::__construct($msg, $echo, $maxSize, $wantHtml, $neuter, $forceSend); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $numComponents) { + if (null !== $numComponents) { $this->setNumComponents($numComponents); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } } diff --git a/src/Mail/Message/CreateContactBody.php b/src/Mail/Message/CreateContactBody.php index e408daf87..a329f1bfc 100644 --- a/src/Mail/Message/CreateContactBody.php +++ b/src/Mail/Message/CreateContactBody.php @@ -33,7 +33,7 @@ class CreateContactBody extends SoapBody #[SerializedName('CreateContactRequest')] #[Type(CreateContactRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateContactBody extends SoapBody #[SerializedName('CreateContactResponse')] #[Type(CreateContactResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateContactBody extends SoapBody * @return self */ public function __construct( - ?CreateContactRequest $request = NULL, ?CreateContactResponse $response = NULL + ?CreateContactRequest $request = null, ?CreateContactResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateContactEnvelope.php b/src/Mail/Message/CreateContactEnvelope.php index ddbc7fa20..943f39dd9 100644 --- a/src/Mail/Message/CreateContactEnvelope.php +++ b/src/Mail/Message/CreateContactEnvelope.php @@ -35,7 +35,7 @@ class CreateContactEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateContactBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateContactEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateContactBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateContactBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateContactRequest.php b/src/Mail/Message/CreateContactRequest.php index bfc700872..914843d3c 100644 --- a/src/Mail/Message/CreateContactRequest.php +++ b/src/Mail/Message/CreateContactRequest.php @@ -82,19 +82,19 @@ class CreateContactRequest extends SoapRequest */ public function __construct( ContactSpec $contact, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ) { $this->setContact($contact); - if (NULL !== $verbose) { + if (null !== $verbose) { $this->setVerbose($verbose); } - if (NULL !== $wantImapUid) { + if (null !== $wantImapUid) { $this->setWantImapUid($wantImapUid); } - if (NULL !== $wantModifiedSequence) { + if (null !== $wantModifiedSequence) { $this->setWantModifiedSequence($wantModifiedSequence); } } diff --git a/src/Mail/Message/CreateContactResponse.php b/src/Mail/Message/CreateContactResponse.php index 589237174..2119d8ba2 100644 --- a/src/Mail/Message/CreateContactResponse.php +++ b/src/Mail/Message/CreateContactResponse.php @@ -43,7 +43,7 @@ class CreateContactResponse extends SoapResponse * @param ContactInfo $contact * @return self */ - public function __construct(?ContactInfo $contact = NULL) + public function __construct(?ContactInfo $contact = null) { $this->contact = $contact; } diff --git a/src/Mail/Message/CreateDataSourceBody.php b/src/Mail/Message/CreateDataSourceBody.php index d1751abce..8f9a4793a 100644 --- a/src/Mail/Message/CreateDataSourceBody.php +++ b/src/Mail/Message/CreateDataSourceBody.php @@ -33,7 +33,7 @@ class CreateDataSourceBody extends SoapBody #[SerializedName('CreateDataSourceRequest')] #[Type(CreateDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateDataSourceBody extends SoapBody #[SerializedName('CreateDataSourceResponse')] #[Type(CreateDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateDataSourceBody extends SoapBody * @return self */ public function __construct( - ?CreateDataSourceRequest $request = NULL, ?CreateDataSourceResponse $response = NULL + ?CreateDataSourceRequest $request = null, ?CreateDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateDataSourceEnvelope.php b/src/Mail/Message/CreateDataSourceEnvelope.php index a1b9a5e88..e2e7c9097 100644 --- a/src/Mail/Message/CreateDataSourceEnvelope.php +++ b/src/Mail/Message/CreateDataSourceEnvelope.php @@ -35,7 +35,7 @@ class CreateDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateDataSourceRequest.php b/src/Mail/Message/CreateDataSourceRequest.php index 4f390afb3..4ac8ef344 100644 --- a/src/Mail/Message/CreateDataSourceRequest.php +++ b/src/Mail/Message/CreateDataSourceRequest.php @@ -34,7 +34,7 @@ class CreateDataSourceRequest extends SoapRequest * @param MailDataSource $dataSource * @return self */ - public function __construct(?MailDataSource $dataSource = NULL) + public function __construct(?MailDataSource $dataSource = null) { $this->imapDataSource = $this->pop3DataSource = @@ -43,7 +43,7 @@ public function __construct(?MailDataSource $dataSource = NULL) $this->rssDataSource = $this->galDataSource = $this->calDataSource = - $this->unknownDataSource = NULL; + $this->unknownDataSource = null; if ($dataSource instanceof MailDataSource) { $this->setDataSource($dataSource); } diff --git a/src/Mail/Message/CreateDataSourceResponse.php b/src/Mail/Message/CreateDataSourceResponse.php index 66f967f6d..3f0708d77 100644 --- a/src/Mail/Message/CreateDataSourceResponse.php +++ b/src/Mail/Message/CreateDataSourceResponse.php @@ -128,7 +128,7 @@ class CreateDataSourceResponse extends SoapResponse * @param Id $dataSource * @return self */ - public function __construct(?Id $dataSource = NULL) + public function __construct(?Id $dataSource = null) { $this->imapDataSource = $this->pop3DataSource = @@ -137,7 +137,7 @@ public function __construct(?Id $dataSource = NULL) $this->rssDataSource = $this->galDataSource = $this->calDataSource = - $this->unknownDataSource = NULL; + $this->unknownDataSource = null; if ($dataSource instanceof ImapDataSourceId) { $this->setImapDataSource($dataSource); } diff --git a/src/Mail/Message/CreateFolderBody.php b/src/Mail/Message/CreateFolderBody.php index 46aa131e5..2771a0dbe 100644 --- a/src/Mail/Message/CreateFolderBody.php +++ b/src/Mail/Message/CreateFolderBody.php @@ -33,7 +33,7 @@ class CreateFolderBody extends SoapBody #[SerializedName('CreateFolderRequest')] #[Type(CreateFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateFolderBody extends SoapBody #[SerializedName('CreateFolderResponse')] #[Type(CreateFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateFolderBody extends SoapBody * @return self */ public function __construct( - ?CreateFolderRequest $request = NULL, ?CreateFolderResponse $response = NULL + ?CreateFolderRequest $request = null, ?CreateFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateFolderEnvelope.php b/src/Mail/Message/CreateFolderEnvelope.php index bb0c6e543..9a638c15b 100644 --- a/src/Mail/Message/CreateFolderEnvelope.php +++ b/src/Mail/Message/CreateFolderEnvelope.php @@ -35,7 +35,7 @@ class CreateFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateFolderResponse.php b/src/Mail/Message/CreateFolderResponse.php index 8023d88a1..756d5fca6 100644 --- a/src/Mail/Message/CreateFolderResponse.php +++ b/src/Mail/Message/CreateFolderResponse.php @@ -64,9 +64,9 @@ class CreateFolderResponse extends SoapResponse * @param Folder $folder * @return self */ - public function __construct(?Folder $folder = NULL) + public function __construct(?Folder $folder = null) { - $this->folder = $this->mountpoint = $this->searchFolder = NULL; + $this->folder = $this->mountpoint = $this->searchFolder = null; if ($folder instanceof Mountpoint) { $this->setMountpoint($folder); } diff --git a/src/Mail/Message/CreateMountpointBody.php b/src/Mail/Message/CreateMountpointBody.php index e19de42e7..7037e08de 100644 --- a/src/Mail/Message/CreateMountpointBody.php +++ b/src/Mail/Message/CreateMountpointBody.php @@ -33,7 +33,7 @@ class CreateMountpointBody extends SoapBody #[SerializedName('CreateMountpointRequest')] #[Type(CreateMountpointRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateMountpointBody extends SoapBody #[SerializedName('CreateMountpointResponse')] #[Type(CreateMountpointResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateMountpointBody extends SoapBody * @return self */ public function __construct( - ?CreateMountpointRequest $request = NULL, ?CreateMountpointResponse $response = NULL + ?CreateMountpointRequest $request = null, ?CreateMountpointResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateMountpointEnvelope.php b/src/Mail/Message/CreateMountpointEnvelope.php index 7ae8a5d96..86b7cc373 100644 --- a/src/Mail/Message/CreateMountpointEnvelope.php +++ b/src/Mail/Message/CreateMountpointEnvelope.php @@ -35,7 +35,7 @@ class CreateMountpointEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateMountpointBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateMountpointEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateMountpointBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateMountpointBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateMountpointResponse.php b/src/Mail/Message/CreateMountpointResponse.php index 115846a9d..c2612e18f 100644 --- a/src/Mail/Message/CreateMountpointResponse.php +++ b/src/Mail/Message/CreateMountpointResponse.php @@ -42,7 +42,7 @@ class CreateMountpointResponse extends SoapResponse * @param Mountpoint $mount * @return self */ - public function __construct(?Mountpoint $mount = NULL) + public function __construct(?Mountpoint $mount = null) { $this->mount = $mount; } diff --git a/src/Mail/Message/CreateNoteBody.php b/src/Mail/Message/CreateNoteBody.php index 0f3d5c4c0..f007f37d0 100644 --- a/src/Mail/Message/CreateNoteBody.php +++ b/src/Mail/Message/CreateNoteBody.php @@ -33,7 +33,7 @@ class CreateNoteBody extends SoapBody #[SerializedName('CreateNoteRequest')] #[Type(CreateNoteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateNoteBody extends SoapBody #[SerializedName('CreateNoteResponse')] #[Type(CreateNoteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateNoteBody extends SoapBody * @return self */ public function __construct( - ?CreateNoteRequest $request = NULL, ?CreateNoteResponse $response = NULL + ?CreateNoteRequest $request = null, ?CreateNoteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateNoteEnvelope.php b/src/Mail/Message/CreateNoteEnvelope.php index dc6ae7692..c74f458ff 100644 --- a/src/Mail/Message/CreateNoteEnvelope.php +++ b/src/Mail/Message/CreateNoteEnvelope.php @@ -35,7 +35,7 @@ class CreateNoteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateNoteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateNoteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateNoteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateNoteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateNoteResponse.php b/src/Mail/Message/CreateNoteResponse.php index 5d34d7adc..4676f7916 100644 --- a/src/Mail/Message/CreateNoteResponse.php +++ b/src/Mail/Message/CreateNoteResponse.php @@ -42,7 +42,7 @@ class CreateNoteResponse extends SoapResponse * @param NoteInfo $note * @return self */ - public function __construct(?NoteInfo $note = NULL) + public function __construct(?NoteInfo $note = null) { $this->note = $note; } diff --git a/src/Mail/Message/CreateSearchFolderBody.php b/src/Mail/Message/CreateSearchFolderBody.php index 65efe24e3..19fec2d7e 100644 --- a/src/Mail/Message/CreateSearchFolderBody.php +++ b/src/Mail/Message/CreateSearchFolderBody.php @@ -33,7 +33,7 @@ class CreateSearchFolderBody extends SoapBody #[SerializedName('CreateSearchFolderRequest')] #[Type(CreateSearchFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateSearchFolderBody extends SoapBody #[SerializedName('CreateSearchFolderResponse')] #[Type(CreateSearchFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateSearchFolderBody extends SoapBody * @return self */ public function __construct( - ?CreateSearchFolderRequest $request = NULL, ?CreateSearchFolderResponse $response = NULL + ?CreateSearchFolderRequest $request = null, ?CreateSearchFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateSearchFolderEnvelope.php b/src/Mail/Message/CreateSearchFolderEnvelope.php index a93fe5ea0..108b7ba9b 100644 --- a/src/Mail/Message/CreateSearchFolderEnvelope.php +++ b/src/Mail/Message/CreateSearchFolderEnvelope.php @@ -35,7 +35,7 @@ class CreateSearchFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateSearchFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateSearchFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateSearchFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateSearchFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateSearchFolderResponse.php b/src/Mail/Message/CreateSearchFolderResponse.php index 8c3585de8..3a48d3eb4 100644 --- a/src/Mail/Message/CreateSearchFolderResponse.php +++ b/src/Mail/Message/CreateSearchFolderResponse.php @@ -42,7 +42,7 @@ class CreateSearchFolderResponse extends SoapResponse * @param SearchFolder $searchFolder * @return self */ - public function __construct(?SearchFolder $searchFolder = NULL) + public function __construct(?SearchFolder $searchFolder = null) { $this->searchFolder = $searchFolder; } diff --git a/src/Mail/Message/CreateTagBody.php b/src/Mail/Message/CreateTagBody.php index f18a434cd..9c053fee5 100644 --- a/src/Mail/Message/CreateTagBody.php +++ b/src/Mail/Message/CreateTagBody.php @@ -33,7 +33,7 @@ class CreateTagBody extends SoapBody #[SerializedName('CreateTagRequest')] #[Type(CreateTagRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateTagBody extends SoapBody #[SerializedName('CreateTagResponse')] #[Type(CreateTagResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateTagBody extends SoapBody * @return self */ public function __construct( - ?CreateTagRequest $request = NULL, ?CreateTagResponse $response = NULL + ?CreateTagRequest $request = null, ?CreateTagResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateTagEnvelope.php b/src/Mail/Message/CreateTagEnvelope.php index d53cea1e6..ac6efe279 100644 --- a/src/Mail/Message/CreateTagEnvelope.php +++ b/src/Mail/Message/CreateTagEnvelope.php @@ -35,7 +35,7 @@ class CreateTagEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateTagBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateTagEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateTagBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateTagBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateTagRequest.php b/src/Mail/Message/CreateTagRequest.php index bbd61df8b..33e06aa0a 100644 --- a/src/Mail/Message/CreateTagRequest.php +++ b/src/Mail/Message/CreateTagRequest.php @@ -43,7 +43,7 @@ class CreateTagRequest extends SoapRequest * @param TagSpec $tag * @return self */ - public function __construct(?TagSpec $tag = NULL) + public function __construct(?TagSpec $tag = null) { $this->tag = $tag; } diff --git a/src/Mail/Message/CreateTagResponse.php b/src/Mail/Message/CreateTagResponse.php index af95b73cc..da8d48ba3 100644 --- a/src/Mail/Message/CreateTagResponse.php +++ b/src/Mail/Message/CreateTagResponse.php @@ -42,7 +42,7 @@ class CreateTagResponse extends SoapResponse * @param TagInfo $tag * @return self */ - public function __construct(?TagInfo $tag = NULL) + public function __construct(?TagInfo $tag = null) { $this->tag = $tag; } diff --git a/src/Mail/Message/CreateTaskBody.php b/src/Mail/Message/CreateTaskBody.php index 8dc172e8e..174b65f93 100644 --- a/src/Mail/Message/CreateTaskBody.php +++ b/src/Mail/Message/CreateTaskBody.php @@ -33,7 +33,7 @@ class CreateTaskBody extends SoapBody #[SerializedName('CreateTaskRequest')] #[Type(CreateTaskRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateTaskBody extends SoapBody #[SerializedName('CreateTaskResponse')] #[Type(CreateTaskResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateTaskBody extends SoapBody * @return self */ public function __construct( - ?CreateTaskRequest $request = NULL, ?CreateTaskResponse $response = NULL + ?CreateTaskRequest $request = null, ?CreateTaskResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateTaskEnvelope.php b/src/Mail/Message/CreateTaskEnvelope.php index 2bb8d31b6..bd764fc43 100644 --- a/src/Mail/Message/CreateTaskEnvelope.php +++ b/src/Mail/Message/CreateTaskEnvelope.php @@ -35,7 +35,7 @@ class CreateTaskEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateTaskBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateTaskEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateTaskBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateTaskBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateTaskExceptionBody.php b/src/Mail/Message/CreateTaskExceptionBody.php index 9a6fa9dea..11bff20c1 100644 --- a/src/Mail/Message/CreateTaskExceptionBody.php +++ b/src/Mail/Message/CreateTaskExceptionBody.php @@ -33,7 +33,7 @@ class CreateTaskExceptionBody extends SoapBody #[SerializedName('CreateTaskExceptionRequest')] #[Type(CreateTaskExceptionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateTaskExceptionBody extends SoapBody #[SerializedName('CreateTaskExceptionResponse')] #[Type(CreateTaskExceptionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateTaskExceptionBody extends SoapBody * @return self */ public function __construct( - ?CreateTaskExceptionRequest $request = NULL, ?CreateTaskExceptionResponse $response = NULL + ?CreateTaskExceptionRequest $request = null, ?CreateTaskExceptionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateTaskExceptionEnvelope.php b/src/Mail/Message/CreateTaskExceptionEnvelope.php index 687484282..7c2e25e82 100644 --- a/src/Mail/Message/CreateTaskExceptionEnvelope.php +++ b/src/Mail/Message/CreateTaskExceptionEnvelope.php @@ -35,7 +35,7 @@ class CreateTaskExceptionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateTaskExceptionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateTaskExceptionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateTaskExceptionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateTaskExceptionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateWaitSetBody.php b/src/Mail/Message/CreateWaitSetBody.php index a462ba2cf..0c54b567b 100644 --- a/src/Mail/Message/CreateWaitSetBody.php +++ b/src/Mail/Message/CreateWaitSetBody.php @@ -33,7 +33,7 @@ class CreateWaitSetBody extends SoapBody #[SerializedName('CreateWaitSetRequest')] #[Type(CreateWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class CreateWaitSetBody extends SoapBody #[SerializedName('CreateWaitSetResponse')] #[Type(CreateWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class CreateWaitSetBody extends SoapBody * @return self */ public function __construct( - ?CreateWaitSetRequest $request = NULL, ?CreateWaitSetResponse $response = NULL + ?CreateWaitSetRequest $request = null, ?CreateWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/CreateWaitSetEnvelope.php b/src/Mail/Message/CreateWaitSetEnvelope.php index 88fc8a81e..488e8ba94 100644 --- a/src/Mail/Message/CreateWaitSetEnvelope.php +++ b/src/Mail/Message/CreateWaitSetEnvelope.php @@ -35,7 +35,7 @@ class CreateWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(CreateWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class CreateWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?CreateWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?CreateWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/CreateWaitSetRequest.php b/src/Mail/Message/CreateWaitSetRequest.php index a065bedcb..4f090640a 100644 --- a/src/Mail/Message/CreateWaitSetRequest.php +++ b/src/Mail/Message/CreateWaitSetRequest.php @@ -88,12 +88,12 @@ class CreateWaitSetRequest extends SoapRequest implements CreateWaitSetReq * @return self */ public function __construct( - string $defaultInterests = '', ?bool $allAccounts = NULL, array $accounts = [] + string $defaultInterests = '', ?bool $allAccounts = null, array $accounts = [] ) { $this->setDefaultInterests($defaultInterests) ->setAccounts($accounts); - if (NULL !== $allAccounts) { + if (null !== $allAccounts) { $this->setAllAccounts($allAccounts); } } diff --git a/src/Mail/Message/CreateWaitSetResponse.php b/src/Mail/Message/CreateWaitSetResponse.php index 213314dad..5bd1d2a9c 100644 --- a/src/Mail/Message/CreateWaitSetResponse.php +++ b/src/Mail/Message/CreateWaitSetResponse.php @@ -87,20 +87,20 @@ class CreateWaitSetResponse extends SoapResponse implements CreateWaitSetResp * @return self */ public function __construct( - ?string $waitSetId = NULL, - ?string $defaultInterests = NULL, - ?int $sequence = NULL, + ?string $waitSetId = null, + ?string $defaultInterests = null, + ?int $sequence = null, array $errors = [] ) { $this->setErrors($errors); - if (NULL !== $waitSetId) { + if (null !== $waitSetId) { $this->setWaitSetId($waitSetId); } - if (NULL !== $defaultInterests) { + if (null !== $defaultInterests) { $this->setDefaultInterests($defaultInterests); } - if (NULL !== $sequence) { + if (null !== $sequence) { $this->setSequence($sequence); } } diff --git a/src/Mail/Message/DeclineCounterAppointmentBody.php b/src/Mail/Message/DeclineCounterAppointmentBody.php index 97d9e0757..02d5728fa 100644 --- a/src/Mail/Message/DeclineCounterAppointmentBody.php +++ b/src/Mail/Message/DeclineCounterAppointmentBody.php @@ -33,7 +33,7 @@ class DeclineCounterAppointmentBody extends SoapBody #[SerializedName('DeclineCounterAppointmentRequest')] #[Type(DeclineCounterAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeclineCounterAppointmentBody extends SoapBody #[SerializedName('DeclineCounterAppointmentResponse')] #[Type(DeclineCounterAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeclineCounterAppointmentBody extends SoapBody * @return self */ public function __construct( - ?DeclineCounterAppointmentRequest $request = NULL, ?DeclineCounterAppointmentResponse $response = NULL + ?DeclineCounterAppointmentRequest $request = null, ?DeclineCounterAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DeclineCounterAppointmentEnvelope.php b/src/Mail/Message/DeclineCounterAppointmentEnvelope.php index 510fc0bda..292ef7cc7 100644 --- a/src/Mail/Message/DeclineCounterAppointmentEnvelope.php +++ b/src/Mail/Message/DeclineCounterAppointmentEnvelope.php @@ -35,7 +35,7 @@ class DeclineCounterAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeclineCounterAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeclineCounterAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeclineCounterAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeclineCounterAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DeclineCounterAppointmentRequest.php b/src/Mail/Message/DeclineCounterAppointmentRequest.php index 2fc2124e8..a43a3d320 100644 --- a/src/Mail/Message/DeclineCounterAppointmentRequest.php +++ b/src/Mail/Message/DeclineCounterAppointmentRequest.php @@ -45,7 +45,7 @@ class DeclineCounterAppointmentRequest extends SoapRequest * @param Msg $msg * @return self */ - public function __construct(?Msg $msg = NULL) + public function __construct(?Msg $msg = null) { $this->msg = $msg; } diff --git a/src/Mail/Message/DeleteDataSourceBody.php b/src/Mail/Message/DeleteDataSourceBody.php index 0297d0de1..7384a2e24 100644 --- a/src/Mail/Message/DeleteDataSourceBody.php +++ b/src/Mail/Message/DeleteDataSourceBody.php @@ -33,7 +33,7 @@ class DeleteDataSourceBody extends SoapBody #[SerializedName('DeleteDataSourceRequest')] #[Type(DeleteDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DeleteDataSourceBody extends SoapBody #[SerializedName('DeleteDataSourceResponse')] #[Type(DeleteDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DeleteDataSourceBody extends SoapBody * @return self */ public function __construct( - ?DeleteDataSourceRequest $request = NULL, ?DeleteDataSourceResponse $response = NULL + ?DeleteDataSourceRequest $request = null, ?DeleteDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DeleteDataSourceEnvelope.php b/src/Mail/Message/DeleteDataSourceEnvelope.php index 66051d944..f452b2e5c 100644 --- a/src/Mail/Message/DeleteDataSourceEnvelope.php +++ b/src/Mail/Message/DeleteDataSourceEnvelope.php @@ -35,7 +35,7 @@ class DeleteDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DeleteDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DeleteDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DeleteDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DeleteDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DestroyWaitSetBody.php b/src/Mail/Message/DestroyWaitSetBody.php index 77cd94194..6da7c18f9 100644 --- a/src/Mail/Message/DestroyWaitSetBody.php +++ b/src/Mail/Message/DestroyWaitSetBody.php @@ -33,7 +33,7 @@ class DestroyWaitSetBody extends SoapBody #[SerializedName('DestroyWaitSetRequest')] #[Type(DestroyWaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DestroyWaitSetBody extends SoapBody #[SerializedName('DestroyWaitSetResponse')] #[Type(DestroyWaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DestroyWaitSetBody extends SoapBody * @return self */ public function __construct( - ?DestroyWaitSetRequest $request = NULL, ?DestroyWaitSetResponse $response = NULL + ?DestroyWaitSetRequest $request = null, ?DestroyWaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DestroyWaitSetEnvelope.php b/src/Mail/Message/DestroyWaitSetEnvelope.php index 5fca5f59c..dd037f13e 100644 --- a/src/Mail/Message/DestroyWaitSetEnvelope.php +++ b/src/Mail/Message/DestroyWaitSetEnvelope.php @@ -35,7 +35,7 @@ class DestroyWaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DestroyWaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DestroyWaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DestroyWaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DestroyWaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DiffDocumentBody.php b/src/Mail/Message/DiffDocumentBody.php index c1bc6f2a4..af6396695 100644 --- a/src/Mail/Message/DiffDocumentBody.php +++ b/src/Mail/Message/DiffDocumentBody.php @@ -33,7 +33,7 @@ class DiffDocumentBody extends SoapBody #[SerializedName('DiffDocumentRequest')] #[Type(DiffDocumentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DiffDocumentBody extends SoapBody #[SerializedName('DiffDocumentResponse')] #[Type(DiffDocumentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DiffDocumentBody extends SoapBody * @return self */ public function __construct( - ?DiffDocumentRequest $request = NULL, ?DiffDocumentResponse $response = NULL + ?DiffDocumentRequest $request = null, ?DiffDocumentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DiffDocumentEnvelope.php b/src/Mail/Message/DiffDocumentEnvelope.php index a01de0ca2..2d5d4da4c 100644 --- a/src/Mail/Message/DiffDocumentEnvelope.php +++ b/src/Mail/Message/DiffDocumentEnvelope.php @@ -35,7 +35,7 @@ class DiffDocumentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DiffDocumentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DiffDocumentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DiffDocumentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DiffDocumentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DiffDocumentRequest.php b/src/Mail/Message/DiffDocumentRequest.php index 8c37938f0..a2f51c97d 100644 --- a/src/Mail/Message/DiffDocumentRequest.php +++ b/src/Mail/Message/DiffDocumentRequest.php @@ -45,7 +45,7 @@ class DiffDocumentRequest extends SoapRequest * @param DiffDocumentVersionSpec $doc * @return self */ - public function __construct(?DiffDocumentVersionSpec $doc = NULL) + public function __construct(?DiffDocumentVersionSpec $doc = null) { $this->doc = $doc; } diff --git a/src/Mail/Message/DismissCalendarItemAlarmBody.php b/src/Mail/Message/DismissCalendarItemAlarmBody.php index 0b29408cf..1d1feac24 100644 --- a/src/Mail/Message/DismissCalendarItemAlarmBody.php +++ b/src/Mail/Message/DismissCalendarItemAlarmBody.php @@ -33,7 +33,7 @@ class DismissCalendarItemAlarmBody extends SoapBody #[SerializedName('DismissCalendarItemAlarmRequest')] #[Type(DismissCalendarItemAlarmRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DismissCalendarItemAlarmBody extends SoapBody #[SerializedName('DismissCalendarItemAlarmResponse')] #[Type(DismissCalendarItemAlarmResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DismissCalendarItemAlarmBody extends SoapBody * @return self */ public function __construct( - ?DismissCalendarItemAlarmRequest $request = NULL, ?DismissCalendarItemAlarmResponse $response = NULL + ?DismissCalendarItemAlarmRequest $request = null, ?DismissCalendarItemAlarmResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DismissCalendarItemAlarmEnvelope.php b/src/Mail/Message/DismissCalendarItemAlarmEnvelope.php index 08f2e2db1..eab9cebff 100644 --- a/src/Mail/Message/DismissCalendarItemAlarmEnvelope.php +++ b/src/Mail/Message/DismissCalendarItemAlarmEnvelope.php @@ -35,7 +35,7 @@ class DismissCalendarItemAlarmEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DismissCalendarItemAlarmBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DismissCalendarItemAlarmEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DismissCalendarItemAlarmBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DismissCalendarItemAlarmBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DocumentActionBody.php b/src/Mail/Message/DocumentActionBody.php index 60911df08..eff0b55cf 100644 --- a/src/Mail/Message/DocumentActionBody.php +++ b/src/Mail/Message/DocumentActionBody.php @@ -33,7 +33,7 @@ class DocumentActionBody extends SoapBody #[SerializedName('DocumentActionRequest')] #[Type(DocumentActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class DocumentActionBody extends SoapBody #[SerializedName('DocumentActionResponse')] #[Type(DocumentActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class DocumentActionBody extends SoapBody * @return self */ public function __construct( - ?DocumentActionRequest $request = NULL, ?DocumentActionResponse $response = NULL + ?DocumentActionRequest $request = null, ?DocumentActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/DocumentActionEnvelope.php b/src/Mail/Message/DocumentActionEnvelope.php index 2e0075066..fd8890cab 100644 --- a/src/Mail/Message/DocumentActionEnvelope.php +++ b/src/Mail/Message/DocumentActionEnvelope.php @@ -35,7 +35,7 @@ class DocumentActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(DocumentActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class DocumentActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?DocumentActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?DocumentActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/DocumentActionResponse.php b/src/Mail/Message/DocumentActionResponse.php index 976e10e57..08d5a5369 100644 --- a/src/Mail/Message/DocumentActionResponse.php +++ b/src/Mail/Message/DocumentActionResponse.php @@ -42,7 +42,7 @@ class DocumentActionResponse extends SoapResponse * @param DocumentActionResult $action * @return self */ - public function __construct(?DocumentActionResult $action = NULL) + public function __construct(?DocumentActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/EmptyDumpsterBody.php b/src/Mail/Message/EmptyDumpsterBody.php index 89c2f6621..fc6314bc9 100644 --- a/src/Mail/Message/EmptyDumpsterBody.php +++ b/src/Mail/Message/EmptyDumpsterBody.php @@ -33,7 +33,7 @@ class EmptyDumpsterBody extends SoapBody #[SerializedName('EmptyDumpsterRequest')] #[Type(EmptyDumpsterRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class EmptyDumpsterBody extends SoapBody #[SerializedName('EmptyDumpsterResponse')] #[Type(EmptyDumpsterResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class EmptyDumpsterBody extends SoapBody * @return self */ public function __construct( - ?EmptyDumpsterRequest $request = NULL, ?EmptyDumpsterResponse $response = NULL + ?EmptyDumpsterRequest $request = null, ?EmptyDumpsterResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/EmptyDumpsterEnvelope.php b/src/Mail/Message/EmptyDumpsterEnvelope.php index 08de8511e..454090bbd 100644 --- a/src/Mail/Message/EmptyDumpsterEnvelope.php +++ b/src/Mail/Message/EmptyDumpsterEnvelope.php @@ -35,7 +35,7 @@ class EmptyDumpsterEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(EmptyDumpsterBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class EmptyDumpsterEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?EmptyDumpsterBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?EmptyDumpsterBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/EnableSharedReminderBody.php b/src/Mail/Message/EnableSharedReminderBody.php index 1e0ee8d0f..ace73b3ce 100644 --- a/src/Mail/Message/EnableSharedReminderBody.php +++ b/src/Mail/Message/EnableSharedReminderBody.php @@ -33,7 +33,7 @@ class EnableSharedReminderBody extends SoapBody #[SerializedName('EnableSharedReminderRequest')] #[Type(EnableSharedReminderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class EnableSharedReminderBody extends SoapBody #[SerializedName('EnableSharedReminderResponse')] #[Type(EnableSharedReminderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class EnableSharedReminderBody extends SoapBody * @return self */ public function __construct( - ?EnableSharedReminderRequest $request = NULL, ?EnableSharedReminderResponse $response = NULL + ?EnableSharedReminderRequest $request = null, ?EnableSharedReminderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/EnableSharedReminderEnvelope.php b/src/Mail/Message/EnableSharedReminderEnvelope.php index 51ebf90b5..804776cb5 100644 --- a/src/Mail/Message/EnableSharedReminderEnvelope.php +++ b/src/Mail/Message/EnableSharedReminderEnvelope.php @@ -35,7 +35,7 @@ class EnableSharedReminderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(EnableSharedReminderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class EnableSharedReminderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?EnableSharedReminderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?EnableSharedReminderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ExpandRecurBody.php b/src/Mail/Message/ExpandRecurBody.php index a83d678aa..21252f4d7 100644 --- a/src/Mail/Message/ExpandRecurBody.php +++ b/src/Mail/Message/ExpandRecurBody.php @@ -33,7 +33,7 @@ class ExpandRecurBody extends SoapBody #[SerializedName('ExpandRecurRequest')] #[Type(ExpandRecurRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ExpandRecurBody extends SoapBody #[SerializedName('ExpandRecurResponse')] #[Type(ExpandRecurResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ExpandRecurBody extends SoapBody * @return self */ public function __construct( - ?ExpandRecurRequest $request = NULL, ?ExpandRecurResponse $response = NULL + ?ExpandRecurRequest $request = null, ?ExpandRecurResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ExpandRecurEnvelope.php b/src/Mail/Message/ExpandRecurEnvelope.php index 62214698f..1cf12964e 100644 --- a/src/Mail/Message/ExpandRecurEnvelope.php +++ b/src/Mail/Message/ExpandRecurEnvelope.php @@ -35,7 +35,7 @@ class ExpandRecurEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ExpandRecurBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ExpandRecurEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ExpandRecurBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ExpandRecurBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ExportContactsBody.php b/src/Mail/Message/ExportContactsBody.php index ab27818ef..f74d37377 100644 --- a/src/Mail/Message/ExportContactsBody.php +++ b/src/Mail/Message/ExportContactsBody.php @@ -33,7 +33,7 @@ class ExportContactsBody extends SoapBody #[SerializedName('ExportContactsRequest')] #[Type(ExportContactsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ExportContactsBody extends SoapBody #[SerializedName('ExportContactsResponse')] #[Type(ExportContactsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ExportContactsBody extends SoapBody * @return self */ public function __construct( - ?ExportContactsRequest $request = NULL, ?ExportContactsResponse $response = NULL + ?ExportContactsRequest $request = null, ?ExportContactsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ExportContactsEnvelope.php b/src/Mail/Message/ExportContactsEnvelope.php index ae26056f3..abd57f7e5 100644 --- a/src/Mail/Message/ExportContactsEnvelope.php +++ b/src/Mail/Message/ExportContactsEnvelope.php @@ -35,7 +35,7 @@ class ExportContactsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ExportContactsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ExportContactsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ExportContactsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ExportContactsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ExportContactsRequest.php b/src/Mail/Message/ExportContactsRequest.php index 0d7cf4910..d42f0c672 100644 --- a/src/Mail/Message/ExportContactsRequest.php +++ b/src/Mail/Message/ExportContactsRequest.php @@ -94,23 +94,23 @@ class ExportContactsRequest extends SoapRequest */ public function __construct( string $contentType = '', - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL, - ?string $csvDelimiter = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null, + ?string $csvDelimiter = null ) { $this->setContentType($contentType); - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $csvFormat) { + if (null !== $csvFormat) { $this->setCsvFormat($csvFormat); } - if (NULL !== $csvLocale) { + if (null !== $csvLocale) { $this->setCsvLocale($csvLocale); } - if (NULL !== $csvDelimiter) { + if (null !== $csvDelimiter) { $this->setCsvDelimiter($csvDelimiter); } } diff --git a/src/Mail/Message/FileSharedWithMeBody.php b/src/Mail/Message/FileSharedWithMeBody.php index 5a345286b..4a61cfb36 100644 --- a/src/Mail/Message/FileSharedWithMeBody.php +++ b/src/Mail/Message/FileSharedWithMeBody.php @@ -33,7 +33,7 @@ class FileSharedWithMeBody extends SoapBody #[SerializedName('FileSharedWithMeRequest')] #[Type(FileSharedWithMeRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FileSharedWithMeBody extends SoapBody #[SerializedName('FileSharedWithMeResponse')] #[Type(FileSharedWithMeResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FileSharedWithMeBody extends SoapBody * @return self */ public function __construct( - ?FileSharedWithMeRequest $request = NULL, ?FileSharedWithMeResponse $response = NULL + ?FileSharedWithMeRequest $request = null, ?FileSharedWithMeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/FileSharedWithMeEnvelope.php b/src/Mail/Message/FileSharedWithMeEnvelope.php index 36c79c943..49f33e806 100644 --- a/src/Mail/Message/FileSharedWithMeEnvelope.php +++ b/src/Mail/Message/FileSharedWithMeEnvelope.php @@ -35,7 +35,7 @@ class FileSharedWithMeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FileSharedWithMeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FileSharedWithMeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FileSharedWithMeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FileSharedWithMeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/FolderActionBody.php b/src/Mail/Message/FolderActionBody.php index 49b605dc9..25387cf36 100644 --- a/src/Mail/Message/FolderActionBody.php +++ b/src/Mail/Message/FolderActionBody.php @@ -33,7 +33,7 @@ class FolderActionBody extends SoapBody #[SerializedName('FolderActionRequest')] #[Type(FolderActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class FolderActionBody extends SoapBody #[SerializedName('FolderActionResponse')] #[Type(FolderActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class FolderActionBody extends SoapBody * @return self */ public function __construct( - ?FolderActionRequest $request = NULL, ?FolderActionResponse $response = NULL + ?FolderActionRequest $request = null, ?FolderActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/FolderActionEnvelope.php b/src/Mail/Message/FolderActionEnvelope.php index 85ed53c71..6e304d387 100644 --- a/src/Mail/Message/FolderActionEnvelope.php +++ b/src/Mail/Message/FolderActionEnvelope.php @@ -35,7 +35,7 @@ class FolderActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(FolderActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class FolderActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?FolderActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?FolderActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/FolderActionResponse.php b/src/Mail/Message/FolderActionResponse.php index 3a183dc79..ca7609716 100644 --- a/src/Mail/Message/FolderActionResponse.php +++ b/src/Mail/Message/FolderActionResponse.php @@ -42,7 +42,7 @@ class FolderActionResponse extends SoapResponse * @param FolderActionResult $action * @return self */ - public function __construct(?FolderActionResult $action = NULL) + public function __construct(?FolderActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/ForwardAppointmentBody.php b/src/Mail/Message/ForwardAppointmentBody.php index 7321d1a6d..7312b96b9 100644 --- a/src/Mail/Message/ForwardAppointmentBody.php +++ b/src/Mail/Message/ForwardAppointmentBody.php @@ -33,7 +33,7 @@ class ForwardAppointmentBody extends SoapBody #[SerializedName('ForwardAppointmentRequest')] #[Type(ForwardAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ForwardAppointmentBody extends SoapBody #[SerializedName('ForwardAppointmentResponse')] #[Type(ForwardAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ForwardAppointmentBody extends SoapBody * @return self */ public function __construct( - ?ForwardAppointmentRequest $request = NULL, ?ForwardAppointmentResponse $response = NULL + ?ForwardAppointmentRequest $request = null, ?ForwardAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ForwardAppointmentEnvelope.php b/src/Mail/Message/ForwardAppointmentEnvelope.php index 8ec7ee0e5..aadbcd0cc 100644 --- a/src/Mail/Message/ForwardAppointmentEnvelope.php +++ b/src/Mail/Message/ForwardAppointmentEnvelope.php @@ -35,7 +35,7 @@ class ForwardAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ForwardAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ForwardAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ForwardAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ForwardAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ForwardAppointmentInviteBody.php b/src/Mail/Message/ForwardAppointmentInviteBody.php index 21eb32c51..f97b254b2 100644 --- a/src/Mail/Message/ForwardAppointmentInviteBody.php +++ b/src/Mail/Message/ForwardAppointmentInviteBody.php @@ -33,7 +33,7 @@ class ForwardAppointmentInviteBody extends SoapBody #[SerializedName('ForwardAppointmentInviteRequest')] #[Type(ForwardAppointmentInviteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ForwardAppointmentInviteBody extends SoapBody #[SerializedName('ForwardAppointmentInviteResponse')] #[Type(ForwardAppointmentInviteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ForwardAppointmentInviteBody extends SoapBody * @return self */ public function __construct( - ?ForwardAppointmentInviteRequest $request = NULL, ?ForwardAppointmentInviteResponse $response = NULL + ?ForwardAppointmentInviteRequest $request = null, ?ForwardAppointmentInviteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ForwardAppointmentInviteEnvelope.php b/src/Mail/Message/ForwardAppointmentInviteEnvelope.php index 7e9d20d7c..836a46c97 100644 --- a/src/Mail/Message/ForwardAppointmentInviteEnvelope.php +++ b/src/Mail/Message/ForwardAppointmentInviteEnvelope.php @@ -35,7 +35,7 @@ class ForwardAppointmentInviteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ForwardAppointmentInviteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ForwardAppointmentInviteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ForwardAppointmentInviteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ForwardAppointmentInviteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ForwardAppointmentInviteRequest.php b/src/Mail/Message/ForwardAppointmentInviteRequest.php index 7f1963eaf..2c7c320d3 100644 --- a/src/Mail/Message/ForwardAppointmentInviteRequest.php +++ b/src/Mail/Message/ForwardAppointmentInviteRequest.php @@ -56,10 +56,10 @@ class ForwardAppointmentInviteRequest extends SoapRequest * @param Msg $msg * @return self */ - public function __construct(?string $id = NULL, ?Msg $msg = NULL) + public function __construct(?string $id = null, ?Msg $msg = null) { $this->msg = $msg; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Mail/Message/ForwardAppointmentRequest.php b/src/Mail/Message/ForwardAppointmentRequest.php index 8ef0662a8..523403e44 100644 --- a/src/Mail/Message/ForwardAppointmentRequest.php +++ b/src/Mail/Message/ForwardAppointmentRequest.php @@ -80,13 +80,13 @@ class ForwardAppointmentRequest extends SoapRequest * @return self */ public function __construct( - ?string $id = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?string $id = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } $this->exceptionId = $exceptionId; diff --git a/src/Mail/Message/GenerateUUIDBody.php b/src/Mail/Message/GenerateUUIDBody.php index 31e822e34..f6255f68a 100644 --- a/src/Mail/Message/GenerateUUIDBody.php +++ b/src/Mail/Message/GenerateUUIDBody.php @@ -33,7 +33,7 @@ class GenerateUUIDBody extends SoapBody #[SerializedName('GenerateUUIDRequest')] #[Type(GenerateUUIDRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GenerateUUIDBody extends SoapBody #[SerializedName('GenerateUUIDResponse')] #[Type(GenerateUUIDResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GenerateUUIDBody extends SoapBody * @return self */ public function __construct( - ?GenerateUUIDRequest $request = NULL, ?GenerateUUIDResponse $response = NULL + ?GenerateUUIDRequest $request = null, ?GenerateUUIDResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GenerateUUIDEnvelope.php b/src/Mail/Message/GenerateUUIDEnvelope.php index 36896d6b0..a91b1f40f 100644 --- a/src/Mail/Message/GenerateUUIDEnvelope.php +++ b/src/Mail/Message/GenerateUUIDEnvelope.php @@ -35,7 +35,7 @@ class GenerateUUIDEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GenerateUUIDBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GenerateUUIDEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GenerateUUIDBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GenerateUUIDBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetAppointmentBody.php b/src/Mail/Message/GetAppointmentBody.php index 56819f192..23d337125 100644 --- a/src/Mail/Message/GetAppointmentBody.php +++ b/src/Mail/Message/GetAppointmentBody.php @@ -33,7 +33,7 @@ class GetAppointmentBody extends SoapBody #[SerializedName('GetAppointmentRequest')] #[Type(GetAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAppointmentBody extends SoapBody #[SerializedName('GetAppointmentResponse')] #[Type(GetAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAppointmentBody extends SoapBody * @return self */ public function __construct( - ?GetAppointmentRequest $request = NULL, ?GetAppointmentResponse $response = NULL + ?GetAppointmentRequest $request = null, ?GetAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetAppointmentEnvelope.php b/src/Mail/Message/GetAppointmentEnvelope.php index e77815cf0..c40ac3936 100644 --- a/src/Mail/Message/GetAppointmentEnvelope.php +++ b/src/Mail/Message/GetAppointmentEnvelope.php @@ -35,7 +35,7 @@ class GetAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetAppointmentIdsInRangeBody.php b/src/Mail/Message/GetAppointmentIdsInRangeBody.php index 5d63d581f..e2c3664a5 100644 --- a/src/Mail/Message/GetAppointmentIdsInRangeBody.php +++ b/src/Mail/Message/GetAppointmentIdsInRangeBody.php @@ -33,7 +33,7 @@ class GetAppointmentIdsInRangeBody extends SoapBody #[SerializedName('GetAppointmentIdsInRangeRequest')] #[Type(GetAppointmentIdsInRangeRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAppointmentIdsInRangeBody extends SoapBody #[SerializedName('GetAppointmentIdsInRangeResponse')] #[Type(GetAppointmentIdsInRangeResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAppointmentIdsInRangeBody extends SoapBody * @return self */ public function __construct( - ?GetAppointmentIdsInRangeRequest $request = NULL, ?GetAppointmentIdsInRangeResponse $response = NULL + ?GetAppointmentIdsInRangeRequest $request = null, ?GetAppointmentIdsInRangeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetAppointmentIdsInRangeEnvelope.php b/src/Mail/Message/GetAppointmentIdsInRangeEnvelope.php index 1ad1d3c64..c28385454 100644 --- a/src/Mail/Message/GetAppointmentIdsInRangeEnvelope.php +++ b/src/Mail/Message/GetAppointmentIdsInRangeEnvelope.php @@ -35,7 +35,7 @@ class GetAppointmentIdsInRangeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAppointmentIdsInRangeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAppointmentIdsInRangeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAppointmentIdsInRangeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAppointmentIdsInRangeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetAppointmentIdsSinceBody.php b/src/Mail/Message/GetAppointmentIdsSinceBody.php index bc7aedcb3..98c0a93e9 100644 --- a/src/Mail/Message/GetAppointmentIdsSinceBody.php +++ b/src/Mail/Message/GetAppointmentIdsSinceBody.php @@ -33,7 +33,7 @@ class GetAppointmentIdsSinceBody extends SoapBody #[SerializedName('GetAppointmentIdsSinceRequest')] #[Type(GetAppointmentIdsSinceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetAppointmentIdsSinceBody extends SoapBody #[SerializedName('GetAppointmentIdsSinceResponse')] #[Type(GetAppointmentIdsSinceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetAppointmentIdsSinceBody extends SoapBody * @return self */ public function __construct( - ?GetAppointmentIdsSinceRequest $request = NULL, ?GetAppointmentIdsSinceResponse $response = NULL + ?GetAppointmentIdsSinceRequest $request = null, ?GetAppointmentIdsSinceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetAppointmentIdsSinceEnvelope.php b/src/Mail/Message/GetAppointmentIdsSinceEnvelope.php index 8f2147c3e..e1f72a390 100644 --- a/src/Mail/Message/GetAppointmentIdsSinceEnvelope.php +++ b/src/Mail/Message/GetAppointmentIdsSinceEnvelope.php @@ -35,7 +35,7 @@ class GetAppointmentIdsSinceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetAppointmentIdsSinceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetAppointmentIdsSinceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetAppointmentIdsSinceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetAppointmentIdsSinceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetAppointmentResponse.php b/src/Mail/Message/GetAppointmentResponse.php index 2d8a1286e..ca781d816 100644 --- a/src/Mail/Message/GetAppointmentResponse.php +++ b/src/Mail/Message/GetAppointmentResponse.php @@ -54,8 +54,8 @@ class GetAppointmentResponse extends SoapResponse * @return self */ public function __construct( - ?CalendarItemInfo $appt = NULL, - ?TaskItemInfo $task = NULL + ?CalendarItemInfo $appt = null, + ?TaskItemInfo $task = null ) { $this->appt = $appt; diff --git a/src/Mail/Message/GetApptSummariesBody.php b/src/Mail/Message/GetApptSummariesBody.php index a22f3a578..e5e9c9706 100644 --- a/src/Mail/Message/GetApptSummariesBody.php +++ b/src/Mail/Message/GetApptSummariesBody.php @@ -33,7 +33,7 @@ class GetApptSummariesBody extends SoapBody #[SerializedName('GetApptSummariesRequest')] #[Type(GetApptSummariesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetApptSummariesBody extends SoapBody #[SerializedName('GetApptSummariesResponse')] #[Type(GetApptSummariesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetApptSummariesBody extends SoapBody * @return self */ public function __construct( - ?GetApptSummariesRequest $request = NULL, ?GetApptSummariesResponse $response = NULL + ?GetApptSummariesRequest $request = null, ?GetApptSummariesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetApptSummariesEnvelope.php b/src/Mail/Message/GetApptSummariesEnvelope.php index 5b3bc85d6..cc221e2d8 100644 --- a/src/Mail/Message/GetApptSummariesEnvelope.php +++ b/src/Mail/Message/GetApptSummariesEnvelope.php @@ -35,7 +35,7 @@ class GetApptSummariesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetApptSummariesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetApptSummariesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetApptSummariesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetApptSummariesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetApptSummariesRequest.php b/src/Mail/Message/GetApptSummariesRequest.php index 5ccd48014..82eeee2b6 100644 --- a/src/Mail/Message/GetApptSummariesRequest.php +++ b/src/Mail/Message/GetApptSummariesRequest.php @@ -69,12 +69,12 @@ class GetApptSummariesRequest extends SoapRequest public function __construct( int $startTime = 0, int $endTime = 0, - ?string $folderId = NULL + ?string $folderId = null ) { $this->setStartTime($startTime) ->setEndTime($endTime); - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } } diff --git a/src/Mail/Message/GetCalendarItemSummariesBody.php b/src/Mail/Message/GetCalendarItemSummariesBody.php index ee36fd77b..432d86252 100644 --- a/src/Mail/Message/GetCalendarItemSummariesBody.php +++ b/src/Mail/Message/GetCalendarItemSummariesBody.php @@ -33,7 +33,7 @@ class GetCalendarItemSummariesBody extends SoapBody #[SerializedName('GetCalendarItemSummariesRequest')] #[Type(GetCalendarItemSummariesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCalendarItemSummariesBody extends SoapBody #[SerializedName('GetCalendarItemSummariesResponse')] #[Type(GetCalendarItemSummariesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCalendarItemSummariesBody extends SoapBody * @return self */ public function __construct( - ?GetCalendarItemSummariesRequest $request = NULL, ?GetCalendarItemSummariesResponse $response = NULL + ?GetCalendarItemSummariesRequest $request = null, ?GetCalendarItemSummariesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetCalendarItemSummariesEnvelope.php b/src/Mail/Message/GetCalendarItemSummariesEnvelope.php index 8d967cc46..1aa0b2668 100644 --- a/src/Mail/Message/GetCalendarItemSummariesEnvelope.php +++ b/src/Mail/Message/GetCalendarItemSummariesEnvelope.php @@ -35,7 +35,7 @@ class GetCalendarItemSummariesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCalendarItemSummariesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCalendarItemSummariesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCalendarItemSummariesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCalendarItemSummariesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetCommentsBody.php b/src/Mail/Message/GetCommentsBody.php index 8a157e5d9..58d9a1ce6 100644 --- a/src/Mail/Message/GetCommentsBody.php +++ b/src/Mail/Message/GetCommentsBody.php @@ -33,7 +33,7 @@ class GetCommentsBody extends SoapBody #[SerializedName('GetCommentsRequest')] #[Type(GetCommentsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCommentsBody extends SoapBody #[SerializedName('GetCommentsResponse')] #[Type(GetCommentsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCommentsBody extends SoapBody * @return self */ public function __construct( - ?GetCommentsRequest $request = NULL, ?GetCommentsResponse $response = NULL + ?GetCommentsRequest $request = null, ?GetCommentsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetCommentsEnvelope.php b/src/Mail/Message/GetCommentsEnvelope.php index 8b24903ab..f4ad48ff3 100644 --- a/src/Mail/Message/GetCommentsEnvelope.php +++ b/src/Mail/Message/GetCommentsEnvelope.php @@ -35,7 +35,7 @@ class GetCommentsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCommentsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCommentsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCommentsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCommentsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetContactBackupListBody.php b/src/Mail/Message/GetContactBackupListBody.php index 9afc78368..e156105f8 100644 --- a/src/Mail/Message/GetContactBackupListBody.php +++ b/src/Mail/Message/GetContactBackupListBody.php @@ -33,7 +33,7 @@ class GetContactBackupListBody extends SoapBody #[SerializedName('GetContactBackupListRequest')] #[Type(GetContactBackupListRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetContactBackupListBody extends SoapBody #[SerializedName('GetContactBackupListResponse')] #[Type(GetContactBackupListResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetContactBackupListBody extends SoapBody * @return self */ public function __construct( - ?GetContactBackupListRequest $request = NULL, ?GetContactBackupListResponse $response = NULL + ?GetContactBackupListRequest $request = null, ?GetContactBackupListResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetContactBackupListEnvelope.php b/src/Mail/Message/GetContactBackupListEnvelope.php index c67db546f..73b6c7e8d 100644 --- a/src/Mail/Message/GetContactBackupListEnvelope.php +++ b/src/Mail/Message/GetContactBackupListEnvelope.php @@ -35,7 +35,7 @@ class GetContactBackupListEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetContactBackupListBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetContactBackupListEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetContactBackupListBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetContactBackupListBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetContactsBody.php b/src/Mail/Message/GetContactsBody.php index 6fb858096..78888fa92 100644 --- a/src/Mail/Message/GetContactsBody.php +++ b/src/Mail/Message/GetContactsBody.php @@ -33,7 +33,7 @@ class GetContactsBody extends SoapBody #[SerializedName('GetContactsRequest')] #[Type(GetContactsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetContactsBody extends SoapBody #[SerializedName('GetContactsResponse')] #[Type(GetContactsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetContactsBody extends SoapBody * @return self */ public function __construct( - ?GetContactsRequest $request = NULL, ?GetContactsResponse $response = NULL + ?GetContactsRequest $request = null, ?GetContactsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetContactsEnvelope.php b/src/Mail/Message/GetContactsEnvelope.php index 0f9536398..0baf62ca2 100644 --- a/src/Mail/Message/GetContactsEnvelope.php +++ b/src/Mail/Message/GetContactsEnvelope.php @@ -35,7 +35,7 @@ class GetContactsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetContactsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetContactsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetContactsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetContactsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetContactsRequest.php b/src/Mail/Message/GetContactsRequest.php index b032cbdd8..889d37805 100644 --- a/src/Mail/Message/GetContactsRequest.php +++ b/src/Mail/Message/GetContactsRequest.php @@ -184,15 +184,15 @@ class GetContactsRequest extends SoapRequest * @return self */ public function __construct( - ?bool $sync = NULL, - ?string $folderId = NULL, - ?string $sortBy = NULL, - ?bool $derefGroupMember = NULL, - ?bool $includeMemberOf = NULL, - ?bool $returnHiddenAttrs = NULL, - ?bool $returnCertInfo = NULL, - ?bool $wantImapUid = NULL, - ?int $maxMembers = NULL, + ?bool $sync = null, + ?string $folderId = null, + ?string $sortBy = null, + ?bool $derefGroupMember = null, + ?bool $includeMemberOf = null, + ?bool $returnHiddenAttrs = null, + ?bool $returnCertInfo = null, + ?bool $wantImapUid = null, + ?int $maxMembers = null, array $attributes = [], array $memberAttributes = [], array $contacts = [] @@ -201,31 +201,31 @@ public function __construct( $this->setAttributes($attributes) ->setMemberAttributes($memberAttributes) ->setContacts($contacts); - if (NULL !== $sync) { + if (null !== $sync) { $this->setSync($sync); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $sortBy) { + if (null !== $sortBy) { $this->setSortBy($sortBy); } - if (NULL !== $derefGroupMember) { + if (null !== $derefGroupMember) { $this->setDerefGroupMember($derefGroupMember); } - if (NULL !== $includeMemberOf) { + if (null !== $includeMemberOf) { $this->setIncludeMemberOf($includeMemberOf); } - if (NULL !== $returnHiddenAttrs) { + if (null !== $returnHiddenAttrs) { $this->setReturnHiddenAttrs($returnHiddenAttrs); } - if (NULL !== $returnCertInfo) { + if (null !== $returnCertInfo) { $this->setReturnCertInfo($returnCertInfo); } - if (NULL !== $wantImapUid) { + if (null !== $wantImapUid) { $this->setWantImapUid($wantImapUid); } - if (NULL !== $maxMembers) { + if (null !== $maxMembers) { $this->setMaxMembers($maxMembers); } } diff --git a/src/Mail/Message/GetConvBody.php b/src/Mail/Message/GetConvBody.php index 0cc21907d..2a5f4093b 100644 --- a/src/Mail/Message/GetConvBody.php +++ b/src/Mail/Message/GetConvBody.php @@ -33,7 +33,7 @@ class GetConvBody extends SoapBody #[SerializedName('GetConvRequest')] #[Type(GetConvRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetConvBody extends SoapBody #[SerializedName('GetConvResponse')] #[Type(GetConvResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetConvBody extends SoapBody * @return self */ public function __construct( - ?GetConvRequest $request = NULL, ?GetConvResponse $response = NULL + ?GetConvRequest $request = null, ?GetConvResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetConvEnvelope.php b/src/Mail/Message/GetConvEnvelope.php index 8fc30432f..43663be22 100644 --- a/src/Mail/Message/GetConvEnvelope.php +++ b/src/Mail/Message/GetConvEnvelope.php @@ -35,7 +35,7 @@ class GetConvEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetConvBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetConvEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetConvBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetConvBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetConvResponse.php b/src/Mail/Message/GetConvResponse.php index 9c58729a5..67b5b89a1 100644 --- a/src/Mail/Message/GetConvResponse.php +++ b/src/Mail/Message/GetConvResponse.php @@ -42,7 +42,7 @@ class GetConvResponse extends SoapResponse * @param ConversationInfo $conversation * @return self */ - public function __construct(?ConversationInfo $conversation = NULL) + public function __construct(?ConversationInfo $conversation = null) { $this->conversation = $conversation; } diff --git a/src/Mail/Message/GetCustomMetadataBody.php b/src/Mail/Message/GetCustomMetadataBody.php index 8e722b53e..2fcc3f336 100644 --- a/src/Mail/Message/GetCustomMetadataBody.php +++ b/src/Mail/Message/GetCustomMetadataBody.php @@ -33,7 +33,7 @@ class GetCustomMetadataBody extends SoapBody #[SerializedName('GetCustomMetadataRequest')] #[Type(GetCustomMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetCustomMetadataBody extends SoapBody #[SerializedName('GetCustomMetadataResponse')] #[Type(GetCustomMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetCustomMetadataBody extends SoapBody * @return self */ public function __construct( - ?GetCustomMetadataRequest $request = NULL, ?GetCustomMetadataResponse $response = NULL + ?GetCustomMetadataRequest $request = null, ?GetCustomMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetCustomMetadataEnvelope.php b/src/Mail/Message/GetCustomMetadataEnvelope.php index 50dbf12bc..4e93f93d5 100644 --- a/src/Mail/Message/GetCustomMetadataEnvelope.php +++ b/src/Mail/Message/GetCustomMetadataEnvelope.php @@ -35,7 +35,7 @@ class GetCustomMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetCustomMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetCustomMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetCustomMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetCustomMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetCustomMetadataRequest.php b/src/Mail/Message/GetCustomMetadataRequest.php index 8774fc60e..ca1e18514 100644 --- a/src/Mail/Message/GetCustomMetadataRequest.php +++ b/src/Mail/Message/GetCustomMetadataRequest.php @@ -55,11 +55,11 @@ class GetCustomMetadataRequest extends SoapRequest * @return self */ public function __construct( - SectionAttr $metadata, ?string $id = NULL + SectionAttr $metadata, ?string $id = null ) { $this->setMetadata($metadata); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Mail/Message/GetCustomMetadataResponse.php b/src/Mail/Message/GetCustomMetadataResponse.php index c5bbc4c09..ad55885e8 100644 --- a/src/Mail/Message/GetCustomMetadataResponse.php +++ b/src/Mail/Message/GetCustomMetadataResponse.php @@ -55,11 +55,11 @@ class GetCustomMetadataResponse extends SoapResponse * @return self */ public function __construct( - ?string $id = NULL, ?MailCustomMetadata $metadata = NULL + ?string $id = null, ?MailCustomMetadata $metadata = null ) { $this->metadata = $metadata; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Mail/Message/GetDataSourceUsageBody.php b/src/Mail/Message/GetDataSourceUsageBody.php index 7365f5737..93970bbd2 100644 --- a/src/Mail/Message/GetDataSourceUsageBody.php +++ b/src/Mail/Message/GetDataSourceUsageBody.php @@ -33,7 +33,7 @@ class GetDataSourceUsageBody extends SoapBody #[SerializedName('GetDataSourceUsageRequest')] #[Type(GetDataSourceUsageRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDataSourceUsageBody extends SoapBody #[SerializedName('GetDataSourceUsageResponse')] #[Type(GetDataSourceUsageResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDataSourceUsageBody extends SoapBody * @return self */ public function __construct( - ?GetDataSourceUsageRequest $request = NULL, ?GetDataSourceUsageResponse $response = NULL + ?GetDataSourceUsageRequest $request = null, ?GetDataSourceUsageResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetDataSourceUsageEnvelope.php b/src/Mail/Message/GetDataSourceUsageEnvelope.php index d848dcb3c..a9aa6e319 100644 --- a/src/Mail/Message/GetDataSourceUsageEnvelope.php +++ b/src/Mail/Message/GetDataSourceUsageEnvelope.php @@ -35,7 +35,7 @@ class GetDataSourceUsageEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDataSourceUsageBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDataSourceUsageEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDataSourceUsageBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDataSourceUsageBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetDataSourcesBody.php b/src/Mail/Message/GetDataSourcesBody.php index 7241629ff..0675bbf9b 100644 --- a/src/Mail/Message/GetDataSourcesBody.php +++ b/src/Mail/Message/GetDataSourcesBody.php @@ -33,7 +33,7 @@ class GetDataSourcesBody extends SoapBody #[SerializedName('GetDataSourcesRequest')] #[Type(GetDataSourcesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDataSourcesBody extends SoapBody #[SerializedName('GetDataSourcesResponse')] #[Type(GetDataSourcesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDataSourcesBody extends SoapBody * @return self */ public function __construct( - ?GetDataSourcesRequest $request = NULL, ?GetDataSourcesResponse $response = NULL + ?GetDataSourcesRequest $request = null, ?GetDataSourcesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetDataSourcesEnvelope.php b/src/Mail/Message/GetDataSourcesEnvelope.php index bb33b69cc..40c63e7f7 100644 --- a/src/Mail/Message/GetDataSourcesEnvelope.php +++ b/src/Mail/Message/GetDataSourcesEnvelope.php @@ -35,7 +35,7 @@ class GetDataSourcesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDataSourcesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDataSourcesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDataSourcesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDataSourcesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetDocumentShareURLBody.php b/src/Mail/Message/GetDocumentShareURLBody.php index 6dfd262c5..5c548c57a 100644 --- a/src/Mail/Message/GetDocumentShareURLBody.php +++ b/src/Mail/Message/GetDocumentShareURLBody.php @@ -33,7 +33,7 @@ class GetDocumentShareURLBody extends SoapBody #[SerializedName('GetDocumentShareURLRequest')] #[Type(GetDocumentShareURLRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetDocumentShareURLBody extends SoapBody #[SerializedName('GetDocumentShareURLResponse')] #[Type(GetDocumentShareURLResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetDocumentShareURLBody extends SoapBody * @return self */ public function __construct( - ?GetDocumentShareURLRequest $request = NULL, ?GetDocumentShareURLResponse $response = NULL + ?GetDocumentShareURLRequest $request = null, ?GetDocumentShareURLResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetDocumentShareURLEnvelope.php b/src/Mail/Message/GetDocumentShareURLEnvelope.php index 18650b149..2345a1214 100644 --- a/src/Mail/Message/GetDocumentShareURLEnvelope.php +++ b/src/Mail/Message/GetDocumentShareURLEnvelope.php @@ -35,7 +35,7 @@ class GetDocumentShareURLEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetDocumentShareURLBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetDocumentShareURLEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetDocumentShareURLBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetDocumentShareURLBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetEffectiveFolderPermsBody.php b/src/Mail/Message/GetEffectiveFolderPermsBody.php index 34c54fd78..44fc05d76 100644 --- a/src/Mail/Message/GetEffectiveFolderPermsBody.php +++ b/src/Mail/Message/GetEffectiveFolderPermsBody.php @@ -33,7 +33,7 @@ class GetEffectiveFolderPermsBody extends SoapBody #[SerializedName('GetEffectiveFolderPermsRequest')] #[Type(GetEffectiveFolderPermsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetEffectiveFolderPermsBody extends SoapBody #[SerializedName('GetEffectiveFolderPermsResponse')] #[Type(GetEffectiveFolderPermsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetEffectiveFolderPermsBody extends SoapBody * @return self */ public function __construct( - ?GetEffectiveFolderPermsRequest $request = NULL, ?GetEffectiveFolderPermsResponse $response = NULL + ?GetEffectiveFolderPermsRequest $request = null, ?GetEffectiveFolderPermsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetEffectiveFolderPermsEnvelope.php b/src/Mail/Message/GetEffectiveFolderPermsEnvelope.php index c05f478de..db4dde5c0 100644 --- a/src/Mail/Message/GetEffectiveFolderPermsEnvelope.php +++ b/src/Mail/Message/GetEffectiveFolderPermsEnvelope.php @@ -35,7 +35,7 @@ class GetEffectiveFolderPermsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetEffectiveFolderPermsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetEffectiveFolderPermsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetEffectiveFolderPermsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetEffectiveFolderPermsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetEffectiveFolderPermsResponse.php b/src/Mail/Message/GetEffectiveFolderPermsResponse.php index 7c8c63669..f04353174 100644 --- a/src/Mail/Message/GetEffectiveFolderPermsResponse.php +++ b/src/Mail/Message/GetEffectiveFolderPermsResponse.php @@ -42,7 +42,7 @@ class GetEffectiveFolderPermsResponse extends SoapResponse * @param Rights $folder * @return self */ - public function __construct(?Rights $folder = NULL) + public function __construct(?Rights $folder = null) { $this->folder = $folder; } diff --git a/src/Mail/Message/GetFilterRulesBody.php b/src/Mail/Message/GetFilterRulesBody.php index c442c3657..d0f7212b5 100644 --- a/src/Mail/Message/GetFilterRulesBody.php +++ b/src/Mail/Message/GetFilterRulesBody.php @@ -33,7 +33,7 @@ class GetFilterRulesBody extends SoapBody #[SerializedName('GetFilterRulesRequest')] #[Type(GetFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetFilterRulesBody extends SoapBody #[SerializedName('GetFilterRulesResponse')] #[Type(GetFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?GetFilterRulesRequest $request = NULL, ?GetFilterRulesResponse $response = NULL + ?GetFilterRulesRequest $request = null, ?GetFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetFilterRulesEnvelope.php b/src/Mail/Message/GetFilterRulesEnvelope.php index dc77dc141..a0e810c28 100644 --- a/src/Mail/Message/GetFilterRulesEnvelope.php +++ b/src/Mail/Message/GetFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class GetFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetFolderBody.php b/src/Mail/Message/GetFolderBody.php index 9306deb7d..eaf3cb9f1 100644 --- a/src/Mail/Message/GetFolderBody.php +++ b/src/Mail/Message/GetFolderBody.php @@ -33,7 +33,7 @@ class GetFolderBody extends SoapBody #[SerializedName('GetFolderRequest')] #[Type(GetFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetFolderBody extends SoapBody #[SerializedName('GetFolderResponse')] #[Type(GetFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetFolderBody extends SoapBody * @return self */ public function __construct( - ?GetFolderRequest $request = NULL, ?GetFolderResponse $response = NULL + ?GetFolderRequest $request = null, ?GetFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetFolderEnvelope.php b/src/Mail/Message/GetFolderEnvelope.php index ffcd20009..1da7b19af 100644 --- a/src/Mail/Message/GetFolderEnvelope.php +++ b/src/Mail/Message/GetFolderEnvelope.php @@ -35,7 +35,7 @@ class GetFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetFolderRequest.php b/src/Mail/Message/GetFolderRequest.php index e76a836c5..baf4f2522 100644 --- a/src/Mail/Message/GetFolderRequest.php +++ b/src/Mail/Message/GetFolderRequest.php @@ -117,28 +117,28 @@ class GetFolderRequest extends SoapRequest * @return self */ public function __construct( - ?GetFolderSpec $folder = NULL, - ?bool $isVisible = NULL, - ?bool $needGranteeName = NULL, - ?string $viewConstraint = NULL, - ?int $treeDepth = NULL, - ?bool $traverseMountpoints = NULL + ?GetFolderSpec $folder = null, + ?bool $isVisible = null, + ?bool $needGranteeName = null, + ?string $viewConstraint = null, + ?int $treeDepth = null, + ?bool $traverseMountpoints = null ) { $this->folder = $folder; - if (NULL !== $isVisible) { + if (null !== $isVisible) { $this->setVisible($isVisible); } - if (NULL !== $needGranteeName) { + if (null !== $needGranteeName) { $this->setNeedGranteeName($needGranteeName); } - if (NULL !== $viewConstraint) { + if (null !== $viewConstraint) { $this->setViewConstraint($viewConstraint); } - if (NULL !== $treeDepth) { + if (null !== $treeDepth) { $this->setTreeDepth($treeDepth); } - if (NULL !== $traverseMountpoints) { + if (null !== $traverseMountpoints) { $this->setTraverseMountpoints($traverseMountpoints); } } diff --git a/src/Mail/Message/GetFolderResponse.php b/src/Mail/Message/GetFolderResponse.php index d3ec58544..75fe530ef 100644 --- a/src/Mail/Message/GetFolderResponse.php +++ b/src/Mail/Message/GetFolderResponse.php @@ -64,9 +64,9 @@ class GetFolderResponse extends SoapResponse * @param Folder $folder * @return self */ - public function __construct(?Folder $folder = NULL) + public function __construct(?Folder $folder = null) { - $this->folder = $this->mountpoint = $this->searchFolder = NULL; + $this->folder = $this->mountpoint = $this->searchFolder = null; if ($folder instanceof Mountpoint) { $this->setMountpoint($folder); } diff --git a/src/Mail/Message/GetFreeBusyBody.php b/src/Mail/Message/GetFreeBusyBody.php index a5feb0946..9c6763e84 100644 --- a/src/Mail/Message/GetFreeBusyBody.php +++ b/src/Mail/Message/GetFreeBusyBody.php @@ -33,7 +33,7 @@ class GetFreeBusyBody extends SoapBody #[SerializedName('GetFreeBusyRequest')] #[Type(GetFreeBusyRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetFreeBusyBody extends SoapBody #[SerializedName('GetFreeBusyResponse')] #[Type(GetFreeBusyResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetFreeBusyBody extends SoapBody * @return self */ public function __construct( - ?GetFreeBusyRequest $request = NULL, ?GetFreeBusyResponse $response = NULL + ?GetFreeBusyRequest $request = null, ?GetFreeBusyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetFreeBusyEnvelope.php b/src/Mail/Message/GetFreeBusyEnvelope.php index 2126cfce7..f4ce8699a 100644 --- a/src/Mail/Message/GetFreeBusyEnvelope.php +++ b/src/Mail/Message/GetFreeBusyEnvelope.php @@ -35,7 +35,7 @@ class GetFreeBusyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetFreeBusyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetFreeBusyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetFreeBusyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetFreeBusyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetFreeBusyRequest.php b/src/Mail/Message/GetFreeBusyRequest.php index cdc6f2134..7749105cf 100644 --- a/src/Mail/Message/GetFreeBusyRequest.php +++ b/src/Mail/Message/GetFreeBusyRequest.php @@ -120,26 +120,26 @@ class GetFreeBusyRequest extends SoapRequest public function __construct( int $startTime = 0, int $endTime = 0, - ?string $uid = NULL, - ?string $id = NULL, - ?string $name = NULL, - ?string $excludeUid = NULL, + ?string $uid = null, + ?string $id = null, + ?string $name = null, + ?string $excludeUid = null, array $freebusyUsers = [] ) { $this->setStartTime($startTime) ->setEndTime($endTime) ->setFreebusyUsers($freebusyUsers); - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $excludeUid) { + if (null !== $excludeUid) { $this->setExcludeUid($excludeUid); } } diff --git a/src/Mail/Message/GetICalBody.php b/src/Mail/Message/GetICalBody.php index 4ff9d954c..17e893834 100644 --- a/src/Mail/Message/GetICalBody.php +++ b/src/Mail/Message/GetICalBody.php @@ -33,7 +33,7 @@ class GetICalBody extends SoapBody #[SerializedName('GetICalRequest')] #[Type(GetICalRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetICalBody extends SoapBody #[SerializedName('GetICalResponse')] #[Type(GetICalResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetICalBody extends SoapBody * @return self */ public function __construct( - ?GetICalRequest $request = NULL, ?GetICalResponse $response = NULL + ?GetICalRequest $request = null, ?GetICalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetICalEnvelope.php b/src/Mail/Message/GetICalEnvelope.php index 7e3368608..4542f04b8 100644 --- a/src/Mail/Message/GetICalEnvelope.php +++ b/src/Mail/Message/GetICalEnvelope.php @@ -35,7 +35,7 @@ class GetICalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetICalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetICalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetICalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetICalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetICalRequest.php b/src/Mail/Message/GetICalRequest.php index 2df680b08..eed0d6abb 100644 --- a/src/Mail/Message/GetICalRequest.php +++ b/src/Mail/Message/GetICalRequest.php @@ -71,18 +71,18 @@ class GetICalRequest extends SoapRequest * @return self */ public function __construct( - ?string $id = NULL, - ?int $startTime = NULL, - ?int $endTime = NULL + ?string $id = null, + ?int $startTime = null, + ?int $endTime = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $endTime) { + if (null !== $endTime) { $this->setEndTime($endTime); } } diff --git a/src/Mail/Message/GetICalResponse.php b/src/Mail/Message/GetICalResponse.php index b1b222865..c72444aa8 100644 --- a/src/Mail/Message/GetICalResponse.php +++ b/src/Mail/Message/GetICalResponse.php @@ -42,7 +42,7 @@ class GetICalResponse extends SoapResponse * @param ICalContent $content * @return self */ - public function __construct(?ICalContent $content = NULL) + public function __construct(?ICalContent $content = null) { $this->content = $content; } diff --git a/src/Mail/Message/GetIMAPRecentBody.php b/src/Mail/Message/GetIMAPRecentBody.php index a6ac237a6..d0eba8597 100644 --- a/src/Mail/Message/GetIMAPRecentBody.php +++ b/src/Mail/Message/GetIMAPRecentBody.php @@ -33,7 +33,7 @@ class GetIMAPRecentBody extends SoapBody #[SerializedName('GetIMAPRecentRequest')] #[Type(GetIMAPRecentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetIMAPRecentBody extends SoapBody #[SerializedName('GetIMAPRecentResponse')] #[Type(GetIMAPRecentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetIMAPRecentBody extends SoapBody * @return self */ public function __construct( - ?GetIMAPRecentRequest $request = NULL, ?GetIMAPRecentResponse $response = NULL + ?GetIMAPRecentRequest $request = null, ?GetIMAPRecentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetIMAPRecentCutoffBody.php b/src/Mail/Message/GetIMAPRecentCutoffBody.php index 9fb8c4aa5..43bdd2718 100644 --- a/src/Mail/Message/GetIMAPRecentCutoffBody.php +++ b/src/Mail/Message/GetIMAPRecentCutoffBody.php @@ -33,7 +33,7 @@ class GetIMAPRecentCutoffBody extends SoapBody #[SerializedName('GetIMAPRecentCutoffRequest')] #[Type(GetIMAPRecentCutoffRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetIMAPRecentCutoffBody extends SoapBody #[SerializedName('GetIMAPRecentCutoffResponse')] #[Type(GetIMAPRecentCutoffResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetIMAPRecentCutoffBody extends SoapBody * @return self */ public function __construct( - ?GetIMAPRecentCutoffRequest $request = NULL, ?GetIMAPRecentCutoffResponse $response = NULL + ?GetIMAPRecentCutoffRequest $request = null, ?GetIMAPRecentCutoffResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetIMAPRecentCutoffEnvelope.php b/src/Mail/Message/GetIMAPRecentCutoffEnvelope.php index 4bcaa762d..eebf69cc2 100644 --- a/src/Mail/Message/GetIMAPRecentCutoffEnvelope.php +++ b/src/Mail/Message/GetIMAPRecentCutoffEnvelope.php @@ -35,7 +35,7 @@ class GetIMAPRecentCutoffEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetIMAPRecentCutoffBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetIMAPRecentCutoffEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetIMAPRecentCutoffBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetIMAPRecentCutoffBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetIMAPRecentEnvelope.php b/src/Mail/Message/GetIMAPRecentEnvelope.php index 6e99a4f4a..f00fe34f6 100644 --- a/src/Mail/Message/GetIMAPRecentEnvelope.php +++ b/src/Mail/Message/GetIMAPRecentEnvelope.php @@ -35,7 +35,7 @@ class GetIMAPRecentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetIMAPRecentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetIMAPRecentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetIMAPRecentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetIMAPRecentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetImportStatusBody.php b/src/Mail/Message/GetImportStatusBody.php index 746b71fc1..14f18547a 100644 --- a/src/Mail/Message/GetImportStatusBody.php +++ b/src/Mail/Message/GetImportStatusBody.php @@ -33,7 +33,7 @@ class GetImportStatusBody extends SoapBody #[SerializedName('GetImportStatusRequest')] #[Type(GetImportStatusRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetImportStatusBody extends SoapBody #[SerializedName('GetImportStatusResponse')] #[Type(GetImportStatusResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetImportStatusBody extends SoapBody * @return self */ public function __construct( - ?GetImportStatusRequest $request = NULL, ?GetImportStatusResponse $response = NULL + ?GetImportStatusRequest $request = null, ?GetImportStatusResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetImportStatusEnvelope.php b/src/Mail/Message/GetImportStatusEnvelope.php index ac3213613..d3b01ad16 100644 --- a/src/Mail/Message/GetImportStatusEnvelope.php +++ b/src/Mail/Message/GetImportStatusEnvelope.php @@ -35,7 +35,7 @@ class GetImportStatusEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetImportStatusBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetImportStatusEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetImportStatusBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetImportStatusBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetItemBody.php b/src/Mail/Message/GetItemBody.php index 42ebecb9a..3089d700a 100644 --- a/src/Mail/Message/GetItemBody.php +++ b/src/Mail/Message/GetItemBody.php @@ -33,7 +33,7 @@ class GetItemBody extends SoapBody #[SerializedName('GetItemRequest')] #[Type(GetItemRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetItemBody extends SoapBody #[SerializedName('GetItemResponse')] #[Type(GetItemResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetItemBody extends SoapBody * @return self */ public function __construct( - ?GetItemRequest $request = NULL, ?GetItemResponse $response = NULL + ?GetItemRequest $request = null, ?GetItemResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetItemEnvelope.php b/src/Mail/Message/GetItemEnvelope.php index c1421f6a8..2527916d1 100644 --- a/src/Mail/Message/GetItemEnvelope.php +++ b/src/Mail/Message/GetItemEnvelope.php @@ -35,7 +35,7 @@ class GetItemEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetItemBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetItemEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetItemBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetItemBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetItemResponse.php b/src/Mail/Message/GetItemResponse.php index 805877976..5b3058ba7 100644 --- a/src/Mail/Message/GetItemResponse.php +++ b/src/Mail/Message/GetItemResponse.php @@ -164,7 +164,7 @@ class GetItemResponse extends SoapResponse * @param mixed $item * @return self */ - public function __construct($item = NULL) + public function __construct($item = null) { $this->folderItem = $this->tagItem = @@ -176,8 +176,8 @@ public function __construct($item = NULL) $this->wikiItem = $this->docItem = $this->msgItem = - $this->chatItem = NULL; - if (NULL !== $item) { + $this->chatItem = null; + if (null !== $item) { $this->setItem($item); } } diff --git a/src/Mail/Message/GetLastItemIdInMailboxBody.php b/src/Mail/Message/GetLastItemIdInMailboxBody.php index e322bdf3c..4318e0c46 100644 --- a/src/Mail/Message/GetLastItemIdInMailboxBody.php +++ b/src/Mail/Message/GetLastItemIdInMailboxBody.php @@ -33,7 +33,7 @@ class GetLastItemIdInMailboxBody extends SoapBody #[SerializedName('GetLastItemIdInMailboxRequest')] #[Type(GetLastItemIdInMailboxRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetLastItemIdInMailboxBody extends SoapBody #[SerializedName('GetLastItemIdInMailboxResponse')] #[Type(GetLastItemIdInMailboxResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetLastItemIdInMailboxBody extends SoapBody * @return self */ public function __construct( - ?GetLastItemIdInMailboxRequest $request = NULL, ?GetLastItemIdInMailboxResponse $response = NULL + ?GetLastItemIdInMailboxRequest $request = null, ?GetLastItemIdInMailboxResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetLastItemIdInMailboxEnvelope.php b/src/Mail/Message/GetLastItemIdInMailboxEnvelope.php index 696eef01d..e1a4c3157 100644 --- a/src/Mail/Message/GetLastItemIdInMailboxEnvelope.php +++ b/src/Mail/Message/GetLastItemIdInMailboxEnvelope.php @@ -35,7 +35,7 @@ class GetLastItemIdInMailboxEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetLastItemIdInMailboxBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetLastItemIdInMailboxEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetLastItemIdInMailboxBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetLastItemIdInMailboxBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMailboxMetadataBody.php b/src/Mail/Message/GetMailboxMetadataBody.php index 10944a09e..77fbaa276 100644 --- a/src/Mail/Message/GetMailboxMetadataBody.php +++ b/src/Mail/Message/GetMailboxMetadataBody.php @@ -33,7 +33,7 @@ class GetMailboxMetadataBody extends SoapBody #[SerializedName('GetMailboxMetadataRequest')] #[Type(GetMailboxMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMailboxMetadataBody extends SoapBody #[SerializedName('GetMailboxMetadataResponse')] #[Type(GetMailboxMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMailboxMetadataBody extends SoapBody * @return self */ public function __construct( - ?GetMailboxMetadataRequest $request = NULL, ?GetMailboxMetadataResponse $response = NULL + ?GetMailboxMetadataRequest $request = null, ?GetMailboxMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetMailboxMetadataEnvelope.php b/src/Mail/Message/GetMailboxMetadataEnvelope.php index 01c2e2af7..8c22f0003 100644 --- a/src/Mail/Message/GetMailboxMetadataEnvelope.php +++ b/src/Mail/Message/GetMailboxMetadataEnvelope.php @@ -35,7 +35,7 @@ class GetMailboxMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMailboxMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMailboxMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMailboxMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMailboxMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMailboxMetadataResponse.php b/src/Mail/Message/GetMailboxMetadataResponse.php index f72d35b5f..ac2069bb9 100644 --- a/src/Mail/Message/GetMailboxMetadataResponse.php +++ b/src/Mail/Message/GetMailboxMetadataResponse.php @@ -42,7 +42,7 @@ class GetMailboxMetadataResponse extends SoapResponse * @param MailCustomMetadata $metadata * @return self */ - public function __construct(?MailCustomMetadata $metadata = NULL) + public function __construct(?MailCustomMetadata $metadata = null) { $this->metadata = $metadata; } diff --git a/src/Mail/Message/GetMiniCalBody.php b/src/Mail/Message/GetMiniCalBody.php index 05552a282..9a9081539 100644 --- a/src/Mail/Message/GetMiniCalBody.php +++ b/src/Mail/Message/GetMiniCalBody.php @@ -33,7 +33,7 @@ class GetMiniCalBody extends SoapBody #[SerializedName('GetMiniCalRequest')] #[Type(GetMiniCalRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMiniCalBody extends SoapBody #[SerializedName('GetMiniCalResponse')] #[Type(GetMiniCalResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMiniCalBody extends SoapBody * @return self */ public function __construct( - ?GetMiniCalRequest $request = NULL, ?GetMiniCalResponse $response = NULL + ?GetMiniCalRequest $request = null, ?GetMiniCalResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetMiniCalEnvelope.php b/src/Mail/Message/GetMiniCalEnvelope.php index 1169444d1..6a34f9c61 100644 --- a/src/Mail/Message/GetMiniCalEnvelope.php +++ b/src/Mail/Message/GetMiniCalEnvelope.php @@ -35,7 +35,7 @@ class GetMiniCalEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMiniCalBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMiniCalEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMiniCalBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMiniCalBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMiniCalRequest.php b/src/Mail/Message/GetMiniCalRequest.php index 9c2817190..bb89e7e23 100644 --- a/src/Mail/Message/GetMiniCalRequest.php +++ b/src/Mail/Message/GetMiniCalRequest.php @@ -86,7 +86,7 @@ public function __construct( int $startTime = 0, int $endTime = 0, array $folders = [], - ?CalTZInfo $timezone = NULL + ?CalTZInfo $timezone = null ) { $this->setStartTime($startTime) diff --git a/src/Mail/Message/GetModifiedItemsIDsBody.php b/src/Mail/Message/GetModifiedItemsIDsBody.php index aa54f2ffe..e4e4a25a5 100644 --- a/src/Mail/Message/GetModifiedItemsIDsBody.php +++ b/src/Mail/Message/GetModifiedItemsIDsBody.php @@ -33,7 +33,7 @@ class GetModifiedItemsIDsBody extends SoapBody #[SerializedName('GetModifiedItemsIDsRequest')] #[Type(GetModifiedItemsIDsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetModifiedItemsIDsBody extends SoapBody #[SerializedName('GetModifiedItemsIDsResponse')] #[Type(GetModifiedItemsIDsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetModifiedItemsIDsBody extends SoapBody * @return self */ public function __construct( - ?GetModifiedItemsIDsRequest $request = NULL, ?GetModifiedItemsIDsResponse $response = NULL + ?GetModifiedItemsIDsRequest $request = null, ?GetModifiedItemsIDsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetModifiedItemsIDsEnvelope.php b/src/Mail/Message/GetModifiedItemsIDsEnvelope.php index 7d6db7eeb..beec362b7 100644 --- a/src/Mail/Message/GetModifiedItemsIDsEnvelope.php +++ b/src/Mail/Message/GetModifiedItemsIDsEnvelope.php @@ -35,7 +35,7 @@ class GetModifiedItemsIDsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetModifiedItemsIDsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetModifiedItemsIDsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetModifiedItemsIDsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetModifiedItemsIDsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMsgBody.php b/src/Mail/Message/GetMsgBody.php index 354134f7f..24a5d44ab 100644 --- a/src/Mail/Message/GetMsgBody.php +++ b/src/Mail/Message/GetMsgBody.php @@ -33,7 +33,7 @@ class GetMsgBody extends SoapBody #[SerializedName('GetMsgRequest')] #[Type(GetMsgRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMsgBody extends SoapBody #[SerializedName('GetMsgResponse')] #[Type(GetMsgResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMsgBody extends SoapBody * @return self */ public function __construct( - ?GetMsgRequest $request = NULL, ?GetMsgResponse $response = NULL + ?GetMsgRequest $request = null, ?GetMsgResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetMsgEnvelope.php b/src/Mail/Message/GetMsgEnvelope.php index cd500c4e2..6baa4d2a5 100644 --- a/src/Mail/Message/GetMsgEnvelope.php +++ b/src/Mail/Message/GetMsgEnvelope.php @@ -35,7 +35,7 @@ class GetMsgEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMsgBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMsgEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMsgBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMsgBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMsgMetadataBody.php b/src/Mail/Message/GetMsgMetadataBody.php index 8a159bb94..69e782ecf 100644 --- a/src/Mail/Message/GetMsgMetadataBody.php +++ b/src/Mail/Message/GetMsgMetadataBody.php @@ -33,7 +33,7 @@ class GetMsgMetadataBody extends SoapBody #[SerializedName('GetMsgMetadataRequest')] #[Type(GetMsgMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetMsgMetadataBody extends SoapBody #[SerializedName('GetMsgMetadataResponse')] #[Type(GetMsgMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetMsgMetadataBody extends SoapBody * @return self */ public function __construct( - ?GetMsgMetadataRequest $request = NULL, ?GetMsgMetadataResponse $response = NULL + ?GetMsgMetadataRequest $request = null, ?GetMsgMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetMsgMetadataEnvelope.php b/src/Mail/Message/GetMsgMetadataEnvelope.php index aaffd0dd3..36025fa34 100644 --- a/src/Mail/Message/GetMsgMetadataEnvelope.php +++ b/src/Mail/Message/GetMsgMetadataEnvelope.php @@ -35,7 +35,7 @@ class GetMsgMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetMsgMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetMsgMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetMsgMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetMsgMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetMsgResponse.php b/src/Mail/Message/GetMsgResponse.php index ed6be5b1d..3eb48c511 100644 --- a/src/Mail/Message/GetMsgResponse.php +++ b/src/Mail/Message/GetMsgResponse.php @@ -42,7 +42,7 @@ class GetMsgResponse extends SoapResponse * @param MsgWithGroupInfo $msg * @return self */ - public function __construct(?MsgWithGroupInfo $msg = NULL) + public function __construct(?MsgWithGroupInfo $msg = null) { $this->msg = $msg; } diff --git a/src/Mail/Message/GetNoteBody.php b/src/Mail/Message/GetNoteBody.php index bec966881..775d005f9 100644 --- a/src/Mail/Message/GetNoteBody.php +++ b/src/Mail/Message/GetNoteBody.php @@ -33,7 +33,7 @@ class GetNoteBody extends SoapBody #[SerializedName('GetNoteRequest')] #[Type(GetNoteRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetNoteBody extends SoapBody #[SerializedName('GetNoteResponse')] #[Type(GetNoteResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetNoteBody extends SoapBody * @return self */ public function __construct( - ?GetNoteRequest $request = NULL, ?GetNoteResponse $response = NULL + ?GetNoteRequest $request = null, ?GetNoteResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetNoteEnvelope.php b/src/Mail/Message/GetNoteEnvelope.php index 8953d6cb7..a8ca690ec 100644 --- a/src/Mail/Message/GetNoteEnvelope.php +++ b/src/Mail/Message/GetNoteEnvelope.php @@ -35,7 +35,7 @@ class GetNoteEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetNoteBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetNoteEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetNoteBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetNoteBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetNoteResponse.php b/src/Mail/Message/GetNoteResponse.php index a0f3fcdcf..9aaa9a6fb 100644 --- a/src/Mail/Message/GetNoteResponse.php +++ b/src/Mail/Message/GetNoteResponse.php @@ -42,7 +42,7 @@ class GetNoteResponse extends SoapResponse * @param NoteInfo $note * @return self */ - public function __construct(?NoteInfo $note = NULL) + public function __construct(?NoteInfo $note = null) { $this->note = $note; } diff --git a/src/Mail/Message/GetOutgoingFilterRulesBody.php b/src/Mail/Message/GetOutgoingFilterRulesBody.php index 2b6fedbaa..1dc955f7f 100644 --- a/src/Mail/Message/GetOutgoingFilterRulesBody.php +++ b/src/Mail/Message/GetOutgoingFilterRulesBody.php @@ -33,7 +33,7 @@ class GetOutgoingFilterRulesBody extends SoapBody #[SerializedName('GetOutgoingFilterRulesRequest')] #[Type(GetOutgoingFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetOutgoingFilterRulesBody extends SoapBody #[SerializedName('GetOutgoingFilterRulesResponse')] #[Type(GetOutgoingFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetOutgoingFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?GetOutgoingFilterRulesRequest $request = NULL, ?GetOutgoingFilterRulesResponse $response = NULL + ?GetOutgoingFilterRulesRequest $request = null, ?GetOutgoingFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetOutgoingFilterRulesEnvelope.php b/src/Mail/Message/GetOutgoingFilterRulesEnvelope.php index c0076ed36..c7329d724 100644 --- a/src/Mail/Message/GetOutgoingFilterRulesEnvelope.php +++ b/src/Mail/Message/GetOutgoingFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class GetOutgoingFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetOutgoingFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetOutgoingFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetOutgoingFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetOutgoingFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetPermissionBody.php b/src/Mail/Message/GetPermissionBody.php index bff8c291f..d154492b1 100644 --- a/src/Mail/Message/GetPermissionBody.php +++ b/src/Mail/Message/GetPermissionBody.php @@ -33,7 +33,7 @@ class GetPermissionBody extends SoapBody #[SerializedName('GetPermissionRequest')] #[Type(GetPermissionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetPermissionBody extends SoapBody #[SerializedName('GetPermissionResponse')] #[Type(GetPermissionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetPermissionBody extends SoapBody * @return self */ public function __construct( - ?GetPermissionRequest $request = NULL, ?GetPermissionResponse $response = NULL + ?GetPermissionRequest $request = null, ?GetPermissionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetPermissionEnvelope.php b/src/Mail/Message/GetPermissionEnvelope.php index 5ebb0d29e..2b1c90b12 100644 --- a/src/Mail/Message/GetPermissionEnvelope.php +++ b/src/Mail/Message/GetPermissionEnvelope.php @@ -35,7 +35,7 @@ class GetPermissionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetPermissionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetPermissionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetPermissionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetPermissionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetRecurBody.php b/src/Mail/Message/GetRecurBody.php index 94289e83e..2a88a4612 100644 --- a/src/Mail/Message/GetRecurBody.php +++ b/src/Mail/Message/GetRecurBody.php @@ -33,7 +33,7 @@ class GetRecurBody extends SoapBody #[SerializedName('GetRecurRequest')] #[Type(GetRecurRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetRecurBody extends SoapBody #[SerializedName('GetRecurResponse')] #[Type(GetRecurResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetRecurBody extends SoapBody * @return self */ public function __construct( - ?GetRecurRequest $request = NULL, ?GetRecurResponse $response = NULL + ?GetRecurRequest $request = null, ?GetRecurResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetRecurEnvelope.php b/src/Mail/Message/GetRecurEnvelope.php index 4596a8bdf..6041c4048 100644 --- a/src/Mail/Message/GetRecurEnvelope.php +++ b/src/Mail/Message/GetRecurEnvelope.php @@ -35,7 +35,7 @@ class GetRecurEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetRecurBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetRecurEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetRecurBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetRecurBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetRecurResponse.php b/src/Mail/Message/GetRecurResponse.php index 58386b928..f76c15f11 100644 --- a/src/Mail/Message/GetRecurResponse.php +++ b/src/Mail/Message/GetRecurResponse.php @@ -84,10 +84,10 @@ class GetRecurResponse extends SoapResponse * @return self */ public function __construct( - ?CalTZInfo $timezone = NULL, - ?CancelItemRecur $cancelComponent = NULL, - ?ExceptionItemRecur $exceptComponent = NULL, - ?InviteItemRecur $inviteComponent = NULL + ?CalTZInfo $timezone = null, + ?CancelItemRecur $cancelComponent = null, + ?ExceptionItemRecur $exceptComponent = null, + ?InviteItemRecur $inviteComponent = null ) { $this->timezone = $timezone; diff --git a/src/Mail/Message/GetSearchFolderBody.php b/src/Mail/Message/GetSearchFolderBody.php index 6224f8cf0..1ed132229 100644 --- a/src/Mail/Message/GetSearchFolderBody.php +++ b/src/Mail/Message/GetSearchFolderBody.php @@ -33,7 +33,7 @@ class GetSearchFolderBody extends SoapBody #[SerializedName('GetSearchFolderRequest')] #[Type(GetSearchFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSearchFolderBody extends SoapBody #[SerializedName('GetSearchFolderResponse')] #[Type(GetSearchFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetSearchFolderBody extends SoapBody * @return self */ public function __construct( - ?GetSearchFolderRequest $request = NULL, ?GetSearchFolderResponse $response = NULL + ?GetSearchFolderRequest $request = null, ?GetSearchFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetSearchFolderEnvelope.php b/src/Mail/Message/GetSearchFolderEnvelope.php index 893aece30..cda7dd863 100644 --- a/src/Mail/Message/GetSearchFolderEnvelope.php +++ b/src/Mail/Message/GetSearchFolderEnvelope.php @@ -35,7 +35,7 @@ class GetSearchFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSearchFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetSearchFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSearchFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSearchFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetShareNotificationsBody.php b/src/Mail/Message/GetShareNotificationsBody.php index f61b01ceb..2df8fd31c 100644 --- a/src/Mail/Message/GetShareNotificationsBody.php +++ b/src/Mail/Message/GetShareNotificationsBody.php @@ -33,7 +33,7 @@ class GetShareNotificationsBody extends SoapBody #[SerializedName('GetShareNotificationsRequest')] #[Type(GetShareNotificationsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetShareNotificationsBody extends SoapBody #[SerializedName('GetShareNotificationsResponse')] #[Type(GetShareNotificationsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetShareNotificationsBody extends SoapBody * @return self */ public function __construct( - ?GetShareNotificationsRequest $request = NULL, ?GetShareNotificationsResponse $response = NULL + ?GetShareNotificationsRequest $request = null, ?GetShareNotificationsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetShareNotificationsEnvelope.php b/src/Mail/Message/GetShareNotificationsEnvelope.php index 751a99ad8..6711f50eb 100644 --- a/src/Mail/Message/GetShareNotificationsEnvelope.php +++ b/src/Mail/Message/GetShareNotificationsEnvelope.php @@ -35,7 +35,7 @@ class GetShareNotificationsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetShareNotificationsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetShareNotificationsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetShareNotificationsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetShareNotificationsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetSpellDictionariesBody.php b/src/Mail/Message/GetSpellDictionariesBody.php index 85f9faa95..0f7048715 100644 --- a/src/Mail/Message/GetSpellDictionariesBody.php +++ b/src/Mail/Message/GetSpellDictionariesBody.php @@ -33,7 +33,7 @@ class GetSpellDictionariesBody extends SoapBody #[SerializedName('GetSpellDictionariesRequest')] #[Type(GetSpellDictionariesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSpellDictionariesBody extends SoapBody #[SerializedName('GetSpellDictionariesResponse')] #[Type(GetSpellDictionariesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetSpellDictionariesBody extends SoapBody * @return self */ public function __construct( - ?GetSpellDictionariesRequest $request = NULL, ?GetSpellDictionariesResponse $response = NULL + ?GetSpellDictionariesRequest $request = null, ?GetSpellDictionariesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetSpellDictionariesEnvelope.php b/src/Mail/Message/GetSpellDictionariesEnvelope.php index 547f76f28..8a990f8a7 100644 --- a/src/Mail/Message/GetSpellDictionariesEnvelope.php +++ b/src/Mail/Message/GetSpellDictionariesEnvelope.php @@ -35,7 +35,7 @@ class GetSpellDictionariesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSpellDictionariesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetSpellDictionariesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSpellDictionariesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSpellDictionariesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetSystemRetentionPolicyBody.php b/src/Mail/Message/GetSystemRetentionPolicyBody.php index 54d1afedc..6d7ac6c54 100644 --- a/src/Mail/Message/GetSystemRetentionPolicyBody.php +++ b/src/Mail/Message/GetSystemRetentionPolicyBody.php @@ -33,7 +33,7 @@ class GetSystemRetentionPolicyBody extends SoapBody #[SerializedName('GetSystemRetentionPolicyRequest')] #[Type(GetSystemRetentionPolicyRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetSystemRetentionPolicyBody extends SoapBody #[SerializedName('GetSystemRetentionPolicyResponse')] #[Type(GetSystemRetentionPolicyResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -52,7 +52,7 @@ class GetSystemRetentionPolicyBody extends SoapBody * @return self */ public function __construct( - ?GetSystemRetentionPolicyRequest $request = NULL, ?GetSystemRetentionPolicyResponse $response = NULL + ?GetSystemRetentionPolicyRequest $request = null, ?GetSystemRetentionPolicyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetSystemRetentionPolicyEnvelope.php b/src/Mail/Message/GetSystemRetentionPolicyEnvelope.php index 233daae6a..526e7ba13 100644 --- a/src/Mail/Message/GetSystemRetentionPolicyEnvelope.php +++ b/src/Mail/Message/GetSystemRetentionPolicyEnvelope.php @@ -35,7 +35,7 @@ class GetSystemRetentionPolicyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetSystemRetentionPolicyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetSystemRetentionPolicyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetSystemRetentionPolicyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetSystemRetentionPolicyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetSystemRetentionPolicyResponse.php b/src/Mail/Message/GetSystemRetentionPolicyResponse.php index d134b9b7b..10448e71e 100644 --- a/src/Mail/Message/GetSystemRetentionPolicyResponse.php +++ b/src/Mail/Message/GetSystemRetentionPolicyResponse.php @@ -42,7 +42,7 @@ class GetSystemRetentionPolicyResponse extends SoapResponse * @param RetentionPolicy $retentionPolicy * @return self */ - public function __construct(?RetentionPolicy $retentionPolicy = NULL) + public function __construct(?RetentionPolicy $retentionPolicy = null) { $this->retentionPolicy = $retentionPolicy; } diff --git a/src/Mail/Message/GetTagBody.php b/src/Mail/Message/GetTagBody.php index f76783f74..f50809fb3 100644 --- a/src/Mail/Message/GetTagBody.php +++ b/src/Mail/Message/GetTagBody.php @@ -33,7 +33,7 @@ class GetTagBody extends SoapBody #[SerializedName('GetTagRequest')] #[Type(GetTagRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetTagBody extends SoapBody #[SerializedName('GetTagResponse')] #[Type(GetTagResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetTagBody extends SoapBody * @return self */ public function __construct( - ?GetTagRequest $request = NULL, ?GetTagResponse $response = NULL + ?GetTagRequest $request = null, ?GetTagResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetTagEnvelope.php b/src/Mail/Message/GetTagEnvelope.php index ec41e7e06..aaae9fa62 100644 --- a/src/Mail/Message/GetTagEnvelope.php +++ b/src/Mail/Message/GetTagEnvelope.php @@ -35,7 +35,7 @@ class GetTagEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetTagBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetTagEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetTagBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetTagBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetTaskBody.php b/src/Mail/Message/GetTaskBody.php index 1abb1c77a..58b2f8f55 100644 --- a/src/Mail/Message/GetTaskBody.php +++ b/src/Mail/Message/GetTaskBody.php @@ -33,7 +33,7 @@ class GetTaskBody extends SoapBody #[SerializedName('GetTaskRequest')] #[Type(GetTaskRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetTaskBody extends SoapBody #[SerializedName('GetTaskResponse')] #[Type(GetTaskResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetTaskBody extends SoapBody * @return self */ public function __construct( - ?GetTaskRequest $request = NULL, ?GetTaskResponse $response = NULL + ?GetTaskRequest $request = null, ?GetTaskResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetTaskEnvelope.php b/src/Mail/Message/GetTaskEnvelope.php index c0d716c1d..9945edcdf 100644 --- a/src/Mail/Message/GetTaskEnvelope.php +++ b/src/Mail/Message/GetTaskEnvelope.php @@ -35,7 +35,7 @@ class GetTaskEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetTaskBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetTaskEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetTaskBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetTaskBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetTaskSummariesBody.php b/src/Mail/Message/GetTaskSummariesBody.php index d34fbaace..bf804a2d5 100644 --- a/src/Mail/Message/GetTaskSummariesBody.php +++ b/src/Mail/Message/GetTaskSummariesBody.php @@ -33,7 +33,7 @@ class GetTaskSummariesBody extends SoapBody #[SerializedName('GetTaskSummariesRequest')] #[Type(GetTaskSummariesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetTaskSummariesBody extends SoapBody #[SerializedName('GetTaskSummariesResponse')] #[Type(GetTaskSummariesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetTaskSummariesBody extends SoapBody * @return self */ public function __construct( - ?GetTaskSummariesRequest $request = NULL, ?GetTaskSummariesResponse $response = NULL + ?GetTaskSummariesRequest $request = null, ?GetTaskSummariesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetTaskSummariesEnvelope.php b/src/Mail/Message/GetTaskSummariesEnvelope.php index 2961cf9d3..10b649038 100644 --- a/src/Mail/Message/GetTaskSummariesEnvelope.php +++ b/src/Mail/Message/GetTaskSummariesEnvelope.php @@ -35,7 +35,7 @@ class GetTaskSummariesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetTaskSummariesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetTaskSummariesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetTaskSummariesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetTaskSummariesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetWorkingHoursBody.php b/src/Mail/Message/GetWorkingHoursBody.php index eebf5f5f5..533425159 100644 --- a/src/Mail/Message/GetWorkingHoursBody.php +++ b/src/Mail/Message/GetWorkingHoursBody.php @@ -33,7 +33,7 @@ class GetWorkingHoursBody extends SoapBody #[SerializedName('GetWorkingHoursRequest')] #[Type(GetWorkingHoursRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetWorkingHoursBody extends SoapBody #[SerializedName('GetWorkingHoursResponse')] #[Type(GetWorkingHoursResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetWorkingHoursBody extends SoapBody * @return self */ public function __construct( - ?GetWorkingHoursRequest $request = NULL, ?GetWorkingHoursResponse $response = NULL + ?GetWorkingHoursRequest $request = null, ?GetWorkingHoursResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetWorkingHoursEnvelope.php b/src/Mail/Message/GetWorkingHoursEnvelope.php index c2bea2f3b..ccc8d4d01 100644 --- a/src/Mail/Message/GetWorkingHoursEnvelope.php +++ b/src/Mail/Message/GetWorkingHoursEnvelope.php @@ -35,7 +35,7 @@ class GetWorkingHoursEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetWorkingHoursBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetWorkingHoursEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetWorkingHoursBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetWorkingHoursBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetWorkingHoursRequest.php b/src/Mail/Message/GetWorkingHoursRequest.php index 1eb50d4e8..1c801896a 100644 --- a/src/Mail/Message/GetWorkingHoursRequest.php +++ b/src/Mail/Message/GetWorkingHoursRequest.php @@ -84,16 +84,16 @@ class GetWorkingHoursRequest extends SoapRequest public function __construct( int $startTime = 0, int $endTime = 0, - ?string $id = NULL, - ?string $name = NULL + ?string $id = null, + ?string $name = null ) { $this->setStartTime($startTime) ->setEndTime($endTime); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Mail/Message/GetYahooAuthTokenBody.php b/src/Mail/Message/GetYahooAuthTokenBody.php index 2436ae70f..1178426af 100644 --- a/src/Mail/Message/GetYahooAuthTokenBody.php +++ b/src/Mail/Message/GetYahooAuthTokenBody.php @@ -33,7 +33,7 @@ class GetYahooAuthTokenBody extends SoapBody #[SerializedName('GetYahooAuthTokenRequest')] #[Type(GetYahooAuthTokenRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetYahooAuthTokenBody extends SoapBody #[SerializedName('GetYahooAuthTokenResponse')] #[Type(GetYahooAuthTokenResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetYahooAuthTokenBody extends SoapBody * @return self */ public function __construct( - ?GetYahooAuthTokenRequest $request = NULL, ?GetYahooAuthTokenResponse $response = NULL + ?GetYahooAuthTokenRequest $request = null, ?GetYahooAuthTokenResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetYahooAuthTokenEnvelope.php b/src/Mail/Message/GetYahooAuthTokenEnvelope.php index 00c3bdfc6..34bc1568a 100644 --- a/src/Mail/Message/GetYahooAuthTokenEnvelope.php +++ b/src/Mail/Message/GetYahooAuthTokenEnvelope.php @@ -35,7 +35,7 @@ class GetYahooAuthTokenEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetYahooAuthTokenBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetYahooAuthTokenEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetYahooAuthTokenBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetYahooAuthTokenBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetYahooAuthTokenResponse.php b/src/Mail/Message/GetYahooAuthTokenResponse.php index dbf96d6f1..bb6005970 100644 --- a/src/Mail/Message/GetYahooAuthTokenResponse.php +++ b/src/Mail/Message/GetYahooAuthTokenResponse.php @@ -41,9 +41,9 @@ class GetYahooAuthTokenResponse extends SoapResponse * @param bool $failed * @return self */ - public function __construct(?bool $failed = NULL) + public function __construct(?bool $failed = null) { - if (NULL !== $failed) { + if (null !== $failed) { $this->setFailed($failed); } } diff --git a/src/Mail/Message/GetYahooCookieBody.php b/src/Mail/Message/GetYahooCookieBody.php index 9bca2b949..70f806036 100644 --- a/src/Mail/Message/GetYahooCookieBody.php +++ b/src/Mail/Message/GetYahooCookieBody.php @@ -33,7 +33,7 @@ class GetYahooCookieBody extends SoapBody #[SerializedName('GetYahooCookieRequest')] #[Type(GetYahooCookieRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GetYahooCookieBody extends SoapBody #[SerializedName('GetYahooCookieResponse')] #[Type(GetYahooCookieResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GetYahooCookieBody extends SoapBody * @return self */ public function __construct( - ?GetYahooCookieRequest $request = NULL, ?GetYahooCookieResponse $response = NULL + ?GetYahooCookieRequest $request = null, ?GetYahooCookieResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GetYahooCookieEnvelope.php b/src/Mail/Message/GetYahooCookieEnvelope.php index b8f727ca3..0c9bdfe43 100644 --- a/src/Mail/Message/GetYahooCookieEnvelope.php +++ b/src/Mail/Message/GetYahooCookieEnvelope.php @@ -35,7 +35,7 @@ class GetYahooCookieEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GetYahooCookieBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GetYahooCookieEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GetYahooCookieBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GetYahooCookieBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/GetYahooCookieResponse.php b/src/Mail/Message/GetYahooCookieResponse.php index b6db46760..8a6436754 100644 --- a/src/Mail/Message/GetYahooCookieResponse.php +++ b/src/Mail/Message/GetYahooCookieResponse.php @@ -78,19 +78,19 @@ class GetYahooCookieResponse extends SoapResponse * @return self */ public function __construct( - ?string $error = NULL, ?string $crumb = NULL, ?string $y = NULL, ?string $t = NULL + ?string $error = null, ?string $crumb = null, ?string $y = null, ?string $t = null ) { - if (NULL !== $error) { + if (null !== $error) { $this->setError($error); } - if (NULL !== $crumb) { + if (null !== $crumb) { $this->setCrumb($crumb); } - if (NULL !== $y) { + if (null !== $y) { $this->setY($y); } - if (NULL !== $t) { + if (null !== $t) { $this->setT($t); } } diff --git a/src/Mail/Message/GrantPermissionBody.php b/src/Mail/Message/GrantPermissionBody.php index fc45e3c9e..cbea0f710 100644 --- a/src/Mail/Message/GrantPermissionBody.php +++ b/src/Mail/Message/GrantPermissionBody.php @@ -33,7 +33,7 @@ class GrantPermissionBody extends SoapBody #[SerializedName('GrantPermissionRequest')] #[Type(GrantPermissionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class GrantPermissionBody extends SoapBody #[SerializedName('GrantPermissionResponse')] #[Type(GrantPermissionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class GrantPermissionBody extends SoapBody * @return self */ public function __construct( - ?GrantPermissionRequest $request = NULL, ?GrantPermissionResponse $response = NULL + ?GrantPermissionRequest $request = null, ?GrantPermissionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/GrantPermissionEnvelope.php b/src/Mail/Message/GrantPermissionEnvelope.php index 2eafccaef..d1d77feac 100644 --- a/src/Mail/Message/GrantPermissionEnvelope.php +++ b/src/Mail/Message/GrantPermissionEnvelope.php @@ -35,7 +35,7 @@ class GrantPermissionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(GrantPermissionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class GrantPermissionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?GrantPermissionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?GrantPermissionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ICalReplyBody.php b/src/Mail/Message/ICalReplyBody.php index 01f2b36af..34eba506c 100644 --- a/src/Mail/Message/ICalReplyBody.php +++ b/src/Mail/Message/ICalReplyBody.php @@ -33,7 +33,7 @@ class ICalReplyBody extends SoapBody #[SerializedName('ICalReplyRequest')] #[Type(ICalReplyRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ICalReplyBody extends SoapBody #[SerializedName('ICalReplyResponse')] #[Type(ICalReplyResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ICalReplyBody extends SoapBody * @return self */ public function __construct( - ?ICalReplyRequest $request = NULL, ?ICalReplyResponse $response = NULL + ?ICalReplyRequest $request = null, ?ICalReplyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ICalReplyEnvelope.php b/src/Mail/Message/ICalReplyEnvelope.php index 4d992034b..545cac475 100644 --- a/src/Mail/Message/ICalReplyEnvelope.php +++ b/src/Mail/Message/ICalReplyEnvelope.php @@ -35,7 +35,7 @@ class ICalReplyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ICalReplyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ICalReplyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ICalReplyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ICalReplyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/IMAPCopyBody.php b/src/Mail/Message/IMAPCopyBody.php index 6e5b4b6fb..f682e0d38 100644 --- a/src/Mail/Message/IMAPCopyBody.php +++ b/src/Mail/Message/IMAPCopyBody.php @@ -33,7 +33,7 @@ class IMAPCopyBody extends SoapBody #[SerializedName('IMAPCopyRequest')] #[Type(IMAPCopyRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class IMAPCopyBody extends SoapBody #[SerializedName('IMAPCopyResponse')] #[Type(IMAPCopyResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class IMAPCopyBody extends SoapBody * @return self */ public function __construct( - ?IMAPCopyRequest $request = NULL, ?IMAPCopyResponse $response = NULL + ?IMAPCopyRequest $request = null, ?IMAPCopyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/IMAPCopyEnvelope.php b/src/Mail/Message/IMAPCopyEnvelope.php index 7029822a0..577ad2638 100644 --- a/src/Mail/Message/IMAPCopyEnvelope.php +++ b/src/Mail/Message/IMAPCopyEnvelope.php @@ -35,7 +35,7 @@ class IMAPCopyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(IMAPCopyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class IMAPCopyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?IMAPCopyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?IMAPCopyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/IMAPCopyRequest.php b/src/Mail/Message/IMAPCopyRequest.php index 3096bbc77..fb2c7b48b 100644 --- a/src/Mail/Message/IMAPCopyRequest.php +++ b/src/Mail/Message/IMAPCopyRequest.php @@ -69,7 +69,7 @@ class IMAPCopyRequest extends SoapRequest */ public function __construct( string $ids = '', - ?MailItemType $type = NULL, + ?MailItemType $type = null, int $folder = 0 ) { diff --git a/src/Mail/Message/ImportAppointmentsBody.php b/src/Mail/Message/ImportAppointmentsBody.php index c83b13586..0f1600a19 100644 --- a/src/Mail/Message/ImportAppointmentsBody.php +++ b/src/Mail/Message/ImportAppointmentsBody.php @@ -33,7 +33,7 @@ class ImportAppointmentsBody extends SoapBody #[SerializedName('ImportAppointmentsRequest')] #[Type(ImportAppointmentsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ImportAppointmentsBody extends SoapBody #[SerializedName('ImportAppointmentsResponse')] #[Type(ImportAppointmentsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ImportAppointmentsBody extends SoapBody * @return self */ public function __construct( - ?ImportAppointmentsRequest $request = NULL, ?ImportAppointmentsResponse $response = NULL + ?ImportAppointmentsRequest $request = null, ?ImportAppointmentsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ImportAppointmentsEnvelope.php b/src/Mail/Message/ImportAppointmentsEnvelope.php index 68d7f1ec9..5bf49e4a5 100644 --- a/src/Mail/Message/ImportAppointmentsEnvelope.php +++ b/src/Mail/Message/ImportAppointmentsEnvelope.php @@ -35,7 +35,7 @@ class ImportAppointmentsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ImportAppointmentsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ImportAppointmentsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ImportAppointmentsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ImportAppointmentsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ImportAppointmentsRequest.php b/src/Mail/Message/ImportAppointmentsRequest.php index 5b83580ab..76aabc351 100644 --- a/src/Mail/Message/ImportAppointmentsRequest.php +++ b/src/Mail/Message/ImportAppointmentsRequest.php @@ -72,12 +72,12 @@ class ImportAppointmentsRequest extends SoapRequest public function __construct( ContentSpec $content, string $contentType = 'text/calendar', - ?string $folderId = NULL + ?string $folderId = null ) { $this->setContent($content) ->setContentType($contentType); - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } } diff --git a/src/Mail/Message/ImportContactsBody.php b/src/Mail/Message/ImportContactsBody.php index cb422c98e..0205082f1 100644 --- a/src/Mail/Message/ImportContactsBody.php +++ b/src/Mail/Message/ImportContactsBody.php @@ -33,7 +33,7 @@ class ImportContactsBody extends SoapBody #[SerializedName('ImportContactsRequest')] #[Type(ImportContactsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ImportContactsBody extends SoapBody #[SerializedName('ImportContactsResponse')] #[Type(ImportContactsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ImportContactsBody extends SoapBody * @return self */ public function __construct( - ?ImportContactsRequest $request = NULL, ?ImportContactsResponse $response = NULL + ?ImportContactsRequest $request = null, ?ImportContactsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ImportContactsEnvelope.php b/src/Mail/Message/ImportContactsEnvelope.php index 976282177..70c9e9e9a 100644 --- a/src/Mail/Message/ImportContactsEnvelope.php +++ b/src/Mail/Message/ImportContactsEnvelope.php @@ -35,7 +35,7 @@ class ImportContactsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ImportContactsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ImportContactsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ImportContactsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ImportContactsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ImportContactsRequest.php b/src/Mail/Message/ImportContactsRequest.php index ec04c2bc7..94f695853 100644 --- a/src/Mail/Message/ImportContactsRequest.php +++ b/src/Mail/Message/ImportContactsRequest.php @@ -97,20 +97,20 @@ class ImportContactsRequest extends SoapRequest public function __construct( Content $content, string $contentType = 'text/csv', - ?string $folderId = NULL, - ?string $csvFormat = NULL, - ?string $csvLocale = NULL + ?string $folderId = null, + ?string $csvFormat = null, + ?string $csvLocale = null ) { $this->setContent($content) ->setContentType($contentType); - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $csvFormat) { + if (null !== $csvFormat) { $this->setCsvFormat($csvFormat); } - if (NULL !== $csvLocale) { + if (null !== $csvLocale) { $this->setCsvLocale($csvLocale); } } diff --git a/src/Mail/Message/ImportContactsResponse.php b/src/Mail/Message/ImportContactsResponse.php index 5ba752019..b943a87b6 100644 --- a/src/Mail/Message/ImportContactsResponse.php +++ b/src/Mail/Message/ImportContactsResponse.php @@ -43,7 +43,7 @@ class ImportContactsResponse extends SoapResponse * @return self */ public function __construct( - ?ImportContact $contact = NULL + ?ImportContact $contact = null ) { $this->contact = $contact; diff --git a/src/Mail/Message/ImportDataBody.php b/src/Mail/Message/ImportDataBody.php index 8cd0b99c0..188a02f55 100644 --- a/src/Mail/Message/ImportDataBody.php +++ b/src/Mail/Message/ImportDataBody.php @@ -33,7 +33,7 @@ class ImportDataBody extends SoapBody #[SerializedName('ImportDataRequest')] #[Type(ImportDataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ImportDataBody extends SoapBody #[SerializedName('ImportDataResponse')] #[Type(ImportDataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ImportDataBody extends SoapBody * @return self */ public function __construct( - ?ImportDataRequest $request = NULL, ?ImportDataResponse $response = NULL + ?ImportDataRequest $request = null, ?ImportDataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ImportDataEnvelope.php b/src/Mail/Message/ImportDataEnvelope.php index 2cad20bf6..3e41c1247 100644 --- a/src/Mail/Message/ImportDataEnvelope.php +++ b/src/Mail/Message/ImportDataEnvelope.php @@ -35,7 +35,7 @@ class ImportDataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ImportDataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ImportDataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ImportDataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ImportDataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/InvalidateReminderDeviceBody.php b/src/Mail/Message/InvalidateReminderDeviceBody.php index 9213584d8..4846daf87 100644 --- a/src/Mail/Message/InvalidateReminderDeviceBody.php +++ b/src/Mail/Message/InvalidateReminderDeviceBody.php @@ -33,7 +33,7 @@ class InvalidateReminderDeviceBody extends SoapBody #[SerializedName('InvalidateReminderDeviceRequest')] #[Type(InvalidateReminderDeviceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class InvalidateReminderDeviceBody extends SoapBody #[SerializedName('InvalidateReminderDeviceResponse')] #[Type(InvalidateReminderDeviceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class InvalidateReminderDeviceBody extends SoapBody * @return self */ public function __construct( - ?InvalidateReminderDeviceRequest $request = NULL, ?InvalidateReminderDeviceResponse $response = NULL + ?InvalidateReminderDeviceRequest $request = null, ?InvalidateReminderDeviceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/InvalidateReminderDeviceEnvelope.php b/src/Mail/Message/InvalidateReminderDeviceEnvelope.php index 77fda8d7b..381a22924 100644 --- a/src/Mail/Message/InvalidateReminderDeviceEnvelope.php +++ b/src/Mail/Message/InvalidateReminderDeviceEnvelope.php @@ -35,7 +35,7 @@ class InvalidateReminderDeviceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(InvalidateReminderDeviceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class InvalidateReminderDeviceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?InvalidateReminderDeviceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?InvalidateReminderDeviceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ItemActionBody.php b/src/Mail/Message/ItemActionBody.php index 7884a49fc..69cbf3357 100644 --- a/src/Mail/Message/ItemActionBody.php +++ b/src/Mail/Message/ItemActionBody.php @@ -33,7 +33,7 @@ class ItemActionBody extends SoapBody #[SerializedName('ItemActionRequest')] #[Type(ItemActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ItemActionBody extends SoapBody #[SerializedName('ItemActionResponse')] #[Type(ItemActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ItemActionBody extends SoapBody * @return self */ public function __construct( - ?ItemActionRequest $request = NULL, ?ItemActionResponse $response = NULL + ?ItemActionRequest $request = null, ?ItemActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ItemActionEnvelope.php b/src/Mail/Message/ItemActionEnvelope.php index aec2f1dd6..ec257798d 100644 --- a/src/Mail/Message/ItemActionEnvelope.php +++ b/src/Mail/Message/ItemActionEnvelope.php @@ -35,7 +35,7 @@ class ItemActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ItemActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ItemActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ItemActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ItemActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ItemActionResponse.php b/src/Mail/Message/ItemActionResponse.php index 166b99561..aa3371afa 100644 --- a/src/Mail/Message/ItemActionResponse.php +++ b/src/Mail/Message/ItemActionResponse.php @@ -43,7 +43,7 @@ class ItemActionResponse extends SoapResponse * @param ActionResult $action * @return self */ - public function __construct(?ActionResult $action = NULL) + public function __construct(?ActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/ListDocumentRevisionsBody.php b/src/Mail/Message/ListDocumentRevisionsBody.php index cf24e1531..e3b8e5121 100644 --- a/src/Mail/Message/ListDocumentRevisionsBody.php +++ b/src/Mail/Message/ListDocumentRevisionsBody.php @@ -33,7 +33,7 @@ class ListDocumentRevisionsBody extends SoapBody #[SerializedName('ListDocumentRevisionsRequest')] #[Type(ListDocumentRevisionsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ListDocumentRevisionsBody extends SoapBody #[SerializedName('ListDocumentRevisionsResponse')] #[Type(ListDocumentRevisionsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ListDocumentRevisionsBody extends SoapBody * @return self */ public function __construct( - ?ListDocumentRevisionsRequest $request = NULL, ?ListDocumentRevisionsResponse $response = NULL + ?ListDocumentRevisionsRequest $request = null, ?ListDocumentRevisionsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ListDocumentRevisionsEnvelope.php b/src/Mail/Message/ListDocumentRevisionsEnvelope.php index 43c3acd6b..2a166eb2f 100644 --- a/src/Mail/Message/ListDocumentRevisionsEnvelope.php +++ b/src/Mail/Message/ListDocumentRevisionsEnvelope.php @@ -35,7 +35,7 @@ class ListDocumentRevisionsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ListDocumentRevisionsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ListDocumentRevisionsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ListDocumentRevisionsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ListDocumentRevisionsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ListIMAPSubscriptionsBody.php b/src/Mail/Message/ListIMAPSubscriptionsBody.php index 5dfcc6dc5..9ccbdb72e 100644 --- a/src/Mail/Message/ListIMAPSubscriptionsBody.php +++ b/src/Mail/Message/ListIMAPSubscriptionsBody.php @@ -33,7 +33,7 @@ class ListIMAPSubscriptionsBody extends SoapBody #[SerializedName('ListIMAPSubscriptionsRequest')] #[Type(ListIMAPSubscriptionsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ListIMAPSubscriptionsBody extends SoapBody #[SerializedName('ListIMAPSubscriptionsResponse')] #[Type(ListIMAPSubscriptionsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ListIMAPSubscriptionsBody extends SoapBody * @return self */ public function __construct( - ?ListIMAPSubscriptionsRequest $request = NULL, ?ListIMAPSubscriptionsResponse $response = NULL + ?ListIMAPSubscriptionsRequest $request = null, ?ListIMAPSubscriptionsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ListIMAPSubscriptionsEnvelope.php b/src/Mail/Message/ListIMAPSubscriptionsEnvelope.php index 5248924e2..b711ede8a 100644 --- a/src/Mail/Message/ListIMAPSubscriptionsEnvelope.php +++ b/src/Mail/Message/ListIMAPSubscriptionsEnvelope.php @@ -35,7 +35,7 @@ class ListIMAPSubscriptionsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ListIMAPSubscriptionsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ListIMAPSubscriptionsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ListIMAPSubscriptionsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ListIMAPSubscriptionsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyAppointmentBody.php b/src/Mail/Message/ModifyAppointmentBody.php index 58f35f8ae..090bba464 100644 --- a/src/Mail/Message/ModifyAppointmentBody.php +++ b/src/Mail/Message/ModifyAppointmentBody.php @@ -33,7 +33,7 @@ class ModifyAppointmentBody extends SoapBody #[SerializedName('ModifyAppointmentRequest')] #[Type(ModifyAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyAppointmentBody extends SoapBody #[SerializedName('ModifyAppointmentResponse')] #[Type(ModifyAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyAppointmentBody extends SoapBody * @return self */ public function __construct( - ?ModifyAppointmentRequest $request = NULL, ?ModifyAppointmentResponse $response = NULL + ?ModifyAppointmentRequest $request = null, ?ModifyAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyAppointmentEnvelope.php b/src/Mail/Message/ModifyAppointmentEnvelope.php index 641b19499..ca2e2534c 100644 --- a/src/Mail/Message/ModifyAppointmentEnvelope.php +++ b/src/Mail/Message/ModifyAppointmentEnvelope.php @@ -35,7 +35,7 @@ class ModifyAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyAppointmentRequest.php b/src/Mail/Message/ModifyAppointmentRequest.php index e19a7ff40..6b39f0f44 100644 --- a/src/Mail/Message/ModifyAppointmentRequest.php +++ b/src/Mail/Message/ModifyAppointmentRequest.php @@ -93,16 +93,16 @@ class ModifyAppointmentRequest extends CalItemRequestBase * @return self */ public function __construct( - ?string $id = NULL, - ?int $componentNum = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?string $id = null, + ?int $componentNum = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ) { parent::__construct( @@ -113,16 +113,16 @@ public function __construct( $neuter, $forceSend ); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } } diff --git a/src/Mail/Message/ModifyContactBody.php b/src/Mail/Message/ModifyContactBody.php index a21048cb4..45a0fa139 100644 --- a/src/Mail/Message/ModifyContactBody.php +++ b/src/Mail/Message/ModifyContactBody.php @@ -33,7 +33,7 @@ class ModifyContactBody extends SoapBody #[SerializedName('ModifyContactRequest')] #[Type(ModifyContactRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyContactBody extends SoapBody #[SerializedName('ModifyContactResponse')] #[Type(ModifyContactResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyContactBody extends SoapBody * @return self */ public function __construct( - ?ModifyContactRequest $request = NULL, ?ModifyContactResponse $response = NULL + ?ModifyContactRequest $request = null, ?ModifyContactResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyContactEnvelope.php b/src/Mail/Message/ModifyContactEnvelope.php index 548a38a71..d414b5dc9 100644 --- a/src/Mail/Message/ModifyContactEnvelope.php +++ b/src/Mail/Message/ModifyContactEnvelope.php @@ -35,7 +35,7 @@ class ModifyContactEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyContactBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyContactEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyContactBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyContactBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyContactRequest.php b/src/Mail/Message/ModifyContactRequest.php index 4bee997fe..06d7f4e47 100644 --- a/src/Mail/Message/ModifyContactRequest.php +++ b/src/Mail/Message/ModifyContactRequest.php @@ -98,23 +98,23 @@ class ModifyContactRequest extends SoapRequest */ public function __construct( ModifyContactSpec $contact, - ?bool $replace = NULL, - ?bool $verbose = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $replace = null, + ?bool $verbose = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ) { $this->setContact($contact); - if (NULL !== $replace) { + if (null !== $replace) { $this->setReplace($replace); } - if (NULL !== $verbose) { + if (null !== $verbose) { $this->setVerbose($verbose); } - if (NULL !== $wantImapUid) { + if (null !== $wantImapUid) { $this->setWantImapUid($wantImapUid); } - if (NULL !== $wantModifiedSequence) { + if (null !== $wantModifiedSequence) { $this->setWantModifiedSequence($wantModifiedSequence); } } diff --git a/src/Mail/Message/ModifyContactResponse.php b/src/Mail/Message/ModifyContactResponse.php index 7459fe63b..2630bec7b 100644 --- a/src/Mail/Message/ModifyContactResponse.php +++ b/src/Mail/Message/ModifyContactResponse.php @@ -42,7 +42,7 @@ class ModifyContactResponse extends SoapResponse * @param ContactInfo $contact * @return self */ - public function __construct(?ContactInfo $contact = NULL) + public function __construct(?ContactInfo $contact = null) { $this->contact = $contact; } diff --git a/src/Mail/Message/ModifyDataSourceBody.php b/src/Mail/Message/ModifyDataSourceBody.php index 05d3513c3..7cd76d42b 100644 --- a/src/Mail/Message/ModifyDataSourceBody.php +++ b/src/Mail/Message/ModifyDataSourceBody.php @@ -33,7 +33,7 @@ class ModifyDataSourceBody extends SoapBody #[SerializedName('ModifyDataSourceRequest')] #[Type(ModifyDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyDataSourceBody extends SoapBody #[SerializedName('ModifyDataSourceResponse')] #[Type(ModifyDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyDataSourceBody extends SoapBody * @return self */ public function __construct( - ?ModifyDataSourceRequest $request = NULL, ?ModifyDataSourceResponse $response = NULL + ?ModifyDataSourceRequest $request = null, ?ModifyDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyDataSourceEnvelope.php b/src/Mail/Message/ModifyDataSourceEnvelope.php index 12a4a1435..18a6f0e67 100644 --- a/src/Mail/Message/ModifyDataSourceEnvelope.php +++ b/src/Mail/Message/ModifyDataSourceEnvelope.php @@ -35,7 +35,7 @@ class ModifyDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyDataSourceRequest.php b/src/Mail/Message/ModifyDataSourceRequest.php index 764ad4593..7ab2f7e23 100644 --- a/src/Mail/Message/ModifyDataSourceRequest.php +++ b/src/Mail/Message/ModifyDataSourceRequest.php @@ -36,7 +36,7 @@ class ModifyDataSourceRequest extends SoapRequest * @param MailDataSource $dataSource * @return self */ - public function __construct(?MailDataSource $dataSource = NULL) + public function __construct(?MailDataSource $dataSource = null) { $this->imapDataSource = $this->pop3DataSource = @@ -45,7 +45,7 @@ public function __construct(?MailDataSource $dataSource = NULL) $this->rssDataSource = $this->galDataSource = $this->calDataSource = - $this->unknownDataSource = NULL; + $this->unknownDataSource = null; if ($dataSource instanceof MailDataSource) { $this->setDataSource($dataSource); } diff --git a/src/Mail/Message/ModifyFilterRulesBody.php b/src/Mail/Message/ModifyFilterRulesBody.php index 129d2d762..41e2a232d 100644 --- a/src/Mail/Message/ModifyFilterRulesBody.php +++ b/src/Mail/Message/ModifyFilterRulesBody.php @@ -33,7 +33,7 @@ class ModifyFilterRulesBody extends SoapBody #[SerializedName('ModifyFilterRulesRequest')] #[Type(ModifyFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyFilterRulesBody extends SoapBody #[SerializedName('ModifyFilterRulesResponse')] #[Type(ModifyFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ModifyFilterRulesRequest $request = NULL, ?ModifyFilterRulesResponse $response = NULL + ?ModifyFilterRulesRequest $request = null, ?ModifyFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyFilterRulesEnvelope.php b/src/Mail/Message/ModifyFilterRulesEnvelope.php index 3757b9c93..76026b207 100644 --- a/src/Mail/Message/ModifyFilterRulesEnvelope.php +++ b/src/Mail/Message/ModifyFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class ModifyFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyMailboxMetadataBody.php b/src/Mail/Message/ModifyMailboxMetadataBody.php index a038aa615..fe5d26dc0 100644 --- a/src/Mail/Message/ModifyMailboxMetadataBody.php +++ b/src/Mail/Message/ModifyMailboxMetadataBody.php @@ -33,7 +33,7 @@ class ModifyMailboxMetadataBody extends SoapBody #[SerializedName('ModifyMailboxMetadataRequest')] #[Type(ModifyMailboxMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyMailboxMetadataBody extends SoapBody #[SerializedName('ModifyMailboxMetadataResponse')] #[Type(ModifyMailboxMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyMailboxMetadataBody extends SoapBody * @return self */ public function __construct( - ?ModifyMailboxMetadataRequest $request = NULL, ?ModifyMailboxMetadataResponse $response = NULL + ?ModifyMailboxMetadataRequest $request = null, ?ModifyMailboxMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyMailboxMetadataEnvelope.php b/src/Mail/Message/ModifyMailboxMetadataEnvelope.php index 0de148321..6d0df4102 100644 --- a/src/Mail/Message/ModifyMailboxMetadataEnvelope.php +++ b/src/Mail/Message/ModifyMailboxMetadataEnvelope.php @@ -35,7 +35,7 @@ class ModifyMailboxMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyMailboxMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyMailboxMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyMailboxMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyMailboxMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyMailboxMetadataRequest.php b/src/Mail/Message/ModifyMailboxMetadataRequest.php index 59596c9dd..4f21b662e 100644 --- a/src/Mail/Message/ModifyMailboxMetadataRequest.php +++ b/src/Mail/Message/ModifyMailboxMetadataRequest.php @@ -47,7 +47,7 @@ class ModifyMailboxMetadataRequest extends SoapRequest * @param MailCustomMetadata $metadata * @return self */ - public function __construct(?MailCustomMetadata $metadata = NULL) + public function __construct(?MailCustomMetadata $metadata = null) { $this->metadata = $metadata; } diff --git a/src/Mail/Message/ModifyOutgoingFilterRulesBody.php b/src/Mail/Message/ModifyOutgoingFilterRulesBody.php index 98720f418..713ac3ebf 100644 --- a/src/Mail/Message/ModifyOutgoingFilterRulesBody.php +++ b/src/Mail/Message/ModifyOutgoingFilterRulesBody.php @@ -33,7 +33,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ModifyOutgoingFilterRulesRequest')] #[Type(ModifyOutgoingFilterRulesRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody #[SerializedName('ModifyOutgoingFilterRulesResponse')] #[Type(ModifyOutgoingFilterRulesResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyOutgoingFilterRulesBody extends SoapBody * @return self */ public function __construct( - ?ModifyOutgoingFilterRulesRequest $request = NULL, ?ModifyOutgoingFilterRulesResponse $response = NULL + ?ModifyOutgoingFilterRulesRequest $request = null, ?ModifyOutgoingFilterRulesResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyOutgoingFilterRulesEnvelope.php b/src/Mail/Message/ModifyOutgoingFilterRulesEnvelope.php index 6306dcab0..83d96f3ad 100644 --- a/src/Mail/Message/ModifyOutgoingFilterRulesEnvelope.php +++ b/src/Mail/Message/ModifyOutgoingFilterRulesEnvelope.php @@ -35,7 +35,7 @@ class ModifyOutgoingFilterRulesEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyOutgoingFilterRulesBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyOutgoingFilterRulesEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyOutgoingFilterRulesBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyOutgoingFilterRulesBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyProfileImageBody.php b/src/Mail/Message/ModifyProfileImageBody.php index 1158dfb56..120bf8964 100644 --- a/src/Mail/Message/ModifyProfileImageBody.php +++ b/src/Mail/Message/ModifyProfileImageBody.php @@ -33,7 +33,7 @@ class ModifyProfileImageBody extends SoapBody #[SerializedName('ModifyProfileImageRequest')] #[Type(ModifyProfileImageRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyProfileImageBody extends SoapBody #[SerializedName('ModifyProfileImageResponse')] #[Type(ModifyProfileImageResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyProfileImageBody extends SoapBody * @return self */ public function __construct( - ?ModifyProfileImageRequest $request = NULL, ?ModifyProfileImageResponse $response = NULL + ?ModifyProfileImageRequest $request = null, ?ModifyProfileImageResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyProfileImageEnvelope.php b/src/Mail/Message/ModifyProfileImageEnvelope.php index 6583588ea..413ff2c73 100644 --- a/src/Mail/Message/ModifyProfileImageEnvelope.php +++ b/src/Mail/Message/ModifyProfileImageEnvelope.php @@ -35,7 +35,7 @@ class ModifyProfileImageEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyProfileImageBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyProfileImageEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyProfileImageBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyProfileImageBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifyProfileImageRequest.php b/src/Mail/Message/ModifyProfileImageRequest.php index 31fd4d0b2..b93b78202 100644 --- a/src/Mail/Message/ModifyProfileImageRequest.php +++ b/src/Mail/Message/ModifyProfileImageRequest.php @@ -54,13 +54,13 @@ class ModifyProfileImageRequest extends SoapRequest * @return self */ public function __construct( - ?string $uploadId = NULL, ?string $imageB64Data = NULL + ?string $uploadId = null, ?string $imageB64Data = null ) { - if (NULL !== $uploadId) { + if (null !== $uploadId) { $this->setUploadId($uploadId); } - if (NULL !== $imageB64Data) { + if (null !== $imageB64Data) { $this->setImageB64Data($imageB64Data); } } diff --git a/src/Mail/Message/ModifyProfileImageResponse.php b/src/Mail/Message/ModifyProfileImageResponse.php index 89bc1539d..bd2b4f065 100644 --- a/src/Mail/Message/ModifyProfileImageResponse.php +++ b/src/Mail/Message/ModifyProfileImageResponse.php @@ -41,9 +41,9 @@ class ModifyProfileImageResponse extends SoapResponse * @param int $itemId * @return self */ - public function __construct(?int $itemId = NULL) + public function __construct(?int $itemId = null) { - if (NULL !== $itemId) { + if (null !== $itemId) { $this->setItemId($itemId); } } diff --git a/src/Mail/Message/ModifySearchFolderBody.php b/src/Mail/Message/ModifySearchFolderBody.php index 5e6f6ab9b..69e067f6a 100644 --- a/src/Mail/Message/ModifySearchFolderBody.php +++ b/src/Mail/Message/ModifySearchFolderBody.php @@ -33,7 +33,7 @@ class ModifySearchFolderBody extends SoapBody #[SerializedName('ModifySearchFolderRequest')] #[Type(ModifySearchFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifySearchFolderBody extends SoapBody #[SerializedName('ModifySearchFolderResponse')] #[Type(ModifySearchFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifySearchFolderBody extends SoapBody * @return self */ public function __construct( - ?ModifySearchFolderRequest $request = NULL, ?ModifySearchFolderResponse $response = NULL + ?ModifySearchFolderRequest $request = null, ?ModifySearchFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifySearchFolderEnvelope.php b/src/Mail/Message/ModifySearchFolderEnvelope.php index b47b73358..f94f909d3 100644 --- a/src/Mail/Message/ModifySearchFolderEnvelope.php +++ b/src/Mail/Message/ModifySearchFolderEnvelope.php @@ -35,7 +35,7 @@ class ModifySearchFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifySearchFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifySearchFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifySearchFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifySearchFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/ModifySearchFolderResponse.php b/src/Mail/Message/ModifySearchFolderResponse.php index 70e130133..4ba20ea44 100644 --- a/src/Mail/Message/ModifySearchFolderResponse.php +++ b/src/Mail/Message/ModifySearchFolderResponse.php @@ -42,7 +42,7 @@ class ModifySearchFolderResponse extends SoapResponse * @param SearchFolder $searchFolder * @return self */ - public function __construct(?SearchFolder $searchFolder = NULL) + public function __construct(?SearchFolder $searchFolder = null) { $this->searchFolder = $searchFolder; } diff --git a/src/Mail/Message/ModifyTaskBody.php b/src/Mail/Message/ModifyTaskBody.php index 7ff3eee02..4ad03dac3 100644 --- a/src/Mail/Message/ModifyTaskBody.php +++ b/src/Mail/Message/ModifyTaskBody.php @@ -33,7 +33,7 @@ class ModifyTaskBody extends SoapBody #[SerializedName('ModifyTaskRequest')] #[Type(ModifyTaskRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ModifyTaskBody extends SoapBody #[SerializedName('ModifyTaskResponse')] #[Type(ModifyTaskResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ModifyTaskBody extends SoapBody * @return self */ public function __construct( - ?ModifyTaskRequest $request = NULL, ?ModifyTaskResponse $response = NULL + ?ModifyTaskRequest $request = null, ?ModifyTaskResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ModifyTaskEnvelope.php b/src/Mail/Message/ModifyTaskEnvelope.php index e07f50a5c..4a92ce822 100644 --- a/src/Mail/Message/ModifyTaskEnvelope.php +++ b/src/Mail/Message/ModifyTaskEnvelope.php @@ -35,7 +35,7 @@ class ModifyTaskEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ModifyTaskBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ModifyTaskEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ModifyTaskBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ModifyTaskBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/MsgActionBody.php b/src/Mail/Message/MsgActionBody.php index 2b05c57a7..ce1196c4a 100644 --- a/src/Mail/Message/MsgActionBody.php +++ b/src/Mail/Message/MsgActionBody.php @@ -33,7 +33,7 @@ class MsgActionBody extends SoapBody #[SerializedName('MsgActionRequest')] #[Type(MsgActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class MsgActionBody extends SoapBody #[SerializedName('MsgActionResponse')] #[Type(MsgActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class MsgActionBody extends SoapBody * @return self */ public function __construct( - ?MsgActionRequest $request = NULL, ?MsgActionResponse $response = NULL + ?MsgActionRequest $request = null, ?MsgActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/MsgActionEnvelope.php b/src/Mail/Message/MsgActionEnvelope.php index 45c24423d..4f59c5e61 100644 --- a/src/Mail/Message/MsgActionEnvelope.php +++ b/src/Mail/Message/MsgActionEnvelope.php @@ -35,7 +35,7 @@ class MsgActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(MsgActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class MsgActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?MsgActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?MsgActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/MsgActionResponse.php b/src/Mail/Message/MsgActionResponse.php index 42c0b6557..a51218351 100644 --- a/src/Mail/Message/MsgActionResponse.php +++ b/src/Mail/Message/MsgActionResponse.php @@ -43,7 +43,7 @@ class MsgActionResponse extends SoapResponse * @param ActionResult $action * @return self */ - public function __construct(?ActionResult $action = NULL) + public function __construct(?ActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/NoOpBody.php b/src/Mail/Message/NoOpBody.php index 94df5b304..e9f971d6d 100644 --- a/src/Mail/Message/NoOpBody.php +++ b/src/Mail/Message/NoOpBody.php @@ -33,7 +33,7 @@ class NoOpBody extends SoapBody #[SerializedName('NoOpRequest')] #[Type(NoOpRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class NoOpBody extends SoapBody #[SerializedName('NoOpResponse')] #[Type(NoOpResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class NoOpBody extends SoapBody * @return self */ public function __construct( - ?NoOpRequest $request = NULL, ?NoOpResponse $response = NULL + ?NoOpRequest $request = null, ?NoOpResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/NoOpEnvelope.php b/src/Mail/Message/NoOpEnvelope.php index 263c63ebf..65ff5c30c 100644 --- a/src/Mail/Message/NoOpEnvelope.php +++ b/src/Mail/Message/NoOpEnvelope.php @@ -35,7 +35,7 @@ class NoOpEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(NoOpBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class NoOpEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?NoOpBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?NoOpBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/NoOpRequest.php b/src/Mail/Message/NoOpRequest.php index 34b37d4a2..2b98f805f 100644 --- a/src/Mail/Message/NoOpRequest.php +++ b/src/Mail/Message/NoOpRequest.php @@ -109,22 +109,22 @@ class NoOpRequest extends SoapRequest * @return self */ public function __construct( - ?bool $wait = NULL, - ?bool $includeDelegates = NULL, - ?bool $enforceLimit = NULL, - ?int $timeout = NULL + ?bool $wait = null, + ?bool $includeDelegates = null, + ?bool $enforceLimit = null, + ?int $timeout = null ) { - if (NULL !== $wait) { + if (null !== $wait) { $this->setWait($wait); } - if (NULL !== $includeDelegates) { + if (null !== $includeDelegates) { $this->setIncludeDelegates($includeDelegates); } - if (NULL !== $enforceLimit) { + if (null !== $enforceLimit) { $this->setEnforceLimit($enforceLimit); } - if (NULL !== $timeout) { + if (null !== $timeout) { $this->setTimeout($timeout); } } diff --git a/src/Mail/Message/NoOpResponse.php b/src/Mail/Message/NoOpResponse.php index f605d07e8..e3de4f7b1 100644 --- a/src/Mail/Message/NoOpResponse.php +++ b/src/Mail/Message/NoOpResponse.php @@ -42,10 +42,10 @@ class NoOpResponse extends SoapResponse * @return self */ public function __construct( - ?bool $waitDisallowed = NULL + ?bool $waitDisallowed = null ) { - if (NULL !== $waitDisallowed) { + if (null !== $waitDisallowed) { $this->setWaitDisallowed($waitDisallowed); } } diff --git a/src/Mail/Message/NoteActionBody.php b/src/Mail/Message/NoteActionBody.php index cba0925bc..f1736486b 100644 --- a/src/Mail/Message/NoteActionBody.php +++ b/src/Mail/Message/NoteActionBody.php @@ -33,7 +33,7 @@ class NoteActionBody extends SoapBody #[SerializedName('NoteActionRequest')] #[Type(NoteActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class NoteActionBody extends SoapBody #[SerializedName('NoteActionResponse')] #[Type(NoteActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class NoteActionBody extends SoapBody * @return self */ public function __construct( - ?NoteActionRequest $request = NULL, ?NoteActionResponse $response = NULL + ?NoteActionRequest $request = null, ?NoteActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/NoteActionEnvelope.php b/src/Mail/Message/NoteActionEnvelope.php index 7cc2c425f..7af80c1a4 100644 --- a/src/Mail/Message/NoteActionEnvelope.php +++ b/src/Mail/Message/NoteActionEnvelope.php @@ -35,7 +35,7 @@ class NoteActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(NoteActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class NoteActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?NoteActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?NoteActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/NoteActionResponse.php b/src/Mail/Message/NoteActionResponse.php index 0c220f681..9c24a1e0a 100644 --- a/src/Mail/Message/NoteActionResponse.php +++ b/src/Mail/Message/NoteActionResponse.php @@ -43,7 +43,7 @@ class NoteActionResponse extends SoapResponse * @param ActionResult $action * @return self */ - public function __construct(?ActionResult $action = NULL) + public function __construct(?ActionResult $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/OpenIMAPFolderBody.php b/src/Mail/Message/OpenIMAPFolderBody.php index 57842bca2..e1220a67e 100644 --- a/src/Mail/Message/OpenIMAPFolderBody.php +++ b/src/Mail/Message/OpenIMAPFolderBody.php @@ -33,7 +33,7 @@ class OpenIMAPFolderBody extends SoapBody #[SerializedName('OpenIMAPFolderRequest')] #[Type(OpenIMAPFolderRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class OpenIMAPFolderBody extends SoapBody #[SerializedName('OpenIMAPFolderResponse')] #[Type(OpenIMAPFolderResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class OpenIMAPFolderBody extends SoapBody * @return self */ public function __construct( - ?OpenIMAPFolderRequest $request = NULL, ?OpenIMAPFolderResponse $response = NULL + ?OpenIMAPFolderRequest $request = null, ?OpenIMAPFolderResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/OpenIMAPFolderEnvelope.php b/src/Mail/Message/OpenIMAPFolderEnvelope.php index 4a329a038..1d8820dd4 100644 --- a/src/Mail/Message/OpenIMAPFolderEnvelope.php +++ b/src/Mail/Message/OpenIMAPFolderEnvelope.php @@ -35,7 +35,7 @@ class OpenIMAPFolderEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(OpenIMAPFolderBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class OpenIMAPFolderEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?OpenIMAPFolderBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?OpenIMAPFolderBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/OpenIMAPFolderRequest.php b/src/Mail/Message/OpenIMAPFolderRequest.php index 0ab4a31c1..d0aab1981 100644 --- a/src/Mail/Message/OpenIMAPFolderRequest.php +++ b/src/Mail/Message/OpenIMAPFolderRequest.php @@ -69,7 +69,7 @@ class OpenIMAPFolderRequest extends SoapRequest public function __construct( string $folderId = '', int $limit = 0, - ?ImapCursorInfo $cursor = NULL + ?ImapCursorInfo $cursor = null ) { $this->setFolderId($folderId) diff --git a/src/Mail/Message/OpenIMAPFolderResponse.php b/src/Mail/Message/OpenIMAPFolderResponse.php index 3b09351df..de6717a81 100644 --- a/src/Mail/Message/OpenIMAPFolderResponse.php +++ b/src/Mail/Message/OpenIMAPFolderResponse.php @@ -69,13 +69,13 @@ class OpenIMAPFolderResponse extends SoapResponse */ public function __construct( array $messages = [], - ?bool $hasMore = NULL, - ?ImapCursorInfo $cursor = NULL + ?bool $hasMore = null, + ?ImapCursorInfo $cursor = null ) { $this->setMessages($messages); $this->cursor = $cursor; - if (NULL !== $hasMore) { + if (null !== $hasMore) { $this->setHasMore($hasMore); } } diff --git a/src/Mail/Message/PurgeRevisionBody.php b/src/Mail/Message/PurgeRevisionBody.php index 531d22c13..7ff23892f 100644 --- a/src/Mail/Message/PurgeRevisionBody.php +++ b/src/Mail/Message/PurgeRevisionBody.php @@ -33,7 +33,7 @@ class PurgeRevisionBody extends SoapBody #[SerializedName('PurgeRevisionRequest')] #[Type(PurgeRevisionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class PurgeRevisionBody extends SoapBody #[SerializedName('PurgeRevisionResponse')] #[Type(PurgeRevisionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class PurgeRevisionBody extends SoapBody * @return self */ public function __construct( - ?PurgeRevisionRequest $request = NULL, ?PurgeRevisionResponse $response = NULL + ?PurgeRevisionRequest $request = null, ?PurgeRevisionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/PurgeRevisionEnvelope.php b/src/Mail/Message/PurgeRevisionEnvelope.php index aacbd7b9e..6b9e0e70e 100644 --- a/src/Mail/Message/PurgeRevisionEnvelope.php +++ b/src/Mail/Message/PurgeRevisionEnvelope.php @@ -35,7 +35,7 @@ class PurgeRevisionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(PurgeRevisionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class PurgeRevisionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?PurgeRevisionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?PurgeRevisionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RankingActionBody.php b/src/Mail/Message/RankingActionBody.php index cf3a6ffb1..a4f98fb4f 100644 --- a/src/Mail/Message/RankingActionBody.php +++ b/src/Mail/Message/RankingActionBody.php @@ -33,7 +33,7 @@ class RankingActionBody extends SoapBody #[SerializedName('RankingActionRequest')] #[Type(RankingActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RankingActionBody extends SoapBody #[SerializedName('RankingActionResponse')] #[Type(RankingActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RankingActionBody extends SoapBody * @return self */ public function __construct( - ?RankingActionRequest $request = NULL, ?RankingActionResponse $response = NULL + ?RankingActionRequest $request = null, ?RankingActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RankingActionEnvelope.php b/src/Mail/Message/RankingActionEnvelope.php index 91d9f6051..d329d24d8 100644 --- a/src/Mail/Message/RankingActionEnvelope.php +++ b/src/Mail/Message/RankingActionEnvelope.php @@ -35,7 +35,7 @@ class RankingActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RankingActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RankingActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RankingActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RankingActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RecordIMAPSessionBody.php b/src/Mail/Message/RecordIMAPSessionBody.php index 39368cb4b..74e7812bb 100644 --- a/src/Mail/Message/RecordIMAPSessionBody.php +++ b/src/Mail/Message/RecordIMAPSessionBody.php @@ -33,7 +33,7 @@ class RecordIMAPSessionBody extends SoapBody #[SerializedName('RecordIMAPSessionRequest')] #[Type(RecordIMAPSessionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RecordIMAPSessionBody extends SoapBody #[SerializedName('RecordIMAPSessionResponse')] #[Type(RecordIMAPSessionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RecordIMAPSessionBody extends SoapBody * @return self */ public function __construct( - ?RecordIMAPSessionRequest $request = NULL, ?RecordIMAPSessionResponse $response = NULL + ?RecordIMAPSessionRequest $request = null, ?RecordIMAPSessionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RecordIMAPSessionEnvelope.php b/src/Mail/Message/RecordIMAPSessionEnvelope.php index 8326909a8..b5611da0d 100644 --- a/src/Mail/Message/RecordIMAPSessionEnvelope.php +++ b/src/Mail/Message/RecordIMAPSessionEnvelope.php @@ -35,7 +35,7 @@ class RecordIMAPSessionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RecordIMAPSessionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RecordIMAPSessionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RecordIMAPSessionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RecordIMAPSessionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RecoverAccountBody.php b/src/Mail/Message/RecoverAccountBody.php index d97f6c160..cee14f4e0 100644 --- a/src/Mail/Message/RecoverAccountBody.php +++ b/src/Mail/Message/RecoverAccountBody.php @@ -33,7 +33,7 @@ class RecoverAccountBody extends SoapBody #[SerializedName('RecoverAccountRequest')] #[Type(RecoverAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RecoverAccountBody extends SoapBody #[SerializedName('RecoverAccountResponse')] #[Type(RecoverAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RecoverAccountBody extends SoapBody * @return self */ public function __construct( - ?RecoverAccountRequest $request = NULL, ?RecoverAccountResponse $response = NULL + ?RecoverAccountRequest $request = null, ?RecoverAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RecoverAccountEnvelope.php b/src/Mail/Message/RecoverAccountEnvelope.php index 0abdbd33b..1a588ab90 100644 --- a/src/Mail/Message/RecoverAccountEnvelope.php +++ b/src/Mail/Message/RecoverAccountEnvelope.php @@ -35,7 +35,7 @@ class RecoverAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RecoverAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RecoverAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RecoverAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RecoverAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RecoverAccountRequest.php b/src/Mail/Message/RecoverAccountRequest.php index ac46f5d02..8b35ecebd 100644 --- a/src/Mail/Message/RecoverAccountRequest.php +++ b/src/Mail/Message/RecoverAccountRequest.php @@ -67,8 +67,8 @@ class RecoverAccountRequest extends SoapRequest */ public function __construct( string $email = '', - ?RecoverAccountOperation $op = NULL, - ?Channel $channel = NULL + ?RecoverAccountOperation $op = null, + ?Channel $channel = null ) { $this->setEmail($email) diff --git a/src/Mail/Message/RecoverAccountResponse.php b/src/Mail/Message/RecoverAccountResponse.php index fb293d146..7550b0c46 100644 --- a/src/Mail/Message/RecoverAccountResponse.php +++ b/src/Mail/Message/RecoverAccountResponse.php @@ -54,14 +54,14 @@ class RecoverAccountResponse extends SoapResponse * @return self */ public function __construct( - ?string $recoveryAccount = NULL, - ?int $recoveryAttemptsLeft = NULL + ?string $recoveryAccount = null, + ?int $recoveryAttemptsLeft = null ) { - if (NULL !== $recoveryAccount) { + if (null !== $recoveryAccount) { $this->setRecoveryAccount($recoveryAccount); } - if (NULL !== $recoveryAttemptsLeft) { + if (null !== $recoveryAttemptsLeft) { $this->setRecoveryAttemptsLeft($recoveryAttemptsLeft); } } diff --git a/src/Mail/Message/RemoveAttachmentsBody.php b/src/Mail/Message/RemoveAttachmentsBody.php index 05da75231..9d10fbc91 100644 --- a/src/Mail/Message/RemoveAttachmentsBody.php +++ b/src/Mail/Message/RemoveAttachmentsBody.php @@ -33,7 +33,7 @@ class RemoveAttachmentsBody extends SoapBody #[SerializedName('RemoveAttachmentsRequest')] #[Type(RemoveAttachmentsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RemoveAttachmentsBody extends SoapBody #[SerializedName('RemoveAttachmentsResponse')] #[Type(RemoveAttachmentsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RemoveAttachmentsBody extends SoapBody * @return self */ public function __construct( - ?RemoveAttachmentsRequest $request = NULL, ?RemoveAttachmentsResponse $response = NULL + ?RemoveAttachmentsRequest $request = null, ?RemoveAttachmentsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RemoveAttachmentsEnvelope.php b/src/Mail/Message/RemoveAttachmentsEnvelope.php index ed36266ce..641c9e189 100644 --- a/src/Mail/Message/RemoveAttachmentsEnvelope.php +++ b/src/Mail/Message/RemoveAttachmentsEnvelope.php @@ -35,7 +35,7 @@ class RemoveAttachmentsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RemoveAttachmentsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RemoveAttachmentsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RemoveAttachmentsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RemoveAttachmentsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RemoveAttachmentsResponse.php b/src/Mail/Message/RemoveAttachmentsResponse.php index fd1ff7ad0..d5b4fa4cd 100644 --- a/src/Mail/Message/RemoveAttachmentsResponse.php +++ b/src/Mail/Message/RemoveAttachmentsResponse.php @@ -53,10 +53,10 @@ class RemoveAttachmentsResponse extends SoapResponse * @param MessageInfo $message * @return self */ - public function __construct(?MessageInfo $message = NULL) + public function __construct(?MessageInfo $message = null) { - $this->msgMessage = $this->chatMessage = NULL; - if (NULL !== $message) { + $this->msgMessage = $this->chatMessage = null; + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Mail/Message/ResetRecentMessageCountBody.php b/src/Mail/Message/ResetRecentMessageCountBody.php index 0adeac7f4..130a2957d 100644 --- a/src/Mail/Message/ResetRecentMessageCountBody.php +++ b/src/Mail/Message/ResetRecentMessageCountBody.php @@ -33,7 +33,7 @@ class ResetRecentMessageCountBody extends SoapBody #[SerializedName('ResetRecentMessageCountRequest')] #[Type(ResetRecentMessageCountRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class ResetRecentMessageCountBody extends SoapBody #[SerializedName('ResetRecentMessageCountResponse')] #[Type(ResetRecentMessageCountResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class ResetRecentMessageCountBody extends SoapBody * @return self */ public function __construct( - ?ResetRecentMessageCountRequest $request = NULL, ?ResetRecentMessageCountResponse $response = NULL + ?ResetRecentMessageCountRequest $request = null, ?ResetRecentMessageCountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/ResetRecentMessageCountEnvelope.php b/src/Mail/Message/ResetRecentMessageCountEnvelope.php index 72d2265bd..1e52e3819 100644 --- a/src/Mail/Message/ResetRecentMessageCountEnvelope.php +++ b/src/Mail/Message/ResetRecentMessageCountEnvelope.php @@ -35,7 +35,7 @@ class ResetRecentMessageCountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(ResetRecentMessageCountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class ResetRecentMessageCountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?ResetRecentMessageCountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?ResetRecentMessageCountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RestoreContactsBody.php b/src/Mail/Message/RestoreContactsBody.php index eea3396ce..c9aae8dde 100644 --- a/src/Mail/Message/RestoreContactsBody.php +++ b/src/Mail/Message/RestoreContactsBody.php @@ -33,7 +33,7 @@ class RestoreContactsBody extends SoapBody #[SerializedName('RestoreContactsRequest')] #[Type(RestoreContactsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RestoreContactsBody extends SoapBody #[SerializedName('RestoreContactsResponse')] #[Type(RestoreContactsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RestoreContactsBody extends SoapBody * @return self */ public function __construct( - ?RestoreContactsRequest $request = NULL, ?RestoreContactsResponse $response = NULL + ?RestoreContactsRequest $request = null, ?RestoreContactsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RestoreContactsEnvelope.php b/src/Mail/Message/RestoreContactsEnvelope.php index 257884f33..96676db70 100644 --- a/src/Mail/Message/RestoreContactsEnvelope.php +++ b/src/Mail/Message/RestoreContactsEnvelope.php @@ -35,7 +35,7 @@ class RestoreContactsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RestoreContactsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RestoreContactsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RestoreContactsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RestoreContactsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/RestoreContactsRequest.php b/src/Mail/Message/RestoreContactsRequest.php index 9511c5771..d30c65c98 100644 --- a/src/Mail/Message/RestoreContactsRequest.php +++ b/src/Mail/Message/RestoreContactsRequest.php @@ -60,7 +60,7 @@ class RestoreContactsRequest extends SoapRequest */ public function __construct( string $fileName = '', - ?RestoreResolve $resolve = NULL + ?RestoreResolve $resolve = null ) { $this->setContactsBackupFileName($fileName); diff --git a/src/Mail/Message/RevokePermissionBody.php b/src/Mail/Message/RevokePermissionBody.php index 3081cdeda..1f4e992c9 100644 --- a/src/Mail/Message/RevokePermissionBody.php +++ b/src/Mail/Message/RevokePermissionBody.php @@ -33,7 +33,7 @@ class RevokePermissionBody extends SoapBody #[SerializedName('RevokePermissionRequest')] #[Type(RevokePermissionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class RevokePermissionBody extends SoapBody #[SerializedName('RevokePermissionResponse')] #[Type(RevokePermissionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class RevokePermissionBody extends SoapBody * @return self */ public function __construct( - ?RevokePermissionRequest $request = NULL, ?RevokePermissionResponse $response = NULL + ?RevokePermissionRequest $request = null, ?RevokePermissionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/RevokePermissionEnvelope.php b/src/Mail/Message/RevokePermissionEnvelope.php index e50dbe80d..f17f713fd 100644 --- a/src/Mail/Message/RevokePermissionEnvelope.php +++ b/src/Mail/Message/RevokePermissionEnvelope.php @@ -35,7 +35,7 @@ class RevokePermissionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(RevokePermissionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class RevokePermissionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?RevokePermissionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?RevokePermissionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SaveDocumentBody.php b/src/Mail/Message/SaveDocumentBody.php index 145d2004d..4b195807f 100644 --- a/src/Mail/Message/SaveDocumentBody.php +++ b/src/Mail/Message/SaveDocumentBody.php @@ -33,7 +33,7 @@ class SaveDocumentBody extends SoapBody #[SerializedName('SaveDocumentRequest')] #[Type(SaveDocumentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SaveDocumentBody extends SoapBody #[SerializedName('SaveDocumentResponse')] #[Type(SaveDocumentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SaveDocumentBody extends SoapBody * @return self */ public function __construct( - ?SaveDocumentRequest $request = NULL, ?SaveDocumentResponse $response = NULL + ?SaveDocumentRequest $request = null, ?SaveDocumentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SaveDocumentEnvelope.php b/src/Mail/Message/SaveDocumentEnvelope.php index e3bef75f6..dc2b16e2f 100644 --- a/src/Mail/Message/SaveDocumentEnvelope.php +++ b/src/Mail/Message/SaveDocumentEnvelope.php @@ -35,7 +35,7 @@ class SaveDocumentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SaveDocumentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SaveDocumentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SaveDocumentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SaveDocumentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SaveDocumentResponse.php b/src/Mail/Message/SaveDocumentResponse.php index bd86cf372..71996ebab 100644 --- a/src/Mail/Message/SaveDocumentResponse.php +++ b/src/Mail/Message/SaveDocumentResponse.php @@ -42,7 +42,7 @@ class SaveDocumentResponse extends SoapResponse * @param IdVersionName $doc * @return self */ - public function __construct(?IdVersionName $doc = NULL) + public function __construct(?IdVersionName $doc = null) { $this->doc = $doc; } diff --git a/src/Mail/Message/SaveDraftBody.php b/src/Mail/Message/SaveDraftBody.php index e789a899c..b66b2a311 100644 --- a/src/Mail/Message/SaveDraftBody.php +++ b/src/Mail/Message/SaveDraftBody.php @@ -33,7 +33,7 @@ class SaveDraftBody extends SoapBody #[SerializedName('SaveDraftRequest')] #[Type(SaveDraftRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SaveDraftBody extends SoapBody #[SerializedName('SaveDraftResponse')] #[Type(SaveDraftResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SaveDraftBody extends SoapBody * @return self */ public function __construct( - ?SaveDraftRequest $request = NULL, ?SaveDraftResponse $response = NULL + ?SaveDraftRequest $request = null, ?SaveDraftResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SaveDraftEnvelope.php b/src/Mail/Message/SaveDraftEnvelope.php index 814550fde..005999b34 100644 --- a/src/Mail/Message/SaveDraftEnvelope.php +++ b/src/Mail/Message/SaveDraftEnvelope.php @@ -35,7 +35,7 @@ class SaveDraftEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SaveDraftBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SaveDraftEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SaveDraftBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SaveDraftBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SaveDraftRequest.php b/src/Mail/Message/SaveDraftRequest.php index c59ac4bef..bc320d461 100644 --- a/src/Mail/Message/SaveDraftRequest.php +++ b/src/Mail/Message/SaveDraftRequest.php @@ -80,15 +80,15 @@ class SaveDraftRequest extends SoapRequest */ public function __construct( SaveDraftMsg $msg, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null ) { $this->setMsg($msg); - if (NULL !== $wantImapUid) { + if (null !== $wantImapUid) { $this->setWantImapUid($wantImapUid); } - if (NULL !== $wantModifiedSequence) { + if (null !== $wantModifiedSequence) { $this->setWantModifiedSequence($wantModifiedSequence); } } diff --git a/src/Mail/Message/SaveDraftResponse.php b/src/Mail/Message/SaveDraftResponse.php index 458a88c9e..0674df295 100644 --- a/src/Mail/Message/SaveDraftResponse.php +++ b/src/Mail/Message/SaveDraftResponse.php @@ -53,10 +53,10 @@ class SaveDraftResponse extends SoapResponse * @param MessageInfo $message * @return self */ - public function __construct(?MessageInfo $message = NULL) + public function __construct(?MessageInfo $message = null) { - $this->msgMessage = $this->chatMessage = NULL; - if (NULL !== $message) { + $this->msgMessage = $this->chatMessage = null; + if (null !== $message) { $this->setMessage($message); } } diff --git a/src/Mail/Message/SaveIMAPSubscriptionsBody.php b/src/Mail/Message/SaveIMAPSubscriptionsBody.php index 51da6c2dd..430f7a59f 100644 --- a/src/Mail/Message/SaveIMAPSubscriptionsBody.php +++ b/src/Mail/Message/SaveIMAPSubscriptionsBody.php @@ -33,7 +33,7 @@ class SaveIMAPSubscriptionsBody extends SoapBody #[SerializedName('SaveIMAPSubscriptionsRequest')] #[Type(SaveIMAPSubscriptionsRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SaveIMAPSubscriptionsBody extends SoapBody #[SerializedName('SaveIMAPSubscriptionsResponse')] #[Type(SaveIMAPSubscriptionsResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SaveIMAPSubscriptionsBody extends SoapBody * @return self */ public function __construct( - ?SaveIMAPSubscriptionsRequest $request = NULL, ?SaveIMAPSubscriptionsResponse $response = NULL + ?SaveIMAPSubscriptionsRequest $request = null, ?SaveIMAPSubscriptionsResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SaveIMAPSubscriptionsEnvelope.php b/src/Mail/Message/SaveIMAPSubscriptionsEnvelope.php index 543aade9e..f58d7e7ec 100644 --- a/src/Mail/Message/SaveIMAPSubscriptionsEnvelope.php +++ b/src/Mail/Message/SaveIMAPSubscriptionsEnvelope.php @@ -35,7 +35,7 @@ class SaveIMAPSubscriptionsEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SaveIMAPSubscriptionsBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SaveIMAPSubscriptionsEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SaveIMAPSubscriptionsBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SaveIMAPSubscriptionsBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SearchActionBody.php b/src/Mail/Message/SearchActionBody.php index ea4c7336c..c7f3eccc3 100644 --- a/src/Mail/Message/SearchActionBody.php +++ b/src/Mail/Message/SearchActionBody.php @@ -33,7 +33,7 @@ class SearchActionBody extends SoapBody #[SerializedName('SearchActionRequest')] #[Type(SearchActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchActionBody extends SoapBody #[SerializedName('SearchActionResponse')] #[Type(SearchActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchActionBody extends SoapBody * @return self */ public function __construct( - ?SearchActionRequest $request = NULL, ?SearchActionResponse $response = NULL + ?SearchActionRequest $request = null, ?SearchActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SearchActionEnvelope.php b/src/Mail/Message/SearchActionEnvelope.php index 8dd56e5da..9d5df920c 100644 --- a/src/Mail/Message/SearchActionEnvelope.php +++ b/src/Mail/Message/SearchActionEnvelope.php @@ -35,7 +35,7 @@ class SearchActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SearchBody.php b/src/Mail/Message/SearchBody.php index 768431589..8b9547c59 100644 --- a/src/Mail/Message/SearchBody.php +++ b/src/Mail/Message/SearchBody.php @@ -33,7 +33,7 @@ class SearchBody extends SoapBody #[SerializedName('SearchRequest')] #[Type(SearchRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchBody extends SoapBody #[SerializedName('SearchResponse')] #[Type(SearchResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchBody extends SoapBody * @return self */ public function __construct( - ?SearchRequest $request = NULL, ?SearchResponse $response = NULL + ?SearchRequest $request = null, ?SearchResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SearchConvBody.php b/src/Mail/Message/SearchConvBody.php index 71b066b11..e6b23665e 100644 --- a/src/Mail/Message/SearchConvBody.php +++ b/src/Mail/Message/SearchConvBody.php @@ -33,7 +33,7 @@ class SearchConvBody extends SoapBody #[SerializedName('SearchConvRequest')] #[Type(SearchConvRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SearchConvBody extends SoapBody #[SerializedName('SearchConvResponse')] #[Type(SearchConvResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SearchConvBody extends SoapBody * @return self */ public function __construct( - ?SearchConvRequest $request = NULL, ?SearchConvResponse $response = NULL + ?SearchConvRequest $request = null, ?SearchConvResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SearchConvEnvelope.php b/src/Mail/Message/SearchConvEnvelope.php index 78d60acd0..d06ac723b 100644 --- a/src/Mail/Message/SearchConvEnvelope.php +++ b/src/Mail/Message/SearchConvEnvelope.php @@ -35,7 +35,7 @@ class SearchConvEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchConvBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchConvEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchConvBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchConvBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SearchConvRequest.php b/src/Mail/Message/SearchConvRequest.php index ed4f98827..b7ef865f7 100644 --- a/src/Mail/Message/SearchConvRequest.php +++ b/src/Mail/Message/SearchConvRequest.php @@ -92,37 +92,37 @@ class SearchConvRequest extends SoapRequest implements SearchParameters */ public function __construct( string $conversationId = '', - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $nestMessages = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $nestMessages = null ) { $this->setHeaders($headers) @@ -132,79 +132,79 @@ public function __construct( $this->calTz = $calTz; $this->cursor = $cursor; $this->wantContent = $wantContent; - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } - if (NULL !== $inDumpster) { + if (null !== $inDumpster) { $this->setInDumpster($inDumpster); } - if (NULL !== $searchTypes) { + if (null !== $searchTypes) { $this->setSearchTypes($searchTypes); } - if (NULL !== $groupBy) { + if (null !== $groupBy) { $this->setGroupBy($groupBy); } - if (NULL !== $quick) { + if (null !== $quick) { $this->setQuick($quick); } - if (NULL !== $includeTagDeleted) { + if (null !== $includeTagDeleted) { $this->setIncludeTagDeleted($includeTagDeleted); } - if (NULL !== $includeTagMuted) { + if (null !== $includeTagMuted) { $this->setIncludeTagMuted($includeTagMuted); } - if (NULL !== $taskStatus) { + if (null !== $taskStatus) { $this->setAllowableTaskStatus($taskStatus); } - if (NULL !== $calItemExpandStart) { + if (null !== $calItemExpandStart) { $this->setCalItemExpandStart($calItemExpandStart); } - if (NULL !== $calItemExpandEnd) { + if (null !== $calItemExpandEnd) { $this->setCalItemExpandEnd($calItemExpandEnd); } - if (NULL !== $fetch) { + if (null !== $fetch) { $this->setFetch($fetch); } - if (NULL !== $markRead) { + if (null !== $markRead) { $this->setMarkRead($markRead); } - if (NULL !== $maxInlinedLength) { + if (null !== $maxInlinedLength) { $this->setMaxInlinedLength($maxInlinedLength); } - if (NULL !== $wantHtml) { + if (null !== $wantHtml) { $this->setWantHtml($wantHtml); } - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } - if (NULL !== $neuterImages) { + if (null !== $neuterImages) { $this->setNeuterImages($neuterImages); } - if (NULL !== $prefetch) { + if (null !== $prefetch) { $this->setPrefetch($prefetch); } - if (NULL !== $resultMode) { + if (null !== $resultMode) { $this->setResultMode($resultMode); } - if (NULL !== $fullConversation) { + if (null !== $fullConversation) { $this->setFullConversation($fullConversation); } - if (NULL !== $field) { + if (null !== $field) { $this->setField($field); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $locale) { + if (null !== $locale) { $this->setLocale($locale); } - if (NULL !== $includeMemberOf) { + if (null !== $includeMemberOf) { $this->setIncludeMemberOf($includeMemberOf); } - if (NULL !== $nestMessages) { + if (null !== $nestMessages) { $this->setNestMessages($nestMessages); } } diff --git a/src/Mail/Message/SearchConvResponse.php b/src/Mail/Message/SearchConvResponse.php index caebc4918..5fb5f5a5f 100644 --- a/src/Mail/Message/SearchConvResponse.php +++ b/src/Mail/Message/SearchConvResponse.php @@ -119,22 +119,22 @@ class SearchConvResponse extends SoapResponse * @return self */ public function __construct( - ?SearchSortBy $sortBy = NULL, - ?int $queryOffset = NULL, - ?bool $queryMore = NULL, - ?NestedSearchConversation $conversation = NULL, + ?SearchSortBy $sortBy = null, + ?int $queryOffset = null, + ?bool $queryMore = null, + ?NestedSearchConversation $conversation = null, array $messages = [], - ?SearchQueryInfo $queryInfo = NULL + ?SearchQueryInfo $queryInfo = null ) { $this->setMessages($messages); $this->sortBy = $sortBy; $this->conversation = $conversation; $this->queryInfo = $queryInfo; - if (NULL !== $queryOffset) { + if (null !== $queryOffset) { $this->setQueryOffset($queryOffset); } - if (NULL !== $queryMore) { + if (null !== $queryMore) { $this->setQueryMore($queryMore); } } diff --git a/src/Mail/Message/SearchEnvelope.php b/src/Mail/Message/SearchEnvelope.php index 7c046f293..34553095a 100644 --- a/src/Mail/Message/SearchEnvelope.php +++ b/src/Mail/Message/SearchEnvelope.php @@ -35,7 +35,7 @@ class SearchEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SearchBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SearchEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SearchBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SearchBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SearchRequest.php b/src/Mail/Message/SearchRequest.php index 9d0a699a8..2f38356a6 100644 --- a/src/Mail/Message/SearchRequest.php +++ b/src/Mail/Message/SearchRequest.php @@ -86,37 +86,37 @@ class SearchRequest extends SoapRequest implements SearchParameters * @return self */ public function __construct( - ?string $query = NULL, - ?bool $inDumpster = NULL, - ?string $searchTypes = NULL, - ?string $groupBy = NULL, - ?int $calItemExpandStart = NULL, - ?int $calItemExpandEnd = NULL, - ?bool $quick = NULL, - ?SearchSortBy $sortBy = NULL, - ?bool $includeTagDeleted = NULL, - ?bool $includeTagMuted = NULL, - ?string $taskStatus = NULL, - ?string $fetch = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $wantHtml = NULL, - ?bool $needCanExpand = NULL, - ?bool $neuterImages = NULL, - ?WantRecipsSetting $wantRecipients = NULL, - ?bool $prefetch = NULL, - ?string $resultMode = NULL, - ?bool $fullConversation = NULL, - ?string $field = NULL, - ?int $limit = NULL, - ?int $offset = NULL, + ?string $query = null, + ?bool $inDumpster = null, + ?string $searchTypes = null, + ?string $groupBy = null, + ?int $calItemExpandStart = null, + ?int $calItemExpandEnd = null, + ?bool $quick = null, + ?SearchSortBy $sortBy = null, + ?bool $includeTagDeleted = null, + ?bool $includeTagMuted = null, + ?string $taskStatus = null, + ?string $fetch = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $wantHtml = null, + ?bool $needCanExpand = null, + ?bool $neuterImages = null, + ?WantRecipsSetting $wantRecipients = null, + ?bool $prefetch = null, + ?string $resultMode = null, + ?bool $fullConversation = null, + ?string $field = null, + ?int $limit = null, + ?int $offset = null, array $headers = [], - ?CalTZInfo $calTz = NULL, - ?string $locale = NULL, - ?CursorInfo $cursor = NULL, - ?MsgContent $wantContent = NULL, - ?bool $includeMemberOf = NULL, - ?bool $warmup = NULL + ?CalTZInfo $calTz = null, + ?string $locale = null, + ?CursorInfo $cursor = null, + ?MsgContent $wantContent = null, + ?bool $includeMemberOf = null, + ?bool $warmup = null ) { $this->setHeaders($headers); @@ -125,79 +125,79 @@ public function __construct( $this->calTz = $calTz; $this->cursor = $cursor; $this->wantContent = $wantContent; - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } - if (NULL !== $inDumpster) { + if (null !== $inDumpster) { $this->setInDumpster($inDumpster); } - if (NULL !== $searchTypes) { + if (null !== $searchTypes) { $this->setSearchTypes($searchTypes); } - if (NULL !== $groupBy) { + if (null !== $groupBy) { $this->setGroupBy($groupBy); } - if (NULL !== $quick) { + if (null !== $quick) { $this->setQuick($quick); } - if (NULL !== $includeTagDeleted) { + if (null !== $includeTagDeleted) { $this->setIncludeTagDeleted($includeTagDeleted); } - if (NULL !== $includeTagMuted) { + if (null !== $includeTagMuted) { $this->setIncludeTagMuted($includeTagMuted); } - if (NULL !== $taskStatus) { + if (null !== $taskStatus) { $this->setAllowableTaskStatus($taskStatus); } - if (NULL !== $calItemExpandStart) { + if (null !== $calItemExpandStart) { $this->setCalItemExpandStart($calItemExpandStart); } - if (NULL !== $calItemExpandEnd) { + if (null !== $calItemExpandEnd) { $this->setCalItemExpandEnd($calItemExpandEnd); } - if (NULL !== $fetch) { + if (null !== $fetch) { $this->setFetch($fetch); } - if (NULL !== $markRead) { + if (null !== $markRead) { $this->setMarkRead($markRead); } - if (NULL !== $maxInlinedLength) { + if (null !== $maxInlinedLength) { $this->setMaxInlinedLength($maxInlinedLength); } - if (NULL !== $wantHtml) { + if (null !== $wantHtml) { $this->setWantHtml($wantHtml); } - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } - if (NULL !== $neuterImages) { + if (null !== $neuterImages) { $this->setNeuterImages($neuterImages); } - if (NULL !== $prefetch) { + if (null !== $prefetch) { $this->setPrefetch($prefetch); } - if (NULL !== $resultMode) { + if (null !== $resultMode) { $this->setResultMode($resultMode); } - if (NULL !== $fullConversation) { + if (null !== $fullConversation) { $this->setFullConversation($fullConversation); } - if (NULL !== $field) { + if (null !== $field) { $this->setField($field); } - if (NULL !== $limit) { + if (null !== $limit) { $this->setLimit($limit); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } - if (NULL !== $locale) { + if (null !== $locale) { $this->setLocale($locale); } - if (NULL !== $includeMemberOf) { + if (null !== $includeMemberOf) { $this->setIncludeMemberOf($includeMemberOf); } - if (NULL !== $warmup) { + if (null !== $warmup) { $this->setWarmup($warmup); } } diff --git a/src/Mail/Message/SearchResponse.php b/src/Mail/Message/SearchResponse.php index 52ed22556..f2095c794 100644 --- a/src/Mail/Message/SearchResponse.php +++ b/src/Mail/Message/SearchResponse.php @@ -237,10 +237,10 @@ class SearchResponse extends SoapResponse * @return self */ public function __construct( - ?SearchSortBy $sortBy = NULL, - ?int $queryOffset = NULL, - ?bool $queryMore = NULL, - ?int $totalSize = NULL, + ?SearchSortBy $sortBy = null, + ?int $queryOffset = null, + ?bool $queryMore = null, + ?int $totalSize = null, array $simpleHits = [], array $conversationHits = [], array $messageHits = [], @@ -252,7 +252,7 @@ public function __construct( array $wikiHits = [], array $appointmentHits = [], array $taskHits = [], - ?SearchQueryInfo $queryInfo = NULL + ?SearchQueryInfo $queryInfo = null ) { $this->setSimpleHits($simpleHits) @@ -268,13 +268,13 @@ public function __construct( ->setTaskHits($taskHits); $this->sortBy = $sortBy; $this->queryInfo = $queryInfo; - if (NULL !== $queryOffset) { + if (null !== $queryOffset) { $this->setQueryOffset($queryOffset); } - if (NULL !== $queryMore) { + if (null !== $queryMore) { $this->setQueryMore($queryMore); } - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } } diff --git a/src/Mail/Message/SendDeliveryReportBody.php b/src/Mail/Message/SendDeliveryReportBody.php index 11cf9afef..ebd51bd0a 100644 --- a/src/Mail/Message/SendDeliveryReportBody.php +++ b/src/Mail/Message/SendDeliveryReportBody.php @@ -33,7 +33,7 @@ class SendDeliveryReportBody extends SoapBody #[SerializedName('SendDeliveryReportRequest')] #[Type(SendDeliveryReportRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SendDeliveryReportBody extends SoapBody #[SerializedName('SendDeliveryReportResponse')] #[Type(SendDeliveryReportResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SendDeliveryReportBody extends SoapBody * @return self */ public function __construct( - ?SendDeliveryReportRequest $request = NULL, ?SendDeliveryReportResponse $response = NULL + ?SendDeliveryReportRequest $request = null, ?SendDeliveryReportResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SendDeliveryReportEnvelope.php b/src/Mail/Message/SendDeliveryReportEnvelope.php index c2af6d0d6..a09472475 100644 --- a/src/Mail/Message/SendDeliveryReportEnvelope.php +++ b/src/Mail/Message/SendDeliveryReportEnvelope.php @@ -35,7 +35,7 @@ class SendDeliveryReportEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SendDeliveryReportBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SendDeliveryReportEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SendDeliveryReportBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SendDeliveryReportBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SendInviteReplyBody.php b/src/Mail/Message/SendInviteReplyBody.php index 60caee42c..d39212f08 100644 --- a/src/Mail/Message/SendInviteReplyBody.php +++ b/src/Mail/Message/SendInviteReplyBody.php @@ -33,7 +33,7 @@ class SendInviteReplyBody extends SoapBody #[SerializedName('SendInviteReplyRequest')] #[Type(SendInviteReplyRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SendInviteReplyBody extends SoapBody #[SerializedName('SendInviteReplyResponse')] #[Type(SendInviteReplyResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SendInviteReplyBody extends SoapBody * @return self */ public function __construct( - ?SendInviteReplyRequest $request = NULL, ?SendInviteReplyResponse $response = NULL + ?SendInviteReplyRequest $request = null, ?SendInviteReplyResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SendInviteReplyEnvelope.php b/src/Mail/Message/SendInviteReplyEnvelope.php index 34c781f07..597e413b5 100644 --- a/src/Mail/Message/SendInviteReplyEnvelope.php +++ b/src/Mail/Message/SendInviteReplyEnvelope.php @@ -35,7 +35,7 @@ class SendInviteReplyEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SendInviteReplyBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SendInviteReplyEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SendInviteReplyBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SendInviteReplyBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SendInviteReplyRequest.php b/src/Mail/Message/SendInviteReplyRequest.php index 7b5dcef79..fc18ed824 100644 --- a/src/Mail/Message/SendInviteReplyRequest.php +++ b/src/Mail/Message/SendInviteReplyRequest.php @@ -64,7 +64,7 @@ class SendInviteReplyRequest extends SoapRequest * Update organizer. true by default. if false then only make the update locally. * Note that earlier documentation implied incorrectly that if this was false it would be ignored and treated * as being true if an element is present. - * Also take a note that, if RSVP setting in original invite is not present or FALSE then updateOrganizer will be treated as FALSE. + * Also take a note that, if RSVP setting in original invite is not present or false then updateOrganizer will be treated as false. * * @var bool */ @@ -134,12 +134,12 @@ class SendInviteReplyRequest extends SoapRequest public function __construct( string $id = '', int $componentNum = 0, - ?VerbType $verb = NULL, - ?bool $updateOrganizer = NULL, - ?string $identityId = NULL, - ?DtTimeInfo $exceptionId = NULL, - ?CalTZInfo $timezone = NULL, - ?Msg $msg = NULL + ?VerbType $verb = null, + ?bool $updateOrganizer = null, + ?string $identityId = null, + ?DtTimeInfo $exceptionId = null, + ?CalTZInfo $timezone = null, + ?Msg $msg = null ) { $this->setId($id) @@ -148,10 +148,10 @@ public function __construct( $this->exceptionId = $exceptionId; $this->timezone = $timezone; $this->msg = $msg; - if (NULL !== $updateOrganizer) { + if (null !== $updateOrganizer) { $this->setUpdateOrganizer($updateOrganizer); } - if (NULL !== $identityId) { + if (null !== $identityId) { $this->setIdentityId($identityId); } } diff --git a/src/Mail/Message/SendMsgBody.php b/src/Mail/Message/SendMsgBody.php index b4ca16f40..1ed0bf548 100644 --- a/src/Mail/Message/SendMsgBody.php +++ b/src/Mail/Message/SendMsgBody.php @@ -33,7 +33,7 @@ class SendMsgBody extends SoapBody #[SerializedName('SendMsgRequest')] #[Type(SendMsgRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SendMsgBody extends SoapBody #[SerializedName('SendMsgResponse')] #[Type(SendMsgResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SendMsgBody extends SoapBody * @return self */ public function __construct( - ?SendMsgRequest $request = NULL, ?SendMsgResponse $response = NULL + ?SendMsgRequest $request = null, ?SendMsgResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SendMsgEnvelope.php b/src/Mail/Message/SendMsgEnvelope.php index c4f377aad..300412dea 100644 --- a/src/Mail/Message/SendMsgEnvelope.php +++ b/src/Mail/Message/SendMsgEnvelope.php @@ -35,7 +35,7 @@ class SendMsgEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SendMsgBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SendMsgEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SendMsgBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SendMsgBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SendMsgRequest.php b/src/Mail/Message/SendMsgRequest.php index e7e8d2a98..3d9622718 100644 --- a/src/Mail/Message/SendMsgRequest.php +++ b/src/Mail/Message/SendMsgRequest.php @@ -140,31 +140,31 @@ class SendMsgRequest extends SoapRequest */ public function __construct( MsgToSend $msg, - ?bool $needCalendarSentbyFixup = NULL, - ?bool $isCalendarForward = NULL, - ?bool $noSaveToSent = NULL, - ?bool $fetchSavedMsg = NULL, - ?string $sendUid = NULL, - ?bool $deliveryReport = NULL + ?bool $needCalendarSentbyFixup = null, + ?bool $isCalendarForward = null, + ?bool $noSaveToSent = null, + ?bool $fetchSavedMsg = null, + ?string $sendUid = null, + ?bool $deliveryReport = null ) { $this->setMsg($msg); - if (NULL !== $needCalendarSentbyFixup) { + if (null !== $needCalendarSentbyFixup) { $this->setNeedCalendarSentbyFixup($needCalendarSentbyFixup); } - if (NULL !== $isCalendarForward) { + if (null !== $isCalendarForward) { $this->setIsCalendarForward($isCalendarForward); } - if (NULL !== $noSaveToSent) { + if (null !== $noSaveToSent) { $this->setNoSaveToSent($noSaveToSent); } - if (NULL !== $fetchSavedMsg) { + if (null !== $fetchSavedMsg) { $this->setFetchSavedMsg($fetchSavedMsg); } - if (NULL !== $sendUid) { + if (null !== $sendUid) { $this->setSendUid($sendUid); } - if (NULL !== $deliveryReport) { + if (null !== $deliveryReport) { $this->setDeliveryReport($deliveryReport); } } diff --git a/src/Mail/Message/SendMsgResponse.php b/src/Mail/Message/SendMsgResponse.php index 894f5786e..e58780954 100644 --- a/src/Mail/Message/SendMsgResponse.php +++ b/src/Mail/Message/SendMsgResponse.php @@ -45,7 +45,7 @@ class SendMsgResponse extends SoapResponse * @param MsgWithGroupInfo $msg * @return self */ - public function __construct(?MsgWithGroupInfo $msg = NULL) + public function __construct(?MsgWithGroupInfo $msg = null) { $this->msg = $msg; } diff --git a/src/Mail/Message/SendShareNotificationBody.php b/src/Mail/Message/SendShareNotificationBody.php index e92e374ee..9031452cf 100644 --- a/src/Mail/Message/SendShareNotificationBody.php +++ b/src/Mail/Message/SendShareNotificationBody.php @@ -33,7 +33,7 @@ class SendShareNotificationBody extends SoapBody #[SerializedName('SendShareNotificationRequest')] #[Type(SendShareNotificationRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SendShareNotificationBody extends SoapBody #[SerializedName('SendShareNotificationResponse')] #[Type(SendShareNotificationResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SendShareNotificationBody extends SoapBody * @return self */ public function __construct( - ?SendShareNotificationRequest $request = NULL, ?SendShareNotificationResponse $response = NULL + ?SendShareNotificationRequest $request = null, ?SendShareNotificationResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SendShareNotificationEnvelope.php b/src/Mail/Message/SendShareNotificationEnvelope.php index b74a76cfa..277b3e539 100644 --- a/src/Mail/Message/SendShareNotificationEnvelope.php +++ b/src/Mail/Message/SendShareNotificationEnvelope.php @@ -35,7 +35,7 @@ class SendShareNotificationEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SendShareNotificationBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SendShareNotificationEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SendShareNotificationBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SendShareNotificationBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SendShareNotificationRequest.php b/src/Mail/Message/SendShareNotificationRequest.php index 21247bb6f..bd948fe25 100644 --- a/src/Mail/Message/SendShareNotificationRequest.php +++ b/src/Mail/Message/SendShareNotificationRequest.php @@ -83,13 +83,13 @@ class SendShareNotificationRequest extends SoapRequest * @return self */ public function __construct( - Id $item, array $emailAddresses = [], ?ShareAction $action = NULL, ?string $notes = NULL + Id $item, array $emailAddresses = [], ?ShareAction $action = null, ?string $notes = null ) { $this->setItem($item) ->setEmailAddresses($emailAddresses); $this->action = $action; - if (NULL !== $notes) { + if (null !== $notes) { $this->setNotes($notes); } } diff --git a/src/Mail/Message/SendVerificationCodeBody.php b/src/Mail/Message/SendVerificationCodeBody.php index 0ee675286..0be843557 100644 --- a/src/Mail/Message/SendVerificationCodeBody.php +++ b/src/Mail/Message/SendVerificationCodeBody.php @@ -33,7 +33,7 @@ class SendVerificationCodeBody extends SoapBody #[SerializedName('SendVerificationCodeRequest')] #[Type(SendVerificationCodeRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SendVerificationCodeBody extends SoapBody #[SerializedName('SendVerificationCodeResponse')] #[Type(SendVerificationCodeResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SendVerificationCodeBody extends SoapBody * @return self */ public function __construct( - ?SendVerificationCodeRequest $request = NULL, ?SendVerificationCodeResponse $response = NULL + ?SendVerificationCodeRequest $request = null, ?SendVerificationCodeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SendVerificationCodeEnvelope.php b/src/Mail/Message/SendVerificationCodeEnvelope.php index 4ad417160..60e2b3b99 100644 --- a/src/Mail/Message/SendVerificationCodeEnvelope.php +++ b/src/Mail/Message/SendVerificationCodeEnvelope.php @@ -35,7 +35,7 @@ class SendVerificationCodeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SendVerificationCodeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SendVerificationCodeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SendVerificationCodeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SendVerificationCodeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SendVerificationCodeRequest.php b/src/Mail/Message/SendVerificationCodeRequest.php index 6dcf0b4f2..e7b47eb75 100644 --- a/src/Mail/Message/SendVerificationCodeRequest.php +++ b/src/Mail/Message/SendVerificationCodeRequest.php @@ -42,9 +42,9 @@ class SendVerificationCodeRequest extends SoapRequest * @param string $address * @return self */ - public function __construct(?string $address = NULL) + public function __construct(?string $address = null) { - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } } diff --git a/src/Mail/Message/SetAppointmentBody.php b/src/Mail/Message/SetAppointmentBody.php index d45d1aee4..1d7d9ca4a 100644 --- a/src/Mail/Message/SetAppointmentBody.php +++ b/src/Mail/Message/SetAppointmentBody.php @@ -33,7 +33,7 @@ class SetAppointmentBody extends SoapBody #[SerializedName('SetAppointmentRequest')] #[Type(SetAppointmentRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetAppointmentBody extends SoapBody #[SerializedName('SetAppointmentResponse')] #[Type(SetAppointmentResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetAppointmentBody extends SoapBody * @return self */ public function __construct( - ?SetAppointmentRequest $request = NULL, ?SetAppointmentResponse $response = NULL + ?SetAppointmentRequest $request = null, ?SetAppointmentResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SetAppointmentEnvelope.php b/src/Mail/Message/SetAppointmentEnvelope.php index e92aa064d..924a72262 100644 --- a/src/Mail/Message/SetAppointmentEnvelope.php +++ b/src/Mail/Message/SetAppointmentEnvelope.php @@ -35,7 +35,7 @@ class SetAppointmentEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetAppointmentBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetAppointmentEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetAppointmentBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetAppointmentBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SetAppointmentRequest.php b/src/Mail/Message/SetAppointmentRequest.php index e2e3acfb0..b03e6fbdf 100644 --- a/src/Mail/Message/SetAppointmentRequest.php +++ b/src/Mail/Message/SetAppointmentRequest.php @@ -162,13 +162,13 @@ class SetAppointmentRequest extends SoapRequest * @return self */ public function __construct( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?bool $noNextAlarm = NULL, - ?int $nextAlarm = NULL, - ?SetCalendarItemInfo $defaultId = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?bool $noNextAlarm = null, + ?int $nextAlarm = null, + ?SetCalendarItemInfo $defaultId = null, array $exceptions = [], array $cancellations = [], array $replies = [] @@ -178,22 +178,22 @@ public function __construct( ->setCancellations($cancellations) ->setReplies($replies); $this->defaultId = $defaultId; - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $noNextAlarm) { + if (null !== $noNextAlarm) { $this->setNoNextAlarm($noNextAlarm); } - if (NULL !== $nextAlarm) { + if (null !== $nextAlarm) { $this->setNextAlarm($nextAlarm); } } diff --git a/src/Mail/Message/SetAppointmentResponse.php b/src/Mail/Message/SetAppointmentResponse.php index e4454f545..79747e89d 100644 --- a/src/Mail/Message/SetAppointmentResponse.php +++ b/src/Mail/Message/SetAppointmentResponse.php @@ -78,18 +78,18 @@ class SetAppointmentResponse extends SoapResponse * @return self */ public function __construct( - ?string $calItemId = NULL, - ?string $deprecatedApptId = NULL, - ?Id $defaultId = NULL, + ?string $calItemId = null, + ?string $deprecatedApptId = null, + ?Id $defaultId = null, array $exceptions = [] ) { $this->setExceptions($exceptions); $this->defaultId = $defaultId; - if (NULL !== $calItemId) { + if (null !== $calItemId) { $this->setCalItemId($calItemId); } - if (NULL !== $deprecatedApptId) { + if (null !== $deprecatedApptId) { $this->setDeprecatedApptId($deprecatedApptId); } } diff --git a/src/Mail/Message/SetCustomMetadataBody.php b/src/Mail/Message/SetCustomMetadataBody.php index 6de8ca209..e1765a9a0 100644 --- a/src/Mail/Message/SetCustomMetadataBody.php +++ b/src/Mail/Message/SetCustomMetadataBody.php @@ -33,7 +33,7 @@ class SetCustomMetadataBody extends SoapBody #[SerializedName('SetCustomMetadataRequest')] #[Type(SetCustomMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetCustomMetadataBody extends SoapBody #[SerializedName('SetCustomMetadataResponse')] #[Type(SetCustomMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetCustomMetadataBody extends SoapBody * @return self */ public function __construct( - ?SetCustomMetadataRequest $request = NULL, ?SetCustomMetadataResponse $response = NULL + ?SetCustomMetadataRequest $request = null, ?SetCustomMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SetCustomMetadataEnvelope.php b/src/Mail/Message/SetCustomMetadataEnvelope.php index 725b8fea1..f215c616d 100644 --- a/src/Mail/Message/SetCustomMetadataEnvelope.php +++ b/src/Mail/Message/SetCustomMetadataEnvelope.php @@ -35,7 +35,7 @@ class SetCustomMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetCustomMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetCustomMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetCustomMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetCustomMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SetMailboxMetadataBody.php b/src/Mail/Message/SetMailboxMetadataBody.php index 9a5c885bb..9ef374566 100644 --- a/src/Mail/Message/SetMailboxMetadataBody.php +++ b/src/Mail/Message/SetMailboxMetadataBody.php @@ -33,7 +33,7 @@ class SetMailboxMetadataBody extends SoapBody #[SerializedName('SetMailboxMetadataRequest')] #[Type(SetMailboxMetadataRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetMailboxMetadataBody extends SoapBody #[SerializedName('SetMailboxMetadataResponse')] #[Type(SetMailboxMetadataResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetMailboxMetadataBody extends SoapBody * @return self */ public function __construct( - ?SetMailboxMetadataRequest $request = NULL, ?SetMailboxMetadataResponse $response = NULL + ?SetMailboxMetadataRequest $request = null, ?SetMailboxMetadataResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SetMailboxMetadataEnvelope.php b/src/Mail/Message/SetMailboxMetadataEnvelope.php index c673863c0..dd13e5990 100644 --- a/src/Mail/Message/SetMailboxMetadataEnvelope.php +++ b/src/Mail/Message/SetMailboxMetadataEnvelope.php @@ -35,7 +35,7 @@ class SetMailboxMetadataEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetMailboxMetadataBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetMailboxMetadataEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetMailboxMetadataBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetMailboxMetadataBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SetRecoveryAccountBody.php b/src/Mail/Message/SetRecoveryAccountBody.php index 280ebe2da..8e30a6b57 100644 --- a/src/Mail/Message/SetRecoveryAccountBody.php +++ b/src/Mail/Message/SetRecoveryAccountBody.php @@ -33,7 +33,7 @@ class SetRecoveryAccountBody extends SoapBody #[SerializedName('SetRecoveryAccountRequest')] #[Type(SetRecoveryAccountRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetRecoveryAccountBody extends SoapBody #[SerializedName('SetRecoveryAccountResponse')] #[Type(SetRecoveryAccountResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetRecoveryAccountBody extends SoapBody * @return self */ public function __construct( - ?SetRecoveryAccountRequest $request = NULL, ?SetRecoveryAccountResponse $response = NULL + ?SetRecoveryAccountRequest $request = null, ?SetRecoveryAccountResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SetRecoveryAccountEnvelope.php b/src/Mail/Message/SetRecoveryAccountEnvelope.php index 58ecf0f48..df05f50bd 100644 --- a/src/Mail/Message/SetRecoveryAccountEnvelope.php +++ b/src/Mail/Message/SetRecoveryAccountEnvelope.php @@ -35,7 +35,7 @@ class SetRecoveryAccountEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetRecoveryAccountBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetRecoveryAccountEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetRecoveryAccountBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetRecoveryAccountBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SetRecoveryAccountRequest.php b/src/Mail/Message/SetRecoveryAccountRequest.php index a57135566..6dfd73e9d 100644 --- a/src/Mail/Message/SetRecoveryAccountRequest.php +++ b/src/Mail/Message/SetRecoveryAccountRequest.php @@ -78,18 +78,18 @@ class SetRecoveryAccountRequest extends SoapRequest * @return self */ public function __construct( - ?RecoveryAccountOperation $op = NULL, - ?string $recoveryAccount = NULL, - ?string $verificationCode = NULL, - ?Channel $channel = NULL + ?RecoveryAccountOperation $op = null, + ?string $recoveryAccount = null, + ?string $verificationCode = null, + ?Channel $channel = null ) { $this->setOp($op ?? RecoveryAccountOperation::SEND_CODE); $this->channel = $channel; - if (NULL !== $recoveryAccount) { + if (null !== $recoveryAccount) { $this->setRecoveryAccount($recoveryAccount); } - if (NULL !== $verificationCode) { + if (null !== $verificationCode) { $this->setVerificationCode($verificationCode); } } diff --git a/src/Mail/Message/SetTaskBody.php b/src/Mail/Message/SetTaskBody.php index e594bf746..527c2ed82 100644 --- a/src/Mail/Message/SetTaskBody.php +++ b/src/Mail/Message/SetTaskBody.php @@ -33,7 +33,7 @@ class SetTaskBody extends SoapBody #[SerializedName('SetTaskRequest')] #[Type(SetTaskRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SetTaskBody extends SoapBody #[SerializedName('SetTaskResponse')] #[Type(SetTaskResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SetTaskBody extends SoapBody * @return self */ public function __construct( - ?SetTaskRequest $request = NULL, ?SetTaskResponse $response = NULL + ?SetTaskRequest $request = null, ?SetTaskResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SetTaskEnvelope.php b/src/Mail/Message/SetTaskEnvelope.php index c1504cc8f..0c6394dc9 100644 --- a/src/Mail/Message/SetTaskEnvelope.php +++ b/src/Mail/Message/SetTaskEnvelope.php @@ -35,7 +35,7 @@ class SetTaskEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SetTaskBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SetTaskEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SetTaskBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SetTaskBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SnoozeCalendarItemAlarmBody.php b/src/Mail/Message/SnoozeCalendarItemAlarmBody.php index 125f49095..e0672481b 100644 --- a/src/Mail/Message/SnoozeCalendarItemAlarmBody.php +++ b/src/Mail/Message/SnoozeCalendarItemAlarmBody.php @@ -33,7 +33,7 @@ class SnoozeCalendarItemAlarmBody extends SoapBody #[SerializedName('SnoozeCalendarItemAlarmRequest')] #[Type(SnoozeCalendarItemAlarmRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SnoozeCalendarItemAlarmBody extends SoapBody #[SerializedName('SnoozeCalendarItemAlarmResponse')] #[Type(SnoozeCalendarItemAlarmResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SnoozeCalendarItemAlarmBody extends SoapBody * @return self */ public function __construct( - ?SnoozeCalendarItemAlarmRequest $request = NULL, ?SnoozeCalendarItemAlarmResponse $response = NULL + ?SnoozeCalendarItemAlarmRequest $request = null, ?SnoozeCalendarItemAlarmResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SnoozeCalendarItemAlarmEnvelope.php b/src/Mail/Message/SnoozeCalendarItemAlarmEnvelope.php index f2b055463..72ba7d31b 100644 --- a/src/Mail/Message/SnoozeCalendarItemAlarmEnvelope.php +++ b/src/Mail/Message/SnoozeCalendarItemAlarmEnvelope.php @@ -35,7 +35,7 @@ class SnoozeCalendarItemAlarmEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SnoozeCalendarItemAlarmBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SnoozeCalendarItemAlarmEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SnoozeCalendarItemAlarmBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SnoozeCalendarItemAlarmBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SyncBody.php b/src/Mail/Message/SyncBody.php index 07641aba6..363c7b344 100644 --- a/src/Mail/Message/SyncBody.php +++ b/src/Mail/Message/SyncBody.php @@ -33,7 +33,7 @@ class SyncBody extends SoapBody #[SerializedName('SyncRequest')] #[Type(SyncRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class SyncBody extends SoapBody #[SerializedName('SyncResponse')] #[Type(SyncResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class SyncBody extends SoapBody * @return self */ public function __construct( - ?SyncRequest $request = NULL, ?SyncResponse $response = NULL + ?SyncRequest $request = null, ?SyncResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/SyncEnvelope.php b/src/Mail/Message/SyncEnvelope.php index 0ccd28afb..5c84824b6 100644 --- a/src/Mail/Message/SyncEnvelope.php +++ b/src/Mail/Message/SyncEnvelope.php @@ -35,7 +35,7 @@ class SyncEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(SyncBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class SyncEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?SyncBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?SyncBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/SyncRequest.php b/src/Mail/Message/SyncRequest.php index f3b4409b3..72d3a5702 100644 --- a/src/Mail/Message/SyncRequest.php +++ b/src/Mail/Message/SyncRequest.php @@ -126,34 +126,34 @@ class SyncRequest extends SoapRequest * @return self */ public function __construct( - ?string $token = NULL, - ?int $calendarCutoff = NULL, - ?int $msgCutoff = NULL, - ?string $folderId = NULL, - ?bool $typedDeletes = NULL, - ?int $deleteLimit = NULL, - ?int $changeLimit = NULL + ?string $token = null, + ?int $calendarCutoff = null, + ?int $msgCutoff = null, + ?string $folderId = null, + ?bool $typedDeletes = null, + ?int $deleteLimit = null, + ?int $changeLimit = null ) { - if (NULL !== $token) { + if (null !== $token) { $this->setToken($token); } - if (NULL !== $calendarCutoff) { + if (null !== $calendarCutoff) { $this->setCalendarCutoff($calendarCutoff); } - if (NULL !== $msgCutoff) { + if (null !== $msgCutoff) { $this->setMsgCutoff($msgCutoff); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $typedDeletes) { + if (null !== $typedDeletes) { $this->setTypedDeletes($typedDeletes); } - if (NULL !== $deleteLimit) { + if (null !== $deleteLimit) { $this->setDeleteLimit($deleteLimit); } - if (NULL !== $changeLimit) { + if (null !== $changeLimit) { $this->setChangeLimit($changeLimit); } } diff --git a/src/Mail/Message/SyncResponse.php b/src/Mail/Message/SyncResponse.php index de3e4e62b..d3499227f 100644 --- a/src/Mail/Message/SyncResponse.php +++ b/src/Mail/Message/SyncResponse.php @@ -217,23 +217,23 @@ class SyncResponse extends SoapResponse */ public function __construct( int $changeDate = 0, - ?string $token = NULL, - ?int $size = NULL, - ?bool $more = NULL, - ?SyncDeletedInfo $deleted = NULL, + ?string $token = null, + ?int $size = null, + ?bool $more = null, + ?SyncDeletedInfo $deleted = null, array $items = [] ) { $this->setChangeDate($changeDate) ->setItems($items); $this->deleted = $deleted; - if (NULL !== $token) { + if (null !== $token) { $this->setToken($token); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $more) { + if (null !== $more) { $this->setMore($more); } } diff --git a/src/Mail/Message/TagActionBody.php b/src/Mail/Message/TagActionBody.php index 973bf5f2f..985821d34 100644 --- a/src/Mail/Message/TagActionBody.php +++ b/src/Mail/Message/TagActionBody.php @@ -33,7 +33,7 @@ class TagActionBody extends SoapBody #[SerializedName('TagActionRequest')] #[Type(TagActionRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class TagActionBody extends SoapBody #[SerializedName('TagActionResponse')] #[Type(TagActionResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class TagActionBody extends SoapBody * @return self */ public function __construct( - ?TagActionRequest $request = NULL, ?TagActionResponse $response = NULL + ?TagActionRequest $request = null, ?TagActionResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/TagActionEnvelope.php b/src/Mail/Message/TagActionEnvelope.php index 238206890..2c2bf05e5 100644 --- a/src/Mail/Message/TagActionEnvelope.php +++ b/src/Mail/Message/TagActionEnvelope.php @@ -35,7 +35,7 @@ class TagActionEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(TagActionBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class TagActionEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?TagActionBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?TagActionBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/TagActionResponse.php b/src/Mail/Message/TagActionResponse.php index 52ff3c428..5f03d6685 100644 --- a/src/Mail/Message/TagActionResponse.php +++ b/src/Mail/Message/TagActionResponse.php @@ -43,7 +43,7 @@ class TagActionResponse extends SoapResponse * @param TagActionInfo $action * @return self */ - public function __construct(?TagActionInfo $action = NULL) + public function __construct(?TagActionInfo $action = null) { $this->action = $action; } diff --git a/src/Mail/Message/TestDataSourceBody.php b/src/Mail/Message/TestDataSourceBody.php index 4a76390b5..7ba7aeccd 100644 --- a/src/Mail/Message/TestDataSourceBody.php +++ b/src/Mail/Message/TestDataSourceBody.php @@ -33,7 +33,7 @@ class TestDataSourceBody extends SoapBody #[SerializedName('TestDataSourceRequest')] #[Type(TestDataSourceRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class TestDataSourceBody extends SoapBody #[SerializedName('TestDataSourceResponse')] #[Type(TestDataSourceResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class TestDataSourceBody extends SoapBody * @return self */ public function __construct( - ?TestDataSourceRequest $request = NULL, ?TestDataSourceResponse $response = NULL + ?TestDataSourceRequest $request = null, ?TestDataSourceResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/TestDataSourceEnvelope.php b/src/Mail/Message/TestDataSourceEnvelope.php index 706d3df67..f5df1634e 100644 --- a/src/Mail/Message/TestDataSourceEnvelope.php +++ b/src/Mail/Message/TestDataSourceEnvelope.php @@ -35,7 +35,7 @@ class TestDataSourceEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(TestDataSourceBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class TestDataSourceEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?TestDataSourceBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?TestDataSourceBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/TestDataSourceRequest.php b/src/Mail/Message/TestDataSourceRequest.php index e6baddbc8..e4a936954 100644 --- a/src/Mail/Message/TestDataSourceRequest.php +++ b/src/Mail/Message/TestDataSourceRequest.php @@ -36,7 +36,7 @@ class TestDataSourceRequest extends SoapRequest * @param MailDataSource $dataSource * @return self */ - public function __construct(?MailDataSource $dataSource = NULL) + public function __construct(?MailDataSource $dataSource = null) { $this->imapDataSource = $this->pop3DataSource = @@ -45,7 +45,7 @@ public function __construct(?MailDataSource $dataSource = NULL) $this->rssDataSource = $this->galDataSource = $this->calDataSource = - $this->unknownDataSource = NULL; + $this->unknownDataSource = null; if ($dataSource instanceof MailDataSource) { $this->setDataSource($dataSource); } diff --git a/src/Mail/Message/VerifyCodeBody.php b/src/Mail/Message/VerifyCodeBody.php index 2823b8795..d33bce8e5 100644 --- a/src/Mail/Message/VerifyCodeBody.php +++ b/src/Mail/Message/VerifyCodeBody.php @@ -33,7 +33,7 @@ class VerifyCodeBody extends SoapBody #[SerializedName('VerifyCodeRequest')] #[Type(VerifyCodeRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class VerifyCodeBody extends SoapBody #[SerializedName('VerifyCodeResponse')] #[Type(VerifyCodeResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class VerifyCodeBody extends SoapBody * @return self */ public function __construct( - ?VerifyCodeRequest $request = NULL, ?VerifyCodeResponse $response = NULL + ?VerifyCodeRequest $request = null, ?VerifyCodeResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/VerifyCodeEnvelope.php b/src/Mail/Message/VerifyCodeEnvelope.php index 00698a707..c48e24087 100644 --- a/src/Mail/Message/VerifyCodeEnvelope.php +++ b/src/Mail/Message/VerifyCodeEnvelope.php @@ -35,7 +35,7 @@ class VerifyCodeEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(VerifyCodeBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class VerifyCodeEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?VerifyCodeBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?VerifyCodeBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/VerifyCodeRequest.php b/src/Mail/Message/VerifyCodeRequest.php index 251b9a480..9e918a625 100644 --- a/src/Mail/Message/VerifyCodeRequest.php +++ b/src/Mail/Message/VerifyCodeRequest.php @@ -56,13 +56,13 @@ class VerifyCodeRequest extends SoapRequest * @return self */ public function __construct( - ?string $address = NULL, ?string $verificationCode = NULL + ?string $address = null, ?string $verificationCode = null ) { - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } - if (NULL !== $verificationCode) { + if (null !== $verificationCode) { $this->setVerificationCode($verificationCode); } } diff --git a/src/Mail/Message/VerifyCodeResponse.php b/src/Mail/Message/VerifyCodeResponse.php index fa9a575f0..ae9cc0170 100644 --- a/src/Mail/Message/VerifyCodeResponse.php +++ b/src/Mail/Message/VerifyCodeResponse.php @@ -33,7 +33,7 @@ class VerifyCodeResponse extends SoapResponse #[SerializedName('success')] #[Type('bool')] #[XmlAttribute] - private $success = FALSE; + private $success = false; /** * Constructor @@ -42,7 +42,7 @@ class VerifyCodeResponse extends SoapResponse * @return self */ public function __construct( - bool $success = FALSE + bool $success = false ) { $this->setSuccess($success); diff --git a/src/Mail/Message/WaitSetBody.php b/src/Mail/Message/WaitSetBody.php index 09968f5f0..cdc66f93b 100644 --- a/src/Mail/Message/WaitSetBody.php +++ b/src/Mail/Message/WaitSetBody.php @@ -33,7 +33,7 @@ class WaitSetBody extends SoapBody #[SerializedName('WaitSetRequest')] #[Type(WaitSetRequest::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapRequestInterface $request = NULL; + private ?SoapRequestInterface $request = null; /** * Soap response @@ -44,7 +44,7 @@ class WaitSetBody extends SoapBody #[SerializedName('WaitSetResponse')] #[Type(WaitSetResponse::class)] #[XmlElement(namespace: 'urn:zimbraMail')] - private ?SoapResponseInterface $response = NULL; + private ?SoapResponseInterface $response = null; /** * Constructor @@ -54,7 +54,7 @@ class WaitSetBody extends SoapBody * @return self */ public function __construct( - ?WaitSetRequest $request = NULL, ?WaitSetResponse $response = NULL + ?WaitSetRequest $request = null, ?WaitSetResponse $response = null ) { parent::__construct($request, $response); diff --git a/src/Mail/Message/WaitSetEnvelope.php b/src/Mail/Message/WaitSetEnvelope.php index 3ed2947ad..0b4956ac7 100644 --- a/src/Mail/Message/WaitSetEnvelope.php +++ b/src/Mail/Message/WaitSetEnvelope.php @@ -35,7 +35,7 @@ class WaitSetEnvelope extends SoapEnvelope #[SerializedName('Body')] #[Type(WaitSetBody::class)] #[XmlElement(namespace: SoapEnvelope::SOAP_NAMESPACE)] - private ?SoapBodyInterface $body = NULL; + private ?SoapBodyInterface $body = null; /** * Constructor @@ -45,7 +45,7 @@ class WaitSetEnvelope extends SoapEnvelope * @return self */ public function __construct( - ?WaitSetBody $body = NULL, ?SoapHeaderInterface $header = NULL + ?WaitSetBody $body = null, ?SoapHeaderInterface $header = null ) { parent::__construct($body, $header); diff --git a/src/Mail/Message/WaitSetRequest.php b/src/Mail/Message/WaitSetRequest.php index 5e4204f76..0bd5926a0 100644 --- a/src/Mail/Message/WaitSetRequest.php +++ b/src/Mail/Message/WaitSetRequest.php @@ -173,10 +173,10 @@ class WaitSetRequest extends SoapRequest implements WaitSetReq public function __construct( string $waitSetId = '', string $lastKnownSeqNo = '', - ?bool $block = NULL, - ?string $defaultInterests = NULL, - ?int $timeout = NULL, - ?bool $expand = NULL, + ?bool $block = null, + ?string $defaultInterests = null, + ?int $timeout = null, + ?bool $expand = null, array $addAccounts = [], array $updateAccounts = [], array $removeAccounts = [] @@ -187,16 +187,16 @@ public function __construct( ->setAddAccounts($addAccounts) ->setUpdateAccounts($updateAccounts) ->setRemoveAccounts($removeAccounts); - if (NULL !== $block) { + if (null !== $block) { $this->setBlock($block); } - if (NULL !== $defaultInterests) { + if (null !== $defaultInterests) { $this->setDefaultInterests($defaultInterests); } - if (NULL !== $timeout) { + if (null !== $timeout) { $this->setTimeout($timeout); } - if (NULL !== $expand) { + if (null !== $expand) { $this->setExpand($expand); } } diff --git a/src/Mail/Message/WaitSetResponse.php b/src/Mail/Message/WaitSetResponse.php index d68d54995..e0af0173e 100644 --- a/src/Mail/Message/WaitSetResponse.php +++ b/src/Mail/Message/WaitSetResponse.php @@ -91,8 +91,8 @@ class WaitSetResponse extends SoapResponse implements WaitSetResp */ public function __construct( string $waitSetId = '', - ?bool $canceled = NULL, - ?string $seqNo = NULL, + ?bool $canceled = null, + ?string $seqNo = null, array $signalledAccounts = [], array $errors = [] ) @@ -100,10 +100,10 @@ public function __construct( $this->setWaitSetId($waitSetId) ->setSignalledAccounts($signalledAccounts) ->setErrors($errors); - if (NULL !== $canceled) { + if (null !== $canceled) { $this->setCanceled($canceled); } - if (NULL !== $seqNo) { + if (null !== $seqNo) { $this->setSeqNo($seqNo); } } diff --git a/src/Mail/Struct/AccountACEinfo.php b/src/Mail/Struct/AccountACEinfo.php index 4552f6e15..bc1a69b0d 100644 --- a/src/Mail/Struct/AccountACEinfo.php +++ b/src/Mail/Struct/AccountACEinfo.php @@ -99,30 +99,30 @@ class AccountACEinfo * @return self */ public function __construct( - ?GranteeType $granteeType = NULL, + ?GranteeType $granteeType = null, string $right = '', - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $accessKey = NULL, - ?string $password = NULL, - ?bool $deny = NULL + ?string $zimbraId = null, + ?string $displayName = null, + ?string $accessKey = null, + ?string $password = null, + ?bool $deny = null ) { $this->setGranteeType($granteeType ?? GranteeType::ALL) ->setRight($right); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $deny) { + if (null !== $deny) { $this->setDeny($deny); } } diff --git a/src/Mail/Struct/AccountWithModifications.php b/src/Mail/Struct/AccountWithModifications.php index a7e6a9c5f..a98996f3b 100644 --- a/src/Mail/Struct/AccountWithModifications.php +++ b/src/Mail/Struct/AccountWithModifications.php @@ -63,16 +63,16 @@ class AccountWithModifications * @return self */ public function __construct( - ?int $id = NULL, + ?int $id = null, array $mods = [], - ?int $lastChangeId = NULL + ?int $lastChangeId = null ) { $this->setPendingFolderModifications($mods); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $lastChangeId) { + if (null !== $lastChangeId) { $this->setLastChangeId($lastChangeId); } } diff --git a/src/Mail/Struct/Acl.php b/src/Mail/Struct/Acl.php index 4cada32d4..22174e92b 100644 --- a/src/Mail/Struct/Acl.php +++ b/src/Mail/Struct/Acl.php @@ -65,16 +65,16 @@ class Acl * @return self */ public function __construct( - ?int $internalGrantExpiry = NULL, - ?int $guestGrantExpiry = NULL, + ?int $internalGrantExpiry = null, + ?int $guestGrantExpiry = null, array $grants = [] ) { $this->setGrants($grants); - if (NULL !== $internalGrantExpiry) { + if (null !== $internalGrantExpiry) { $this->setInternalGrantExpiry($internalGrantExpiry); } - if (NULL !== $guestGrantExpiry) { + if (null !== $guestGrantExpiry) { $this->setGuestGrantExpiry($guestGrantExpiry); } } diff --git a/src/Mail/Struct/ActionGrantSelector.php b/src/Mail/Struct/ActionGrantSelector.php index 8f461bb97..ffc25a3e2 100644 --- a/src/Mail/Struct/ActionGrantSelector.php +++ b/src/Mail/Struct/ActionGrantSelector.php @@ -115,29 +115,29 @@ class ActionGrantSelector */ public function __construct( string $rights = '', - ?GranteeType $grantType = NULL, - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $args = NULL, - ?string $password = NULL, - ?string $accessKey = NULL + ?GranteeType $grantType = null, + ?string $zimbraId = null, + ?string $displayName = null, + ?string $args = null, + ?string $password = null, + ?string $accessKey = null ) { $this->setRights($rights) ->setGrantType($grantType ?? GranteeType::ALL); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $args) { + if (null !== $args) { $this->setArgs($args); } - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } } diff --git a/src/Mail/Struct/ActionResult.php b/src/Mail/Struct/ActionResult.php index 76d593b23..9fa6b9390 100644 --- a/src/Mail/Struct/ActionResult.php +++ b/src/Mail/Struct/ActionResult.php @@ -80,16 +80,16 @@ class ActionResult public function __construct( string $id = '', string $operation = '', - ?string $nonExistentIds = NULL, - ?string $newlyCreatedIds = NULL + ?string $nonExistentIds = null, + ?string $newlyCreatedIds = null ) { $this->setId($id) ->setOperation($operation); - if (NULL !== $nonExistentIds) { + if (null !== $nonExistentIds) { $this->setNonExistentIds($nonExistentIds); } - if (NULL !== $newlyCreatedIds) { + if (null !== $newlyCreatedIds) { $this->setNewlyCreatedIds($newlyCreatedIds); } } diff --git a/src/Mail/Struct/ActionSelector.php b/src/Mail/Struct/ActionSelector.php index 7a9cebbf2..05320781b 100644 --- a/src/Mail/Struct/ActionSelector.php +++ b/src/Mail/Struct/ActionSelector.php @@ -215,55 +215,55 @@ class ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?string $ids = null, + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { $this->setOperation($operation); - if (NULL !== $ids) { + if (null !== $ids) { $this->setIds($ids); } - if (NULL !== $constraint) { + if (null !== $constraint) { $this->setConstraint($constraint); } - if (NULL !== $tag) { + if (null !== $tag) { $this->setTag($tag); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $nonExistentIds) { + if (null !== $nonExistentIds) { $this->setNonExistentIds($nonExistentIds); } - if (NULL !== $newlyCreatedIds) { + if (null !== $newlyCreatedIds) { $this->setNewlyCreatedIds($newlyCreatedIds); } } diff --git a/src/Mail/Struct/AddMsgSpec.php b/src/Mail/Struct/AddMsgSpec.php index a28cf444c..dc36e6d4c 100644 --- a/src/Mail/Struct/AddMsgSpec.php +++ b/src/Mail/Struct/AddMsgSpec.php @@ -127,38 +127,38 @@ class AddMsgSpec * @return self */ public function __construct( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folder = NULL, - ?bool $noICal = NULL, - ?int $dateReceived = NULL, - ?string $attachmentId = NULL, - ?string $content = NULL + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folder = null, + ?bool $noICal = null, + ?int $dateReceived = null, + ?string $attachmentId = null, + ?string $content = null ) { - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $noICal) { + if (null !== $noICal) { $this->setNoICal($noICal); } - if (NULL !== $dateReceived) { + if (null !== $dateReceived) { $this->setDateReceived($dateReceived); } - if (NULL !== $attachmentId) { + if (null !== $attachmentId) { $this->setAttachmentId($attachmentId); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/AddheaderAction.php b/src/Mail/Struct/AddheaderAction.php index 245f6df5b..ddc5a3df1 100644 --- a/src/Mail/Struct/AddheaderAction.php +++ b/src/Mail/Struct/AddheaderAction.php @@ -66,17 +66,17 @@ class AddheaderAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, ?string $headerName = NULL, ?string $headerValue = NULL, ?bool $last = NULL + ?int $index = null, ?string $headerName = null, ?string $headerValue = null, ?bool $last = null ) { parent::__construct($index); - if (NULL !== $headerName) { + if (null !== $headerName) { $this->setHeaderName($headerName); } - if (NULL !== $headerValue) { + if (null !== $headerValue) { $this->setHeaderValue($headerValue); } - if (NULL !== $last) { + if (null !== $last) { $this->setLast($last); } } diff --git a/src/Mail/Struct/AddressBookTest.php b/src/Mail/Struct/AddressBookTest.php index 1bb563a49..cc7bdeff9 100644 --- a/src/Mail/Struct/AddressBookTest.php +++ b/src/Mail/Struct/AddressBookTest.php @@ -43,11 +43,11 @@ class AddressBookTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, ?bool $negative = NULL, ?string $header = NULL + ?int $index = null, ?bool $negative = null, ?string $header = null ) { parent::__construct($index, $negative); - if (NULL !== $header) { + if (null !== $header) { $this->setHeader($header); } } diff --git a/src/Mail/Struct/AddressTest.php b/src/Mail/Struct/AddressTest.php index 3f5b12456..431b5ae31 100644 --- a/src/Mail/Struct/AddressTest.php +++ b/src/Mail/Struct/AddressTest.php @@ -125,16 +125,16 @@ class AddressTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $header = NULL, - ?AddressPart $part = NULL, - ?StringComparison $comparison = NULL, - ?bool $caseSensitive = NULL, - ?string $value = NULL, - ?ValueComparison $valueComparison = NULL, - ?CountComparison $countComparison = NULL, - ?ComparisonComparator $valueComparisonComparator = NULL + ?int $index = null, + ?bool $negative = null, + ?string $header = null, + ?AddressPart $part = null, + ?StringComparison $comparison = null, + ?bool $caseSensitive = null, + ?string $value = null, + ?ValueComparison $valueComparison = null, + ?CountComparison $countComparison = null, + ?ComparisonComparator $valueComparisonComparator = null ) { parent::__construct($index, $negative); @@ -143,13 +143,13 @@ public function __construct( $this->valueComparison = $valueComparison; $this->countComparison = $countComparison; $this->valueComparisonComparator = $valueComparisonComparator; - if (NULL !== $header) { + if (null !== $header) { $this->setHeader($header); } - if (NULL !== $caseSensitive) { + if (null !== $caseSensitive) { $this->setCaseSensitive($caseSensitive); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/AlarmDataInfo.php b/src/Mail/Struct/AlarmDataInfo.php index f56261ebe..638d2ebbc 100644 --- a/src/Mail/Struct/AlarmDataInfo.php +++ b/src/Mail/Struct/AlarmDataInfo.php @@ -113,32 +113,32 @@ class AlarmDataInfo * @return self */ public function __construct( - ?int $nextAlarm = NULL, - ?int $alarmInstanceStart = NULL, - ?int $invId = NULL, - ?int $componentNum = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?AlarmInfo $alarm = NULL + ?int $nextAlarm = null, + ?int $alarmInstanceStart = null, + ?int $invId = null, + ?int $componentNum = null, + ?string $name = null, + ?string $location = null, + ?AlarmInfo $alarm = null ) { $this->alarm = $alarm; - if (NULL !== $nextAlarm) { + if (null !== $nextAlarm) { $this->setNextAlarm($nextAlarm); } - if (NULL !== $alarmInstanceStart) { + if (null !== $alarmInstanceStart) { $this->setAlarmInstanceStart($alarmInstanceStart); } - if (NULL !== $invId) { + if (null !== $invId) { $this->setInvId($invId); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $location) { + if (null !== $location) { $this->setLocation($location); } } diff --git a/src/Mail/Struct/AlarmInfo.php b/src/Mail/Struct/AlarmInfo.php index 2dc956c7b..5f00ed951 100644 --- a/src/Mail/Struct/AlarmInfo.php +++ b/src/Mail/Struct/AlarmInfo.php @@ -136,12 +136,12 @@ class AlarmInfo implements AlarmInfoInterface * @return self */ public function __construct( - ?AlarmAction $action = NULL, - ?AlarmTriggerInfo $trigger = NULL, - ?DurationInfo $repeat = NULL, - ?string $description = NULL, - ?CalendarAttach $attach = NULL, - ?string $summary = NULL, + ?AlarmAction $action = null, + ?AlarmTriggerInfo $trigger = null, + ?DurationInfo $repeat = null, + ?string $description = null, + ?CalendarAttach $attach = null, + ?string $summary = null, array $attendees = [], array $xProps = [] ) @@ -152,10 +152,10 @@ public function __construct( $this->trigger = $trigger; $this->repeat = $repeat; $this->attach = $attach; - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $summary) { + if (null !== $summary) { $this->setSummary($summary); } } diff --git a/src/Mail/Struct/AlarmTriggerInfo.php b/src/Mail/Struct/AlarmTriggerInfo.php index 872f36761..5831e3280 100644 --- a/src/Mail/Struct/AlarmTriggerInfo.php +++ b/src/Mail/Struct/AlarmTriggerInfo.php @@ -55,8 +55,8 @@ class AlarmTriggerInfo implements AlarmTriggerInfoInterface * @return self */ public function __construct( - ?DateAttr $absolute = NULL, - ?DurationInfo $relative = NULL + ?DateAttr $absolute = null, + ?DurationInfo $relative = null ) { $this->absolute = $absolute; diff --git a/src/Mail/Struct/AppointmentIdAndDate.php b/src/Mail/Struct/AppointmentIdAndDate.php index 13154d1f0..928f0a639 100644 --- a/src/Mail/Struct/AppointmentIdAndDate.php +++ b/src/Mail/Struct/AppointmentIdAndDate.php @@ -52,10 +52,10 @@ class AppointmentIdAndDate * @param int $date * @return self */ - public function __construct(string $id = '', ?int $date = NULL) + public function __construct(string $id = '', ?int $date = null) { $this->setId($id); - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } } diff --git a/src/Mail/Struct/AttachSpec.php b/src/Mail/Struct/AttachSpec.php index bc7d133b4..2fc1247ae 100644 --- a/src/Mail/Struct/AttachSpec.php +++ b/src/Mail/Struct/AttachSpec.php @@ -40,9 +40,9 @@ abstract class AttachSpec * @param bool $optional * @return self */ - public function __construct(?bool $optional = NULL) + public function __construct(?bool $optional = null) { - if (NULL !== $optional) { + if (null !== $optional) { $this->setOptional($optional); } } diff --git a/src/Mail/Struct/AttachmentsInfo.php b/src/Mail/Struct/AttachmentsInfo.php index f56e16c7e..d9629be0e 100644 --- a/src/Mail/Struct/AttachmentsInfo.php +++ b/src/Mail/Struct/AttachmentsInfo.php @@ -81,10 +81,10 @@ class AttachmentsInfo * @param array $attachments * @return self */ - public function __construct(?string $attachmentId = NULL, array $attachments = []) + public function __construct(?string $attachmentId = null, array $attachments = []) { $this->setAttachments($attachments); - if (NULL !== $attachmentId) { + if (null !== $attachmentId) { $this->setAttachmentId($attachmentId); } } diff --git a/src/Mail/Struct/AutoCompleteMatch.php b/src/Mail/Struct/AutoCompleteMatch.php index 4fdd980c4..72e940759 100644 --- a/src/Mail/Struct/AutoCompleteMatch.php +++ b/src/Mail/Struct/AutoCompleteMatch.php @@ -211,64 +211,64 @@ class AutoCompleteMatch * @return self */ public function __construct( - ?string $email = NULL, - ?MatchType $matchType = NULL, - ?int $ranking = NULL, - ?bool $group = NULL, - ?bool $canExpandGroupMembers = NULL, - ?string $id = NULL, - ?string $folder = NULL, - ?string $displayName = NULL, - ?string $firstName = NULL, - ?string $middleName = NULL, - ?string $lastName = NULL, - ?string $fullName = NULL, - ?string $nickname = NULL, - ?string $company = NULL, - ?string $fileAs = NULL + ?string $email = null, + ?MatchType $matchType = null, + ?int $ranking = null, + ?bool $group = null, + ?bool $canExpandGroupMembers = null, + ?string $id = null, + ?string $folder = null, + ?string $displayName = null, + ?string $firstName = null, + ?string $middleName = null, + ?string $lastName = null, + ?string $fullName = null, + ?string $nickname = null, + ?string $company = null, + ?string $fileAs = null ) { $this->matchType = $matchType; - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } - if (NULL !== $ranking) { + if (null !== $ranking) { $this->setRanking($ranking); } - if (NULL !== $group) { + if (null !== $group) { $this->setGroup($group); } - if (NULL !== $canExpandGroupMembers) { + if (null !== $canExpandGroupMembers) { $this->setCanExpandGroupMembers($canExpandGroupMembers); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $firstName) { + if (null !== $firstName) { $this->setFirstName($firstName); } - if (NULL !== $middleName) { + if (null !== $middleName) { $this->setMiddleName($middleName); } - if (NULL !== $lastName) { + if (null !== $lastName) { $this->setLastName($lastName); } - if (NULL !== $fullName) { + if (null !== $fullName) { $this->setFullName($fullName); } - if (NULL !== $nickname) { + if (null !== $nickname) { $this->setNickname($nickname); } - if (NULL !== $company) { + if (null !== $company) { $this->setCompany($company); } - if (NULL !== $fileAs) { + if (null !== $fileAs) { $this->setFileAs($fileAs); } } diff --git a/src/Mail/Struct/BodyTest.php b/src/Mail/Struct/BodyTest.php index 37a46c5ae..d4ef84e90 100644 --- a/src/Mail/Struct/BodyTest.php +++ b/src/Mail/Struct/BodyTest.php @@ -55,17 +55,17 @@ class BodyTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $value = NULL, - ?bool $caseSensitive = NULL + ?int $index = null, + ?bool $negative = null, + ?string $value = null, + ?bool $caseSensitive = null ) { parent::__construct($index, $negative); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $caseSensitive) { + if (null !== $caseSensitive) { $this->setCaseSensitive($caseSensitive); } } diff --git a/src/Mail/Struct/BrowseData.php b/src/Mail/Struct/BrowseData.php index b5dd083aa..54ac6a8d8 100644 --- a/src/Mail/Struct/BrowseData.php +++ b/src/Mail/Struct/BrowseData.php @@ -69,12 +69,12 @@ class BrowseData * @return self */ public function __construct( - string $browseDomainHeader = '', int $frequency = 0, ?string $data = NULL + string $browseDomainHeader = '', int $frequency = 0, ?string $data = null ) { $this->setBrowseDomainHeader($browseDomainHeader) ->setFrequency($frequency); - if (NULL !== $data) { + if (null !== $data) { $this->setData($data); } } diff --git a/src/Mail/Struct/BulkAction.php b/src/Mail/Struct/BulkAction.php index b0629d66c..47e61571d 100644 --- a/src/Mail/Struct/BulkAction.php +++ b/src/Mail/Struct/BulkAction.php @@ -57,12 +57,12 @@ class BulkAction * @return self */ public function __construct( - ?BulkOperation $op = NULL, - ?string $folder = NULL + ?BulkOperation $op = null, + ?string $folder = null ) { $this->setOp($op ?? BulkOperation::READ); - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } } diff --git a/src/Mail/Struct/CalEcho.php b/src/Mail/Struct/CalEcho.php index 605c3e9ff..5904139a5 100644 --- a/src/Mail/Struct/CalEcho.php +++ b/src/Mail/Struct/CalEcho.php @@ -40,7 +40,7 @@ class CalEcho * @param InviteAsMP $invite * @return self */ - public function __construct(?InviteAsMP $invite = NULL) + public function __construct(?InviteAsMP $invite = null) { $this->invite = $invite; } diff --git a/src/Mail/Struct/CalItemRequestBase.php b/src/Mail/Struct/CalItemRequestBase.php index 02479a174..74c502853 100644 --- a/src/Mail/Struct/CalItemRequestBase.php +++ b/src/Mail/Struct/CalItemRequestBase.php @@ -106,28 +106,28 @@ abstract class CalItemRequestBase extends SoapRequest * @return self */ public function __construct( - ?Msg $msg = NULL, - ?bool $echo = NULL, - ?int $maxSize = NULL, - ?bool $wantHtml = NULL, - ?bool $neuter = NULL, - ?bool $forceSend = NULL + ?Msg $msg = null, + ?bool $echo = null, + ?int $maxSize = null, + ?bool $wantHtml = null, + ?bool $neuter = null, + ?bool $forceSend = null ) { $this->msg = $msg; - if (NULL !== $echo) { + if (null !== $echo) { $this->setEcho($echo); } - if (NULL !== $maxSize) { + if (null !== $maxSize) { $this->setMaxSize($maxSize); } - if (NULL !== $wantHtml) { + if (null !== $wantHtml) { $this->setWantHtml($wantHtml); } - if (NULL !== $neuter) { + if (null !== $neuter) { $this->setNeuter($neuter); } - if (NULL !== $forceSend) { + if (null !== $forceSend) { $this->setForceSend($forceSend); } } diff --git a/src/Mail/Struct/CalOrganizer.php b/src/Mail/Struct/CalOrganizer.php index 48d2836cb..8e36dea33 100644 --- a/src/Mail/Struct/CalOrganizer.php +++ b/src/Mail/Struct/CalOrganizer.php @@ -114,32 +114,32 @@ class CalOrganizer implements CalOrganizerInterface * @return self */ public function __construct( - ?string $address = NULL, - ?string $url = NULL, - ?string $displayName = NULL, - ?string $sentBy = NULL, - ?string $dir = NULL, - ?string $language = NULL, + ?string $address = null, + ?string $url = null, + ?string $displayName = null, + ?string $sentBy = null, + ?string $dir = null, + ?string $language = null, array $xParams = [] ) { $this->setXParams($xParams); - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $sentBy) { + if (null !== $sentBy) { $this->setSentBy($sentBy); } - if (NULL !== $dir) { + if (null !== $dir) { $this->setDir($dir); } - if (NULL !== $language) { + if (null !== $language) { $this->setLanguage($language); } } diff --git a/src/Mail/Struct/CalReply.php b/src/Mail/Struct/CalReply.php index 4a282f0c5..156583934 100644 --- a/src/Mail/Struct/CalReply.php +++ b/src/Mail/Struct/CalReply.php @@ -98,8 +98,8 @@ public function __construct( int $sequence = 0, int $date = 0, string $attendee = '', - ?string $sentBy = NULL, - ?ParticipationStatus $partStat = NULL + ?string $sentBy = null, + ?ParticipationStatus $partStat = null ) { parent::__construct($recurrenceRangeType, $recurrenceId); @@ -107,7 +107,7 @@ public function __construct( ->setDate($date) ->setAttendee($attendee); $this->partStat = $partStat; - if (NULL != $sentBy) { + if (null != $sentBy) { $this->setSentBy($sentBy); } } diff --git a/src/Mail/Struct/CalTZInfo.php b/src/Mail/Struct/CalTZInfo.php index e255929b5..37af88dc1 100644 --- a/src/Mail/Struct/CalTZInfo.php +++ b/src/Mail/Struct/CalTZInfo.php @@ -121,10 +121,10 @@ public function __construct( string $id = '', int $tzStdOffset = 0, int $tzDayOffset = 0, - ?TzOnsetInfo $standardTzOnset = NULL, - ?TzOnsetInfo $daylightTzOnset = NULL, - ?string $standardTZName = NULL, - ?string $daylightTZName = NULL + ?TzOnsetInfo $standardTzOnset = null, + ?TzOnsetInfo $daylightTzOnset = null, + ?string $standardTZName = null, + ?string $daylightTZName = null ) { $this->setId($id) @@ -132,10 +132,10 @@ public function __construct( ->setTzDayOffset($tzDayOffset); $this->standardTzOnset = $standardTzOnset; $this->daylightTzOnset = $daylightTzOnset; - if (NULL !== $standardTZName) { + if (null !== $standardTZName) { $this->setStandardTZName($standardTZName); } - if (NULL !== $daylightTZName) { + if (null !== $daylightTZName) { $this->setDaylightTZName($daylightTZName); } } diff --git a/src/Mail/Struct/CalendarAttach.php b/src/Mail/Struct/CalendarAttach.php index f3b6a6feb..746dad5a7 100644 --- a/src/Mail/Struct/CalendarAttach.php +++ b/src/Mail/Struct/CalendarAttach.php @@ -66,16 +66,16 @@ class CalendarAttach implements CalendarAttachInterface * @return self */ public function __construct( - ?string $uri = NULL, ?string $contentType = NULL, ?string $binaryB64Data = NULL + ?string $uri = null, ?string $contentType = null, ?string $binaryB64Data = null ) { - if (NULL !== $uri) { + if (null !== $uri) { $this->setUri($uri); } - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $binaryB64Data) { + if (null !== $binaryB64Data) { $this->setBinaryB64Data($binaryB64Data); } } diff --git a/src/Mail/Struct/CalendarAttendee.php b/src/Mail/Struct/CalendarAttendee.php index 111b753df..fcc775322 100644 --- a/src/Mail/Struct/CalendarAttendee.php +++ b/src/Mail/Struct/CalendarAttendee.php @@ -194,26 +194,26 @@ class CalendarAttendee implements CalendarAttendeeInterface * @return self */ public function __construct( - ?string $attendeeEmail = NULL, - ?string $attendeeName = NULL, - ?string $role = NULL, - ?PartStat $partStat = NULL, - ?bool $rsvp = NULL, + ?string $attendeeEmail = null, + ?string $attendeeName = null, + ?string $role = null, + ?PartStat $partStat = null, + ?bool $rsvp = null, array $xParams = [] ) { $this->setXParams($xParams); $this->partStat = $partStat; - if (NULL !== $attendeeEmail) { + if (null !== $attendeeEmail) { $this->setAddress($attendeeEmail); } - if (NULL !== $attendeeName) { + if (null !== $attendeeName) { $this->setDisplayName($attendeeName); } - if (NULL !== $role) { + if (null !== $role) { $this->setRole($role); } - if (NULL !== $rsvp) { + if (null !== $rsvp) { $this->setRsvp($rsvp); } } diff --git a/src/Mail/Struct/CalendarItemHitInfo.php b/src/Mail/Struct/CalendarItemHitInfo.php index 8693a83d7..5645e00c4 100644 --- a/src/Mail/Struct/CalendarItemHitInfo.php +++ b/src/Mail/Struct/CalendarItemHitInfo.php @@ -173,17 +173,17 @@ abstract class CalendarItemHitInfo extends CommonCalendaringData implements Sear * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?int $date = NULL, - ?bool $contentMatched = NULL, - ?int $nextAlarm = NULL, - ?CalOrganizer $organizer = NULL, + ?string $id = null, + ?string $sortField = null, + ?int $date = null, + ?bool $contentMatched = null, + ?int $nextAlarm = null, + ?CalOrganizer $organizer = null, array $categories = [], - ?GeoInfo $geo = NULL, - ?string $fragment = NULL, + ?GeoInfo $geo = null, + ?string $fragment = null, array $instances = [], - ?AlarmDataInfo $alarmData = NULL, + ?AlarmDataInfo $alarmData = null, array $invites = [], array $replies = [] ) @@ -193,25 +193,25 @@ public function __construct( ->setInstances($instances) ->setInvites($invites) ->setReplies($replies); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $contentMatched) { + if (null !== $contentMatched) { $this->setContentMatched($contentMatched); } - if (NULL !== $nextAlarm) { + if (null !== $nextAlarm) { $this->setNextAlarm($nextAlarm); } $this->organizer = $organizer; $this->geo = $geo; $this->alarmData = $alarmData; - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/CalendarItemInfo.php b/src/Mail/Struct/CalendarItemInfo.php index 5597e56e4..159c9ebc0 100644 --- a/src/Mail/Struct/CalendarItemInfo.php +++ b/src/Mail/Struct/CalendarItemInfo.php @@ -220,19 +220,19 @@ class CalendarItemInfo * @return self */ public function __construct( - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $uid = NULL, - ?string $id = NULL, - ?int $revision = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?string $folder = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, - ?int $nextAlarm = NULL, - ?bool $orphan = NULL, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $uid = null, + ?string $id = null, + ?int $revision = null, + ?int $size = null, + ?int $date = null, + ?string $folder = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, + ?int $nextAlarm = null, + ?bool $orphan = null, array $invites = [], array $calendarReplies = [], array $metadatas = [] @@ -241,43 +241,43 @@ public function __construct( $this->setInvites($invites) ->setCalendarReplies($calendarReplies) ->setMetadatas($metadatas); - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $nextAlarm) { + if (null !== $nextAlarm) { $this->setNextAlarm($nextAlarm); } - if (NULL !== $orphan) { + if (null !== $orphan) { $this->setOrphan($orphan); } } diff --git a/src/Mail/Struct/CalendarItemRecur.php b/src/Mail/Struct/CalendarItemRecur.php index daacc9d25..e8b5c435a 100644 --- a/src/Mail/Struct/CalendarItemRecur.php +++ b/src/Mail/Struct/CalendarItemRecur.php @@ -95,11 +95,11 @@ class CalendarItemRecur * @return self */ public function __construct( - ?ExceptionRecurIdInfo $exceptionId = NULL, - ?DtTimeInfo $dtStart = NULL, - ?DtTimeInfo $dtEnd = NULL, - ?DurationInfo $duration = NULL, - ?RecurrenceInfo $recurrence = NULL + ?ExceptionRecurIdInfo $exceptionId = null, + ?DtTimeInfo $dtStart = null, + ?DtTimeInfo $dtEnd = null, + ?DurationInfo $duration = null, + ?RecurrenceInfo $recurrence = null ) { $this->exceptionId = $exceptionId; diff --git a/src/Mail/Struct/CalendarReply.php b/src/Mail/Struct/CalendarReply.php index 9b29487ea..d2b111215 100644 --- a/src/Mail/Struct/CalendarReply.php +++ b/src/Mail/Struct/CalendarReply.php @@ -102,8 +102,8 @@ public function __construct( int $seq = 0, int $date = 0, string $attendee = '', - ?string $sentBy = NULL, - ?ParticipationStatus $partStat = NULL + ?string $sentBy = null, + ?ParticipationStatus $partStat = null ) { parent::__construct($recurrenceRangeType, $recurrenceId); @@ -111,7 +111,7 @@ public function __construct( ->setDate($date) ->setAttendee($attendee); $this->partStat = $partStat; - if (NULL != $sentBy) { + if (null != $sentBy) { $this->setSentBy($sentBy); } } diff --git a/src/Mail/Struct/CommentInfo.php b/src/Mail/Struct/CommentInfo.php index 6aa0e4a19..8d9286855 100644 --- a/src/Mail/Struct/CommentInfo.php +++ b/src/Mail/Struct/CommentInfo.php @@ -160,48 +160,48 @@ class CommentInfo * @return self */ public function __construct( - ?string $parentId = NULL, - ?string $id = NULL, - ?string $uuid = NULL, - ?string $creatorEmail = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $date = NULL, + ?string $parentId = null, + ?string $id = null, + ?string $uuid = null, + ?string $creatorEmail = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $color = null, + ?string $rgb = null, + ?int $date = null, array $metadatas = [] ) { $this->setMetadatas($metadatas); - if (NULL !== $parentId) { + if (null !== $parentId) { $this->setParentId($parentId); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $uuid) { + if (null !== $uuid) { $this->setUuid($uuid); } - if (NULL !== $creatorEmail) { + if (null !== $creatorEmail) { $this->setCreatorEmail($creatorEmail); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } } diff --git a/src/Mail/Struct/CommonCalendaringData.php b/src/Mail/Struct/CommonCalendaringData.php index aadb2f065..c65e05192 100644 --- a/src/Mail/Struct/CommonCalendaringData.php +++ b/src/Mail/Struct/CommonCalendaringData.php @@ -193,42 +193,42 @@ abstract class CommonCalendaringData extends InstanceDataAttrs * @return self */ public function __construct( - string $xUid = NULL, - string $uid = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?int $size = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?string $id = NULL, - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + string $xUid = null, + string $uid = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?int $size = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?string $id = null, + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -258,37 +258,37 @@ public function __construct( $taskDueDate, $taskTzOffsetDue ); - if (NULL !== $xUid) { + if (null !== $xUid) { $this->setXUid($xUid); } - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Mail/Struct/CommonDocumentInfo.php b/src/Mail/Struct/CommonDocumentInfo.php index a78f7d33b..a606a1257 100644 --- a/src/Mail/Struct/CommonDocumentInfo.php +++ b/src/Mail/Struct/CommonDocumentInfo.php @@ -317,98 +317,98 @@ class CommonDocumentInfo * @return self */ public function __construct( - ?string $id = NULL, - ?string $uuid = NULL, - ?string $name = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?string $folderId = NULL, - ?string $folderUuid = NULL, - ?int $modifiedSequence = NULL, - ?int $metadataVersion = NULL, - ?int $changeDate = NULL, - ?int $revision = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $description = NULL, - ?string $contentType = NULL, - ?bool $descEnabled = NULL, - ?int $version = NULL, - ?string $lastEditedBy = NULL, - ?string $creator = NULL, - ?int $createdDate = NULL, + ?string $id = null, + ?string $uuid = null, + ?string $name = null, + ?int $size = null, + ?int $date = null, + ?string $folderId = null, + ?string $folderUuid = null, + ?int $modifiedSequence = null, + ?int $metadataVersion = null, + ?int $changeDate = null, + ?int $revision = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $description = null, + ?string $contentType = null, + ?bool $descEnabled = null, + ?int $version = null, + ?string $lastEditedBy = null, + ?string $creator = null, + ?int $createdDate = null, array $metadatas = [], - ?string $fragment = NULL, - ?Acl $acl = NULL + ?string $fragment = null, + ?Acl $acl = null ) { $this->setMetadatas($metadatas); $this->acl = $acl; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $uuid) { + if (null !== $uuid) { $this->setUuid($uuid); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $folderUuid) { + if (null !== $folderUuid) { $this->setFolderUuid($folderUuid); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $metadataVersion) { + if (null !== $metadataVersion) { $this->setMetadataVersion($metadataVersion); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $descEnabled) { + if (null !== $descEnabled) { $this->setDescEnabled($descEnabled); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $lastEditedBy) { + if (null !== $lastEditedBy) { $this->setLastEditedBy($lastEditedBy); } - if (NULL !== $creator) { + if (null !== $creator) { $this->setCreator($creator); } - if (NULL !== $createdDate) { + if (null !== $createdDate) { $this->setCreatedDate($createdDate); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/CommonInstanceDataAttrs.php b/src/Mail/Struct/CommonInstanceDataAttrs.php index f4df6ef95..aa3de3d76 100644 --- a/src/Mail/Struct/CommonInstanceDataAttrs.php +++ b/src/Mail/Struct/CommonInstanceDataAttrs.php @@ -332,30 +332,30 @@ class CommonInstanceDataAttrs * @return self */ public function __construct( - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { $this->partStat = $partStat; @@ -364,58 +364,58 @@ public function __construct( $this->transparency = $transparency; $this->status = $status; $this->calClass = $calClass; - if (NULL !== $recurIdZ) { + if (null !== $recurIdZ) { $this->setRecurIdZ($recurIdZ); } - if (NULL !== $tzOffset) { + if (null !== $tzOffset) { $this->setTzOffset($tzOffset); } - if (NULL !== $taskPercentComplete) { + if (null !== $taskPercentComplete) { $this->setTaskPercentComplete($taskPercentComplete); } - if (NULL !== $isRecurring) { + if (null !== $isRecurring) { $this->setIsRecurring($isRecurring); } - if (NULL !== $hasExceptions) { + if (null !== $hasExceptions) { $this->setHasExceptions($hasExceptions); } - if (NULL !== $priority) { + if (null !== $priority) { $this->setPriority($priority); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $location) { + if (null !== $location) { $this->setLocation($location); } - if (NULL !== $hasOtherAttendees) { + if (null !== $hasOtherAttendees) { $this->setHasOtherAttendees($hasOtherAttendees); } - if (NULL !== $hasAlarm) { + if (null !== $hasAlarm) { $this->setHasAlarm($hasAlarm); } - if (NULL !== $isOrganizer) { + if (null !== $isOrganizer) { $this->setIsOrganizer($isOrganizer); } - if (NULL !== $invId) { + if (null !== $invId) { $this->setInvId($invId); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $allDay) { + if (null !== $allDay) { $this->setAllDay($allDay); } - if (NULL !== $draft) { + if (null !== $draft) { $this->setDraft($draft); } - if (NULL !== $neverSent) { + if (null !== $neverSent) { $this->setNeverSent($neverSent); } - if (NULL !== $taskDueDate) { + if (null !== $taskDueDate) { $this->setTaskDueDate($taskDueDate); } - if (NULL !== $taskTzOffsetDue) { + if (null !== $taskTzOffsetDue) { $this->setTaskTzOffsetDue($taskTzOffsetDue); } } diff --git a/src/Mail/Struct/ConflictRecurrenceInstance.php b/src/Mail/Struct/ConflictRecurrenceInstance.php index 54df24a7b..3e5fd1115 100644 --- a/src/Mail/Struct/ConflictRecurrenceInstance.php +++ b/src/Mail/Struct/ConflictRecurrenceInstance.php @@ -47,11 +47,11 @@ class ConflictRecurrenceInstance extends ExpandedRecurrenceInstance */ public function __construct( array $freebusyUsers = [], - ?int $startTime = NULL, - ?int $duration = NULL, - ?bool $allDay = NULL, - ?int $tzOffset = NULL, - ?string $recurIdZ = NULL + ?int $startTime = null, + ?int $duration = null, + ?bool $allDay = null, + ?int $tzOffset = null, + ?string $recurIdZ = null ) { parent::__construct($startTime, $duration, $allDay, $tzOffset, $recurIdZ); diff --git a/src/Mail/Struct/ContactActionSelector.php b/src/Mail/Struct/ContactActionSelector.php index bf0022ea2..a100980b7 100644 --- a/src/Mail/Struct/ContactActionSelector.php +++ b/src/Mail/Struct/ContactActionSelector.php @@ -55,19 +55,19 @@ class ContactActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, + ?string $ids = null, array $attrs = [], - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { parent::__construct( diff --git a/src/Mail/Struct/ContactAttachSpec.php b/src/Mail/Struct/ContactAttachSpec.php index 9610e7b49..0bab44443 100644 --- a/src/Mail/Struct/ContactAttachSpec.php +++ b/src/Mail/Struct/ContactAttachSpec.php @@ -41,7 +41,7 @@ class ContactAttachSpec extends AttachSpec * @param bool $optional * @return self */ - public function __construct(string $id = '', ?bool $optional = NULL) + public function __construct(string $id = '', ?bool $optional = null) { parent::__construct($optional); $this->setId($id); diff --git a/src/Mail/Struct/ContactGroupMember.php b/src/Mail/Struct/ContactGroupMember.php index c0890eb39..1e554ea7a 100644 --- a/src/Mail/Struct/ContactGroupMember.php +++ b/src/Mail/Struct/ContactGroupMember.php @@ -73,7 +73,7 @@ class ContactGroupMember implements ContactGroupMemberInterface * @return self */ public function __construct( - ?MemberType $type = NULL, string $value = '', ?ContactInfo $contact = NULL + ?MemberType $type = null, string $value = '', ?ContactInfo $contact = null ) { $this->setType($type ?? MemberType::CONTACT) diff --git a/src/Mail/Struct/ContactInfo.php b/src/Mail/Struct/ContactInfo.php index be886026f..2bc54f46d 100644 --- a/src/Mail/Struct/ContactInfo.php +++ b/src/Mail/Struct/ContactInfo.php @@ -321,29 +321,29 @@ class ContactInfo implements ContactInterface, SearchHit */ public function __construct( string $id = '', - ?string $sortField = NULL, - ?bool $canExpand = NULL, - ?int $imapUid = NULL, - ?string $folder = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequenceId = NULL, - ?int $date = NULL, - ?int $revisionId = NULL, - ?string $fileAs = NULL, - ?string $email = NULL, - ?string $email2 = NULL, - ?string $email3 = NULL, - ?string $type = NULL, - ?string $dlist = NULL, - ?string $reference = NULL, - ?bool $tooManyMembers = NULL, + ?string $sortField = null, + ?bool $canExpand = null, + ?int $imapUid = null, + ?string $folder = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $changeDate = null, + ?int $modifiedSequenceId = null, + ?int $date = null, + ?int $revisionId = null, + ?string $fileAs = null, + ?string $email = null, + ?string $email2 = null, + ?string $email3 = null, + ?string $type = null, + ?string $dlist = null, + ?string $reference = null, + ?bool $tooManyMembers = null, array $metadatas = [], array $attrs = [], array $contactGroupMembers = [], - ?string $memberOf = NULL + ?string $memberOf = null ) { $this->setId($id) @@ -351,64 +351,64 @@ public function __construct( ->setAttrs($attrs) ->setContactGroupMembers($contactGroupMembers); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $canExpand) { + if (null !== $canExpand) { $this->setCanExpand($canExpand); } - if (NULL !== $imapUid) { + if (null !== $imapUid) { $this->setImapUid($imapUid); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequenceId) { + if (null !== $modifiedSequenceId) { $this->setModifiedSequenceId($modifiedSequenceId); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $revisionId) { + if (null !== $revisionId) { $this->setRevisionId($revisionId); } - if (NULL !== $fileAs) { + if (null !== $fileAs) { $this->setFileAs($fileAs); } - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } - if (NULL !== $email2) { + if (null !== $email2) { $this->setEmail2($email2); } - if (NULL !== $email3) { + if (null !== $email3) { $this->setEmail3($email3); } - if (NULL !== $type) { + if (null !== $type) { $this->setType($type); } - if (NULL !== $dlist) { + if (null !== $dlist) { $this->setDlist($dlist); } - if (NULL !== $reference) { + if (null !== $reference) { $this->setReference($reference); } - if (NULL !== $tooManyMembers) { + if (null !== $tooManyMembers) { $this->setTooManyMembers($tooManyMembers); } - if (NULL !== $memberOf) { + if (null !== $memberOf) { $this->setMemberOf($memberOf); } } diff --git a/src/Mail/Struct/ContactRankingTest.php b/src/Mail/Struct/ContactRankingTest.php index 83173a71a..be354985a 100644 --- a/src/Mail/Struct/ContactRankingTest.php +++ b/src/Mail/Struct/ContactRankingTest.php @@ -43,13 +43,13 @@ class ContactRankingTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $header = NULL + ?int $index = null, + ?bool $negative = null, + ?string $header = null ) { parent::__construct($index, $negative); - if (NULL !== $header) { + if (null !== $header) { $this->setHeader($header); } } diff --git a/src/Mail/Struct/ContactSpec.php b/src/Mail/Struct/ContactSpec.php index 53eece5c5..d826325f2 100644 --- a/src/Mail/Struct/ContactSpec.php +++ b/src/Mail/Struct/ContactSpec.php @@ -113,11 +113,11 @@ class ContactSpec implements SpecifyContact * @return self */ public function __construct( - ?int $id = NULL, - ?string $folder = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?VCardInfo $vcard = NULL, + ?int $id = null, + ?string $folder = null, + ?string $tags = null, + ?string $tagNames = null, + ?VCardInfo $vcard = null, array $attrs = [], array $contactGroupMembers = [] ) @@ -125,16 +125,16 @@ public function __construct( $this->setAttrs($attrs) ->setContactGroupMembers($contactGroupMembers); $this->vcard = $vcard; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } } diff --git a/src/Mail/Struct/Content.php b/src/Mail/Struct/Content.php index bc0feb59d..1e8815415 100644 --- a/src/Mail/Struct/Content.php +++ b/src/Mail/Struct/Content.php @@ -52,13 +52,13 @@ class Content * @return self */ public function __construct( - ?string $attachUploadId = NULL, ?string $value = NULL + ?string $attachUploadId = null, ?string $value = null ) { - if (NULL !== $attachUploadId) { + if (null !== $attachUploadId) { $this->setAttachUploadId($attachUploadId); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/ContentSpec.php b/src/Mail/Struct/ContentSpec.php index ecdd374e6..53d3ac57f 100644 --- a/src/Mail/Struct/ContentSpec.php +++ b/src/Mail/Struct/ContentSpec.php @@ -76,19 +76,19 @@ class ContentSpec * @return self */ public function __construct( - ?string $attachmentId = NULL, ?string $messageId = NULL, ?string $part = NULL, ?string $text = NULL + ?string $attachmentId = null, ?string $messageId = null, ?string $part = null, ?string $text = null ) { - if (NULL !== $attachmentId) { + if (null !== $attachmentId) { $this->setAttachmentId($attachmentId); } - if (NULL !== $messageId) { + if (null !== $messageId) { $this->setMessageId($messageId); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $text) { + if (null !== $text) { $this->setText($text); } } diff --git a/src/Mail/Struct/ConvActionSelector.php b/src/Mail/Struct/ConvActionSelector.php index ca86ecc77..e80d3ae25 100644 --- a/src/Mail/Struct/ConvActionSelector.php +++ b/src/Mail/Struct/ConvActionSelector.php @@ -60,19 +60,19 @@ class ConvActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, - ?string $acctRelativePath = NULL, - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?string $ids = null, + ?string $acctRelativePath = null, + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { parent::__construct( @@ -90,7 +90,7 @@ public function __construct( $nonExistentIds, $newlyCreatedIds ); - if (NULL !== $acctRelativePath) { + if (null !== $acctRelativePath) { $this->setAcctRelativePath($acctRelativePath); } } diff --git a/src/Mail/Struct/ConversationHitInfo.php b/src/Mail/Struct/ConversationHitInfo.php index 4a8f7e932..e9ec90547 100644 --- a/src/Mail/Struct/ConversationHitInfo.php +++ b/src/Mail/Struct/ConversationHitInfo.php @@ -69,22 +69,22 @@ class ConversationHitInfo extends ConversationSummary implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, + ?string $id = null, + ?string $sortField = null, array $messageHits = [], - ?int $num = NULL, - ?int $numUnread = NULL, - ?int $totalSize = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $date = NULL, - ?bool $elided = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?int $num = null, + ?int $numUnread = null, + ?int $totalSize = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $date = null, + ?bool $elided = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [], - ?string $subject = NULL, - ?string $fragment = NULL, + ?string $subject = null, + ?string $fragment = null, array $emails = [] ) { @@ -106,7 +106,7 @@ public function __construct( $emails ); $this->setMessageHits($messageHits); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } } diff --git a/src/Mail/Struct/ConversationInfo.php b/src/Mail/Struct/ConversationInfo.php index 8e9f9eb2b..706748d90 100644 --- a/src/Mail/Struct/ConversationInfo.php +++ b/src/Mail/Struct/ConversationInfo.php @@ -147,13 +147,13 @@ class ConversationInfo * @return self */ public function __construct( - ?string $id = NULL, - ?int $num = NULL, - ?int $totalSize = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $subject = NULL, + ?string $id = null, + ?int $num = null, + ?int $totalSize = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $subject = null, array $metadatas = [], array $chatMessages = [], array $messages = [] @@ -162,25 +162,25 @@ public function __construct( $this->setMetadatas($metadatas) ->setChatMessages($chatMessages) ->setMessages($messages); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $num) { + if (null !== $num) { $this->setNum($num); } - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } } diff --git a/src/Mail/Struct/ConversationMsgHitInfo.php b/src/Mail/Struct/ConversationMsgHitInfo.php index 8c6508a18..9d802da47 100644 --- a/src/Mail/Struct/ConversationMsgHitInfo.php +++ b/src/Mail/Struct/ConversationMsgHitInfo.php @@ -104,27 +104,27 @@ class ConversationMsgHitInfo */ public function __construct( string $id = '', - ?int $size = NULL, - ?string $folderId = NULL, - ?string $flags = NULL, - ?int $autoSendTime = NULL, - ?int $date = NULL + ?int $size = null, + ?string $folderId = null, + ?string $flags = null, + ?int $autoSendTime = null, + ?int $date = null ) { $this->setId($id); - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $autoSendTime) { + if (null !== $autoSendTime) { $this->setAutoSendTime($autoSendTime); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } } diff --git a/src/Mail/Struct/ConversationSpec.php b/src/Mail/Struct/ConversationSpec.php index ab2b27030..d0eb70e6a 100644 --- a/src/Mail/Struct/ConversationSpec.php +++ b/src/Mail/Struct/ConversationSpec.php @@ -103,28 +103,28 @@ class ConversationSpec * @return self */ public function __construct( - ?string $id = NULL, - ?string $inlineRule = NULL, - ?bool $wantHtml = NULL, - ?int $maxInlinedLength = NULL, - ?bool $needCanExpand = NULL, + ?string $id = null, + ?string $inlineRule = null, + ?bool $wantHtml = null, + ?int $maxInlinedLength = null, + ?bool $needCanExpand = null, array $headers = [] ) { $this->setHeaders($headers); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $inlineRule) { + if (null !== $inlineRule) { $this->setInlineRule($inlineRule); } - if (NULL !== $wantHtml) { + if (null !== $wantHtml) { $this->setWantHtml($wantHtml); } - if (NULL !== $maxInlinedLength) { + if (null !== $maxInlinedLength) { $this->setMaxInlinedLength($maxInlinedLength); } - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } } diff --git a/src/Mail/Struct/ConversationSummary.php b/src/Mail/Struct/ConversationSummary.php index bfc62c5b3..c7d709c9a 100644 --- a/src/Mail/Struct/ConversationSummary.php +++ b/src/Mail/Struct/ConversationSummary.php @@ -208,62 +208,62 @@ class ConversationSummary * @return self */ public function __construct( - ?string $id = NULL, - ?int $num = NULL, - ?int $numUnread = NULL, - ?int $totalSize = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $date = NULL, - ?bool $elided = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?string $id = null, + ?int $num = null, + ?int $numUnread = null, + ?int $totalSize = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $date = null, + ?bool $elided = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [], - ?string $subject = NULL, - ?string $fragment = NULL, + ?string $subject = null, + ?string $fragment = null, array $emails = [] ) { $this->setMetadatas($metadatas) ->setEmails($emails); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $num) { + if (null !== $num) { $this->setNum($num); } - if (NULL !== $numUnread) { + if (null !== $numUnread) { $this->setNumUnread($numUnread); } - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $elided) { + if (null !== $elided) { $this->setElided($elided); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/ConversationTest.php b/src/Mail/Struct/ConversationTest.php index c8097d3bd..2e3d17d29 100644 --- a/src/Mail/Struct/ConversationTest.php +++ b/src/Mail/Struct/ConversationTest.php @@ -43,13 +43,13 @@ class ConversationTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $where = NULL + ?int $index = null, + ?bool $negative = null, + ?string $where = null ) { parent::__construct($index, $negative); - if (NULL !== $where) { + if (null !== $where) { $this->setWhere($where); } } diff --git a/src/Mail/Struct/CreateCalendarItemResponse.php b/src/Mail/Struct/CreateCalendarItemResponse.php index a9fb3920c..f5416bb6f 100644 --- a/src/Mail/Struct/CreateCalendarItemResponse.php +++ b/src/Mail/Struct/CreateCalendarItemResponse.php @@ -115,30 +115,30 @@ class CreateCalendarItemResponse extends SoapResponse * @return self */ public function __construct( - ?string $calItemId = NULL, - ?string $deprecatedApptId = NULL, - ?string $calInvId = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?Id $msg = NULL, - ?CalEcho $echo = NULL + ?string $calItemId = null, + ?string $deprecatedApptId = null, + ?string $calInvId = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?Id $msg = null, + ?CalEcho $echo = null ) { $this->msg = $msg; $this->echo = $echo; - if (NULL !== $calItemId) { + if (null !== $calItemId) { $this->setCalItemId($calItemId); } - if (NULL !== $deprecatedApptId) { + if (null !== $deprecatedApptId) { $this->setDeprecatedApptId($deprecatedApptId); } - if (NULL !== $calInvId) { + if (null !== $calInvId) { $this->setCalInvId($calInvId); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } } diff --git a/src/Mail/Struct/CurrentDayOfWeekTest.php b/src/Mail/Struct/CurrentDayOfWeekTest.php index 0e990cf65..7fb83e89e 100644 --- a/src/Mail/Struct/CurrentDayOfWeekTest.php +++ b/src/Mail/Struct/CurrentDayOfWeekTest.php @@ -43,13 +43,13 @@ class CurrentDayOfWeekTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $values = NULL + ?int $index = null, + ?bool $negative = null, + ?string $values = null ) { parent::__construct($index, $negative); - if (NULL !== $values) { + if (null !== $values) { $this->setValues($values); } } diff --git a/src/Mail/Struct/CurrentTimeTest.php b/src/Mail/Struct/CurrentTimeTest.php index f00779706..acdc0d78c 100644 --- a/src/Mail/Struct/CurrentTimeTest.php +++ b/src/Mail/Struct/CurrentTimeTest.php @@ -55,15 +55,15 @@ class CurrentTimeTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?DateComparison $dateComparison = NULL, - ?string $time = NULL + ?int $index = null, + ?bool $negative = null, + ?DateComparison $dateComparison = null, + ?string $time = null ) { parent::__construct($index, $negative); $this->dateComparison = $dateComparison; - if (NULL !== $time) { + if (null !== $time) { $this->setTime($time); } } diff --git a/src/Mail/Struct/DateTest.php b/src/Mail/Struct/DateTest.php index 57eee1d6e..b3c962038 100644 --- a/src/Mail/Struct/DateTest.php +++ b/src/Mail/Struct/DateTest.php @@ -55,15 +55,15 @@ class DateTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?DateComparison $dateComparison = NULL, - ?int $date = NULL + ?int $index = null, + ?bool $negative = null, + ?DateComparison $dateComparison = null, + ?int $date = null ) { parent::__construct($index, $negative); $this->dateComparison = $dateComparison; - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } } diff --git a/src/Mail/Struct/DeleteheaderAction.php b/src/Mail/Struct/DeleteheaderAction.php index a3e1efdc1..c3362a801 100644 --- a/src/Mail/Struct/DeleteheaderAction.php +++ b/src/Mail/Struct/DeleteheaderAction.php @@ -66,15 +66,15 @@ class DeleteheaderAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, ?bool $last = NULL, ?int $offset = NULL, ?EditheaderTest $test = NULL + ?int $index = null, ?bool $last = null, ?int $offset = null, ?EditheaderTest $test = null ) { parent::__construct($index); $this->test = $test; - if (NULL !== $last) { + if (null !== $last) { $this->setLast($last); } - if (NULL !== $offset) { + if (null !== $offset) { $this->setOffset($offset); } } diff --git a/src/Mail/Struct/DiffDocumentVersionSpec.php b/src/Mail/Struct/DiffDocumentVersionSpec.php index 20de657c0..d450461af 100644 --- a/src/Mail/Struct/DiffDocumentVersionSpec.php +++ b/src/Mail/Struct/DiffDocumentVersionSpec.php @@ -65,14 +65,14 @@ class DiffDocumentVersionSpec * @return self */ public function __construct( - string $id = '', ?int $version1 = NULL, ?int $version2 = NULL + string $id = '', ?int $version1 = null, ?int $version2 = null ) { $this->setId($id); - if (NULL !== $version1) { + if (null !== $version1) { $this->setVersion1($version1); } - if (NULL !== $version2) { + if (null !== $version2) { $this->setVersion2($version2); } } diff --git a/src/Mail/Struct/DispositionAndText.php b/src/Mail/Struct/DispositionAndText.php index 2e5eb12e0..585bd599b 100644 --- a/src/Mail/Struct/DispositionAndText.php +++ b/src/Mail/Struct/DispositionAndText.php @@ -53,13 +53,13 @@ class DispositionAndText * @return self */ public function __construct( - ?string $disposition = NULL, ?string $text = NULL + ?string $disposition = null, ?string $text = null ) { - if (NULL !== $disposition) { + if (null !== $disposition) { $this->setDisposition($disposition); } - if (NULL !== $text) { + if (null !== $text) { $this->setText($text); } } diff --git a/src/Mail/Struct/DocAttachSpec.php b/src/Mail/Struct/DocAttachSpec.php index 5c63a78e0..be3f4ffc5 100644 --- a/src/Mail/Struct/DocAttachSpec.php +++ b/src/Mail/Struct/DocAttachSpec.php @@ -66,17 +66,17 @@ class DocAttachSpec extends AttachSpec * @return self */ public function __construct( - ?string $path = NULL, ?string $id = NULL, ?int $version = NULL, ?bool $optional = NULL + ?string $path = null, ?string $id = null, ?int $version = null, ?bool $optional = null ) { parent::__construct($optional); - if (NULL !== $path) { + if (null !== $path) { $this->setPath($path); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } } diff --git a/src/Mail/Struct/DocumentActionGrant.php b/src/Mail/Struct/DocumentActionGrant.php index 4bb1a8ec4..6c74c52e1 100644 --- a/src/Mail/Struct/DocumentActionGrant.php +++ b/src/Mail/Struct/DocumentActionGrant.php @@ -50,13 +50,13 @@ class DocumentActionGrant extends ActionGrantSelector */ public function __construct( string $rights = '', - ?GranteeType $grantType = NULL, - ?int $expiry = NULL, - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $args = NULL, - ?string $password = NULL, - ?string $accessKey = NULL + ?GranteeType $grantType = null, + ?int $expiry = null, + ?string $zimbraId = null, + ?string $displayName = null, + ?string $args = null, + ?string $password = null, + ?string $accessKey = null ) { parent::__construct( diff --git a/src/Mail/Struct/DocumentActionResult.php b/src/Mail/Struct/DocumentActionResult.php index 11a5683fc..a307b8e50 100644 --- a/src/Mail/Struct/DocumentActionResult.php +++ b/src/Mail/Struct/DocumentActionResult.php @@ -72,21 +72,21 @@ class DocumentActionResult extends ActionResult public function __construct( string $id = '', string $operation = '', - ?string $nonExistentIds = NULL, - ?string $newlyCreatedIds = NULL, - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $accessKey = NULL + ?string $nonExistentIds = null, + ?string $newlyCreatedIds = null, + ?string $zimbraId = null, + ?string $displayName = null, + ?string $accessKey = null ) { parent::__construct($id, $operation, $nonExistentIds, $newlyCreatedIds); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } } diff --git a/src/Mail/Struct/DocumentActionSelector.php b/src/Mail/Struct/DocumentActionSelector.php index 0750a22de..e7a6ec64e 100644 --- a/src/Mail/Struct/DocumentActionSelector.php +++ b/src/Mail/Struct/DocumentActionSelector.php @@ -67,20 +67,20 @@ class DocumentActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, - ?string $zimbraId = NULL, - ?DocumentActionGrant $grant = NULL, - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?string $ids = null, + ?string $zimbraId = null, + ?DocumentActionGrant $grant = null, + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { parent::__construct( @@ -98,7 +98,7 @@ public function __construct( $nonExistentIds, $newlyCreatedIds ); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } $this->grant = $grant; diff --git a/src/Mail/Struct/DocumentHitInfo.php b/src/Mail/Struct/DocumentHitInfo.php index 9c5c81d01..2a599ab0f 100644 --- a/src/Mail/Struct/DocumentHitInfo.php +++ b/src/Mail/Struct/DocumentHitInfo.php @@ -69,34 +69,34 @@ class DocumentHitInfo extends DocumentInfo implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?string $lockOwnerId = NULL, - ?string $lockOwnerEmail = NULL, - ?string $lockOwnerTimestamp = NULL, - ?string $uuid = NULL, - ?string $name = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?string $folderId = NULL, - ?string $folderUuid = NULL, - ?int $modifiedSequence = NULL, - ?int $metadataVersion = NULL, - ?int $changeDate = NULL, - ?int $revision = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $description = NULL, - ?string $contentType = NULL, - ?bool $descEnabled = NULL, - ?int $version = NULL, - ?string $lastEditedBy = NULL, - ?string $creator = NULL, - ?int $createdDate = NULL, + ?string $id = null, + ?string $sortField = null, + ?string $lockOwnerId = null, + ?string $lockOwnerEmail = null, + ?string $lockOwnerTimestamp = null, + ?string $uuid = null, + ?string $name = null, + ?int $size = null, + ?int $date = null, + ?string $folderId = null, + ?string $folderUuid = null, + ?int $modifiedSequence = null, + ?int $metadataVersion = null, + ?int $changeDate = null, + ?int $revision = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $description = null, + ?string $contentType = null, + ?bool $descEnabled = null, + ?int $version = null, + ?string $lastEditedBy = null, + ?string $creator = null, + ?int $createdDate = null, array $metadatas = [], - ?string $fragment = NULL, - ?Acl $acl = NULL + ?string $fragment = null, + ?Acl $acl = null ) { parent::__construct( @@ -128,7 +128,7 @@ public function __construct( $fragment, $acl ); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } } diff --git a/src/Mail/Struct/DocumentInfo.php b/src/Mail/Struct/DocumentInfo.php index 55278ceff..43725ed50 100644 --- a/src/Mail/Struct/DocumentInfo.php +++ b/src/Mail/Struct/DocumentInfo.php @@ -89,33 +89,33 @@ class DocumentInfo extends CommonDocumentInfo * @return self */ public function __construct( - ?string $id = NULL, - ?string $lockOwnerId = NULL, - ?string $lockOwnerEmail = NULL, - ?string $lockOwnerTimestamp = NULL, - ?string $uuid = NULL, - ?string $name = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?string $folderId = NULL, - ?string $folderUuid = NULL, - ?int $modifiedSequence = NULL, - ?int $metadataVersion = NULL, - ?int $changeDate = NULL, - ?int $revision = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $description = NULL, - ?string $contentType = NULL, - ?bool $descEnabled = NULL, - ?int $version = NULL, - ?string $lastEditedBy = NULL, - ?string $creator = NULL, - ?int $createdDate = NULL, + ?string $id = null, + ?string $lockOwnerId = null, + ?string $lockOwnerEmail = null, + ?string $lockOwnerTimestamp = null, + ?string $uuid = null, + ?string $name = null, + ?int $size = null, + ?int $date = null, + ?string $folderId = null, + ?string $folderUuid = null, + ?int $modifiedSequence = null, + ?int $metadataVersion = null, + ?int $changeDate = null, + ?int $revision = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $description = null, + ?string $contentType = null, + ?bool $descEnabled = null, + ?int $version = null, + ?string $lastEditedBy = null, + ?string $creator = null, + ?int $createdDate = null, array $metadatas = [], - ?string $fragment = NULL, - ?Acl $acl = NULL + ?string $fragment = null, + ?Acl $acl = null ) { parent::__construct( @@ -144,13 +144,13 @@ public function __construct( $fragment, $acl ); - if (NULL !== $lockOwnerId) { + if (null !== $lockOwnerId) { $this->setLockOwnerId($lockOwnerId); } - if (NULL !== $lockOwnerEmail) { + if (null !== $lockOwnerEmail) { $this->setLockOwnerEmail($lockOwnerEmail); } - if (NULL !== $lockOwnerTimestamp) { + if (null !== $lockOwnerTimestamp) { $this->setLockOwnerTimestamp($lockOwnerTimestamp); } } diff --git a/src/Mail/Struct/DocumentSpec.php b/src/Mail/Struct/DocumentSpec.php index 9209ceeb1..a5b8699cd 100644 --- a/src/Mail/Struct/DocumentSpec.php +++ b/src/Mail/Struct/DocumentSpec.php @@ -199,54 +199,54 @@ class DocumentSpec * @return self */ public function __construct( - ?string $name = NULL, - ?string $contentType = NULL, - ?string $description = NULL, - ?string $folderId = NULL, - ?string $id = NULL, - ?int $version = NULL, - ?string $content = NULL, - ?bool $descEnabled = NULL, - ?string $flags = NULL, - ?string $action = NULL, - ?NewFileCreationTypes $type = NULL, - ?Id $upload = NULL, - ?MessagePartSpec $messagePart = NULL, - ?IdVersion $docRevision = NULL + ?string $name = null, + ?string $contentType = null, + ?string $description = null, + ?string $folderId = null, + ?string $id = null, + ?int $version = null, + ?string $content = null, + ?bool $descEnabled = null, + ?string $flags = null, + ?string $action = null, + ?NewFileCreationTypes $type = null, + ?Id $upload = null, + ?MessagePartSpec $messagePart = null, + ?IdVersion $docRevision = null ) { $this->upload = $upload; $this->messagePart = $messagePart; $this->docRevision = $docRevision; $this->type = $type; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } - if (NULL !== $descEnabled) { + if (null !== $descEnabled) { $this->setDescEnabled($descEnabled); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $action) { + if (null !== $action) { $this->setAction($action); } } diff --git a/src/Mail/Struct/DtTimeInfo.php b/src/Mail/Struct/DtTimeInfo.php index 713532195..9666f2bf5 100644 --- a/src/Mail/Struct/DtTimeInfo.php +++ b/src/Mail/Struct/DtTimeInfo.php @@ -81,18 +81,18 @@ class DtTimeInfo implements DtTimeInfoInterface * @return self */ public function __construct( - ?string $dateTime = NULL, - ?string $timezone = NULL, - ?int $utcTime = NULL + ?string $dateTime = null, + ?string $timezone = null, + ?int $utcTime = null ) { - if (NULL !== $dateTime) { + if (null !== $dateTime) { $this->setDateTime($dateTime); } - if (NULL !== $timezone) { + if (null !== $timezone) { $this->setTimezone($timezone); } - if (NULL !== $utcTime) { + if (null !== $utcTime) { $this->setUtcTime($utcTime); } } diff --git a/src/Mail/Struct/DtVal.php b/src/Mail/Struct/DtVal.php index 187e303b3..e21db1ca7 100644 --- a/src/Mail/Struct/DtVal.php +++ b/src/Mail/Struct/DtVal.php @@ -67,9 +67,9 @@ class DtVal implements DtValInterface * @return self */ public function __construct( - ?DtTimeInfo $startTime = NULL, - ?DtTimeInfo $endTime = NULL, - ?DurationInfo $duration = NULL + ?DtTimeInfo $startTime = null, + ?DtTimeInfo $endTime = null, + ?DurationInfo $duration = null ) { $this->startTime = $startTime; diff --git a/src/Mail/Struct/DurationInfo.php b/src/Mail/Struct/DurationInfo.php index 40077ce69..c2ea7652a 100644 --- a/src/Mail/Struct/DurationInfo.php +++ b/src/Mail/Struct/DurationInfo.php @@ -127,28 +127,28 @@ class DurationInfo implements DurationInfoInterface * @return self */ public function __construct( - ?int $weeks = NULL, - ?int $days = NULL, - ?int $hours = NULL, - ?int $minutes = NULL, - ?int $seconds = NULL, - ?AlarmRelated $related = NULL + ?int $weeks = null, + ?int $days = null, + ?int $hours = null, + ?int $minutes = null, + ?int $seconds = null, + ?AlarmRelated $related = null ) { $this->related = $related; - if (NULL !== $weeks) { + if (null !== $weeks) { $this->setWeeks($weeks); } - if (NULL !== $days) { + if (null !== $days) { $this->setDays($days); } - if (NULL !== $hours) { + if (null !== $hours) { $this->setHours($hours); } - if (NULL !== $minutes) { + if (null !== $minutes) { $this->setMinutes($minutes); } - if (NULL !== $seconds) { + if (null !== $seconds) { $this->setSeconds($seconds); } } diff --git a/src/Mail/Struct/EditheaderTest.php b/src/Mail/Struct/EditheaderTest.php index 5844a0655..5820331aa 100644 --- a/src/Mail/Struct/EditheaderTest.php +++ b/src/Mail/Struct/EditheaderTest.php @@ -110,12 +110,12 @@ class EditheaderTest * @return self */ public function __construct( - ?MatchType $matchType = NULL, - ?bool $count = NULL, - ?bool $value = NULL, - ?RelationalComparator $relationalComparator = NULL, - ?ComparisonComparator $comparator = NULL, - ?string $headerName = NULL, + ?MatchType $matchType = null, + ?bool $count = null, + ?bool $value = null, + ?RelationalComparator $relationalComparator = null, + ?ComparisonComparator $comparator = null, + ?string $headerName = null, array $headerValue = [] ) { @@ -123,13 +123,13 @@ public function __construct( $this->matchType = $matchType; $this->relationalComparator = $relationalComparator; $this->comparator = $comparator; - if (NULL !== $count) { + if (null !== $count) { $this->setCount($count); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $headerName) { + if (null !== $headerName) { $this->setHeaderName($headerName); } } diff --git a/src/Mail/Struct/EmailAddrInfo.php b/src/Mail/Struct/EmailAddrInfo.php index b6b301e33..1027c56a6 100644 --- a/src/Mail/Struct/EmailAddrInfo.php +++ b/src/Mail/Struct/EmailAddrInfo.php @@ -67,12 +67,12 @@ class EmailAddrInfo * @return self */ public function __construct( - string $address = '', ?AddressType $addressType = NULL, ?string $personal = NULL + string $address = '', ?AddressType $addressType = null, ?string $personal = null ) { $this->setAddress($address); $this->addressType = $addressType; - if (NULL !== $personal) { + if (null !== $personal) { $this->setPersonal($personal); } } diff --git a/src/Mail/Struct/EmailInfo.php b/src/Mail/Struct/EmailInfo.php index d74f5bd41..59fa728ff 100644 --- a/src/Mail/Struct/EmailInfo.php +++ b/src/Mail/Struct/EmailInfo.php @@ -105,28 +105,28 @@ class EmailInfo implements EmailInfoInterface * @return self */ public function __construct( - ?string $address = NULL, - ?string $display = NULL, - ?string $personal = NULL, - ?AddressType $addressType = NULL, - ?bool $group = NULL, - ?bool $canExpandGroupMembers = NULL + ?string $address = null, + ?string $display = null, + ?string $personal = null, + ?AddressType $addressType = null, + ?bool $group = null, + ?bool $canExpandGroupMembers = null ) { $this->addressType = $addressType; - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } - if (NULL !== $display) { + if (null !== $display) { $this->setDisplay($display); } - if (NULL !== $personal) { + if (null !== $personal) { $this->setPersonal($personal); } - if (NULL !== $group) { + if (null !== $group) { $this->setGroup($group); } - if (NULL !== $canExpandGroupMembers) { + if (null !== $canExpandGroupMembers) { $this->setCanExpandGroupMembers($canExpandGroupMembers); } } diff --git a/src/Mail/Struct/ExceptionRecurIdInfo.php b/src/Mail/Struct/ExceptionRecurIdInfo.php index dfc91c731..51e73bc65 100644 --- a/src/Mail/Struct/ExceptionRecurIdInfo.php +++ b/src/Mail/Struct/ExceptionRecurIdInfo.php @@ -83,15 +83,15 @@ class ExceptionRecurIdInfo implements ExceptionRecurIdInfoInterface */ public function __construct( string $dateTime = '', - ?string $timezone = NULL, - ?int $recurrenceRangeType = NULL + ?string $timezone = null, + ?int $recurrenceRangeType = null ) { $this->setDateTime($dateTime); - if (NULL !== $timezone) { + if (null !== $timezone) { $this->setTimezone($timezone); } - if (NULL !== $recurrenceRangeType) { + if (null !== $recurrenceRangeType) { $this->setRecurrenceRangeType($recurrenceRangeType); } } diff --git a/src/Mail/Struct/ExceptionRuleInfo.php b/src/Mail/Struct/ExceptionRuleInfo.php index 1c12a074b..08c898b66 100644 --- a/src/Mail/Struct/ExceptionRuleInfo.php +++ b/src/Mail/Struct/ExceptionRuleInfo.php @@ -55,8 +55,8 @@ class ExceptionRuleInfo extends RecurIdInfo implements RecurRuleBase, ExceptionR * @return self */ public function __construct( - ?RecurrenceInfoInterface $add = NULL, - ?RecurrenceInfoInterface $exclude = NULL + ?RecurrenceInfoInterface $add = null, + ?RecurrenceInfoInterface $exclude = null ) { parent::__construct(-1, ''); diff --git a/src/Mail/Struct/ExpandedRecurrenceComponent.php b/src/Mail/Struct/ExpandedRecurrenceComponent.php index 0d9a8f446..bafc820c5 100644 --- a/src/Mail/Struct/ExpandedRecurrenceComponent.php +++ b/src/Mail/Struct/ExpandedRecurrenceComponent.php @@ -90,20 +90,20 @@ class ExpandedRecurrenceComponent * @return self */ public function __construct( - ?InstanceRecurIdInfo $exceptionId = NULL, - ?int $startTime = NULL, - ?int $endTime = NULL, - ?DurationInfo $duration = NULL, - ?RecurrenceInfo $recurrence = NULL + ?InstanceRecurIdInfo $exceptionId = null, + ?int $startTime = null, + ?int $endTime = null, + ?DurationInfo $duration = null, + ?RecurrenceInfo $recurrence = null ) { $this->exceptionId = $exceptionId; $this->duration = $duration; $this->recurrence = $recurrence; - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $endTime) { + if (null !== $endTime) { $this->setEndTime($endTime); } } diff --git a/src/Mail/Struct/ExpandedRecurrenceInstance.php b/src/Mail/Struct/ExpandedRecurrenceInstance.php index 2d4db60df..dc37a92c9 100644 --- a/src/Mail/Struct/ExpandedRecurrenceInstance.php +++ b/src/Mail/Struct/ExpandedRecurrenceInstance.php @@ -89,26 +89,26 @@ class ExpandedRecurrenceInstance * @return self */ public function __construct( - ?int $startTime = NULL, - ?int $duration = NULL, - ?bool $allDay = NULL, - ?int $tzOffset = NULL, - ?string $recurIdZ = NULL + ?int $startTime = null, + ?int $duration = null, + ?bool $allDay = null, + ?int $tzOffset = null, + ?string $recurIdZ = null ) { - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $duration) { + if (null !== $duration) { $this->setDuration($duration); } - if (NULL !== $allDay) { + if (null !== $allDay) { $this->setAllDay($allDay); } - if (NULL !== $tzOffset) { + if (null !== $tzOffset) { $this->setTzOffset($tzOffset); } - if (NULL !== $recurIdZ) { + if (null !== $recurIdZ) { $this->setRecurIdZ($recurIdZ); } } diff --git a/src/Mail/Struct/FileIntoAction.php b/src/Mail/Struct/FileIntoAction.php index 3d7ad4353..c23a01e2e 100644 --- a/src/Mail/Struct/FileIntoAction.php +++ b/src/Mail/Struct/FileIntoAction.php @@ -55,14 +55,14 @@ class FileIntoAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, ?string $folder = NULL, ?bool $copy = NULL + ?int $index = null, ?string $folder = null, ?bool $copy = null ) { parent::__construct($index); - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $copy) { + if (null !== $copy) { $this->setCopy($copy); } } diff --git a/src/Mail/Struct/FilterAction.php b/src/Mail/Struct/FilterAction.php index 31c9f6604..6960a968c 100644 --- a/src/Mail/Struct/FilterAction.php +++ b/src/Mail/Struct/FilterAction.php @@ -40,9 +40,9 @@ class FilterAction * @param int $index * @return self */ - public function __construct(?int $index = NULL) + public function __construct(?int $index = null) { - if (NULL !== $index) { + if (null !== $index) { $this->setIndex($index); } } diff --git a/src/Mail/Struct/FilterRule.php b/src/Mail/Struct/FilterRule.php index b6e56a69c..88cbffbc4 100644 --- a/src/Mail/Struct/FilterRule.php +++ b/src/Mail/Struct/FilterRule.php @@ -101,12 +101,12 @@ class FilterRule * @return self */ public function __construct( - ?FilterTests $tests = NULL, + ?FilterTests $tests = null, string $name = '', - bool $active = FALSE, - ?FilterVariables $filterVariables = NULL, + bool $active = false, + ?FilterVariables $filterVariables = null, array $actions = [], - ?NestedRule $child = NULL + ?NestedRule $child = null ) { $this->setName($name) diff --git a/src/Mail/Struct/FilterTest.php b/src/Mail/Struct/FilterTest.php index e42d353c3..44307757d 100644 --- a/src/Mail/Struct/FilterTest.php +++ b/src/Mail/Struct/FilterTest.php @@ -52,12 +52,12 @@ class FilterTest * @param bool $negative * @return self */ - public function __construct(?int $index = NULL, ?bool $negative = NULL) + public function __construct(?int $index = null, ?bool $negative = null) { - if (NULL !== $index) { + if (null !== $index) { $this->setIndex($index); } - if (NULL !== $negative) { + if (null !== $negative) { $this->setNegative($negative); } } diff --git a/src/Mail/Struct/FilterTests.php b/src/Mail/Struct/FilterTests.php index 77c0e91d7..60cb67dfe 100644 --- a/src/Mail/Struct/FilterTests.php +++ b/src/Mail/Struct/FilterTests.php @@ -321,7 +321,7 @@ class FilterTests * @param array $tests * @return self */ - public function __construct(?FilterCondition $condition = NULL, array $tests = []) + public function __construct(?FilterCondition $condition = null, array $tests = []) { $this->setTests($tests) ->setCondition($condition ?? FilterCondition::ALL_OF); diff --git a/src/Mail/Struct/FilterVariables.php b/src/Mail/Struct/FilterVariables.php index 0e20a9d4c..f4f0649b3 100644 --- a/src/Mail/Struct/FilterVariables.php +++ b/src/Mail/Struct/FilterVariables.php @@ -40,7 +40,7 @@ class FilterVariables extends FilterAction * @param array $variables * @return self */ - public function __construct(?int $index = NULL, array $variables = []) + public function __construct(?int $index = null, array $variables = []) { parent::__construct($index); $this->setVariables($variables); diff --git a/src/Mail/Struct/FlagAction.php b/src/Mail/Struct/FlagAction.php index 7a1216eda..b1a263406 100644 --- a/src/Mail/Struct/FlagAction.php +++ b/src/Mail/Struct/FlagAction.php @@ -41,10 +41,10 @@ class FlagAction extends FilterAction * @param string $flag * @return self */ - public function __construct(?int $index = NULL, ?string $flag = NULL) + public function __construct(?int $index = null, ?string $flag = null) { parent::__construct($index); - if (NULL !== $flag) { + if (null !== $flag) { $this->setFlag($flag); } } diff --git a/src/Mail/Struct/FlaggedTest.php b/src/Mail/Struct/FlaggedTest.php index bcd8cb6d0..28525fe89 100644 --- a/src/Mail/Struct/FlaggedTest.php +++ b/src/Mail/Struct/FlaggedTest.php @@ -43,13 +43,13 @@ class FlaggedTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $flag = NULL + ?int $index = null, + ?bool $negative = null, + ?string $flag = null ) { parent::__construct($index, $negative); - if (NULL !== $flag) { + if (null !== $flag) { $this->setFlag($flag); } } diff --git a/src/Mail/Struct/Folder.php b/src/Mail/Struct/Folder.php index 7f13d66e4..9302fc7bd 100644 --- a/src/Mail/Struct/Folder.php +++ b/src/Mail/Struct/Folder.php @@ -428,37 +428,37 @@ class Folder public function __construct( string $id = '', string $uuid = '', - ?string $name = NULL, - ?string $absoluteFolderPath = NULL, - ?string $parentId = NULL, - ?string $folderUuid = NULL, - ?string $flags = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $unreadCount = NULL, - ?int $imapUnreadCount = NULL, - ?ViewType $view = NULL, - ?int $revision = NULL, - ?int $modifiedSequence = NULL, - ?int $changeDate = NULL, - ?int $itemCount = NULL, - ?int $imapItemCount = NULL, - ?int $totalSize = NULL, - ?int $imapModifiedSequence = NULL, - ?int $imapUidNext = NULL, - ?string $url = NULL, - ?bool $activeSyncDisabled = NULL, - ?int $webOfflineSyncDays = NULL, - ?string $perm = NULL, - ?bool $recursive = NULL, - ?string $restUrl = NULL, - ?bool $deletable = NULL, + ?string $name = null, + ?string $absoluteFolderPath = null, + ?string $parentId = null, + ?string $folderUuid = null, + ?string $flags = null, + ?int $color = null, + ?string $rgb = null, + ?int $unreadCount = null, + ?int $imapUnreadCount = null, + ?ViewType $view = null, + ?int $revision = null, + ?int $modifiedSequence = null, + ?int $changeDate = null, + ?int $itemCount = null, + ?int $imapItemCount = null, + ?int $totalSize = null, + ?int $imapModifiedSequence = null, + ?int $imapUidNext = null, + ?string $url = null, + ?bool $activeSyncDisabled = null, + ?int $webOfflineSyncDays = null, + ?string $perm = null, + ?bool $recursive = null, + ?string $restUrl = null, + ?bool $deletable = null, array $metadatas = [], - ?Acl $acl = NULL, + ?Acl $acl = null, array $subFolders = [], array $mountpoints = [], array $searchFolders = [], - ?RetentionPolicy $retentionPolicy = NULL + ?RetentionPolicy $retentionPolicy = null ) { $this->setId($id) @@ -470,79 +470,79 @@ public function __construct( $this->view = $view; $this->acl = $acl; $this->retentionPolicy = $retentionPolicy; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $absoluteFolderPath) { + if (null !== $absoluteFolderPath) { $this->setAbsoluteFolderPath($absoluteFolderPath); } - if (NULL !== $parentId) { + if (null !== $parentId) { $this->setParentId($parentId); } - if (NULL !== $folderUuid) { + if (null !== $folderUuid) { $this->setFolderUuid($folderUuid); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $unreadCount) { + if (null !== $unreadCount) { $this->setUnreadCount($unreadCount); } - if (NULL !== $imapUnreadCount) { + if (null !== $imapUnreadCount) { $this->setImapUnreadCount($imapUnreadCount); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $itemCount) { + if (null !== $itemCount) { $this->setItemCount($itemCount); } - if (NULL !== $imapItemCount) { + if (null !== $imapItemCount) { $this->setImapItemCount($imapItemCount); } - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } - if (NULL !== $imapModifiedSequence) { + if (null !== $imapModifiedSequence) { $this->setImapModifiedSequence($imapModifiedSequence); } - if (NULL !== $imapUidNext) { + if (null !== $imapUidNext) { $this->setImapUidNext($imapUidNext); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $activeSyncDisabled) { + if (null !== $activeSyncDisabled) { $this->setActiveSyncDisabled($activeSyncDisabled); } - if (NULL !== $webOfflineSyncDays) { + if (null !== $webOfflineSyncDays) { $this->setWebOfflineSyncDays($webOfflineSyncDays); } - if (NULL !== $perm) { + if (null !== $perm) { $this->setPerm($perm); } - if (NULL !== $recursive) { + if (null !== $recursive) { $this->setRecursive($recursive); } - if (NULL !== $restUrl) { + if (null !== $restUrl) { $this->setRestUrl($restUrl); } - if (NULL !== $deletable) { + if (null !== $deletable) { $this->setDeletable($deletable); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Mail/Struct/FolderActionResult.php b/src/Mail/Struct/FolderActionResult.php index 93757a8b7..ddbd6caa2 100644 --- a/src/Mail/Struct/FolderActionResult.php +++ b/src/Mail/Struct/FolderActionResult.php @@ -72,21 +72,21 @@ class FolderActionResult extends ActionResult public function __construct( string $id = '', string $operation = '', - ?string $nonExistentIds = NULL, - ?string $newlyCreatedIds = NULL, - ?string $zimbraId = NULL, - ?string $displayName = NULL, - ?string $accessKey = NULL + ?string $nonExistentIds = null, + ?string $newlyCreatedIds = null, + ?string $zimbraId = null, + ?string $displayName = null, + ?string $accessKey = null ) { parent::__construct($id, $operation, $nonExistentIds, $newlyCreatedIds); - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $displayName) { + if (null !== $displayName) { $this->setDisplayName($displayName); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } } diff --git a/src/Mail/Struct/FolderActionSelector.php b/src/Mail/Struct/FolderActionSelector.php index 972f498c9..5be7bf6b6 100644 --- a/src/Mail/Struct/FolderActionSelector.php +++ b/src/Mail/Struct/FolderActionSelector.php @@ -158,17 +158,17 @@ class FolderActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, - ?bool $recursive = NULL, - ?string $url = NULL, - ?bool $excludeFreeBusy = NULL, - ?string $zimbraId = NULL, - ?GranteeType $grantType = NULL, - ?string $view = NULL, - ?ActionGrantSelector $grant = NULL, + ?string $ids = null, + ?bool $recursive = null, + ?string $url = null, + ?bool $excludeFreeBusy = null, + ?string $zimbraId = null, + ?GranteeType $grantType = null, + ?string $view = null, + ?ActionGrantSelector $grant = null, ?array $grants = [], - ?RetentionPolicy $retentionPolicy = NULL, - ?int $numDays = NULL + ?RetentionPolicy $retentionPolicy = null, + ?int $numDays = null ) { parent::__construct($operation, $ids); @@ -176,22 +176,22 @@ public function __construct( $this->grantType = $grantType; $this->grant = $grant; $this->retentionPolicy = $retentionPolicy; - if (NULL !== $recursive) { + if (null !== $recursive) { $this->setRecursive($recursive); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $excludeFreeBusy) { + if (null !== $excludeFreeBusy) { $this->setExcludeFreebusy($excludeFreeBusy); } - if (NULL !== $zimbraId) { + if (null !== $zimbraId) { $this->setZimbraId($zimbraId); } - if (NULL !== $view) { + if (null !== $view) { $this->setView($view); } - if (NULL !== $numDays) { + if (null !== $numDays) { $this->setNumDays($numDays); } } diff --git a/src/Mail/Struct/FreeBusySlot.php b/src/Mail/Struct/FreeBusySlot.php index 644a3d4fa..1fbde69d0 100644 --- a/src/Mail/Struct/FreeBusySlot.php +++ b/src/Mail/Struct/FreeBusySlot.php @@ -164,44 +164,44 @@ class FreeBusySlot public function __construct( int $startTime = 0, int $endTime = 0, - ?string $id = NULL, - ?string $subject = NULL, - ?string $location = NULL, - ?bool $isMeeting = NULL, - ?bool $isRecurring = NULL, - ?bool $isException = NULL, - ?bool $isReminderSet = NULL, - ?bool $isPrivate = NULL, - ?bool $hasPermission = NULL + ?string $id = null, + ?string $subject = null, + ?string $location = null, + ?bool $isMeeting = null, + ?bool $isRecurring = null, + ?bool $isException = null, + ?bool $isReminderSet = null, + ?bool $isPrivate = null, + ?bool $hasPermission = null ) { $this->setStartTime($startTime) ->setEndTime($endTime); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $location) { + if (null !== $location) { $this->setLocation($location); } - if (NULL !== $isMeeting) { + if (null !== $isMeeting) { $this->setMeeting($isMeeting); } - if (NULL !== $isRecurring) { + if (null !== $isRecurring) { $this->setRecurring($isRecurring); } - if (NULL !== $isException) { + if (null !== $isException) { $this->setException($isException); } - if (NULL !== $isReminderSet) { + if (null !== $isReminderSet) { $this->setReminderSet($isReminderSet); } - if (NULL !== $isPrivate) { + if (null !== $isPrivate) { $this->setPrivate($isPrivate); } - if (NULL !== $hasPermission) { + if (null !== $hasPermission) { $this->setHasPermission($hasPermission); } } diff --git a/src/Mail/Struct/FreeBusyUserSpec.php b/src/Mail/Struct/FreeBusyUserSpec.php index ff1dfbf2a..555373412 100644 --- a/src/Mail/Struct/FreeBusyUserSpec.php +++ b/src/Mail/Struct/FreeBusyUserSpec.php @@ -66,16 +66,16 @@ class FreeBusyUserSpec * @return self */ public function __construct( - ?int $folderId = NULL, ?string $id = NULL, ?string $name = NULL + ?int $folderId = null, ?string $id = null, ?string $name = null ) { - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Mail/Struct/FreeBusyUserStatus.php b/src/Mail/Struct/FreeBusyUserStatus.php index acc6fd1f0..4108ae360 100644 --- a/src/Mail/Struct/FreeBusyUserStatus.php +++ b/src/Mail/Struct/FreeBusyUserStatus.php @@ -53,7 +53,7 @@ class FreeBusyUserStatus * @param FreeBusyStatus $freebusyStatus * @return self */ - public function __construct(string $name = '', ?FreeBusyStatus $freebusyStatus = NULL) + public function __construct(string $name = '', ?FreeBusyStatus $freebusyStatus = null) { $this->setName($name) ->setFreebusyStatus($freebusyStatus ?? FreeBusyStatus::FREE); diff --git a/src/Mail/Struct/GeoInfo.php b/src/Mail/Struct/GeoInfo.php index 03e0fc0b9..445b48a3f 100644 --- a/src/Mail/Struct/GeoInfo.php +++ b/src/Mail/Struct/GeoInfo.php @@ -54,12 +54,12 @@ class GeoInfo implements GeoInfoInterface * @param string $longitude * @return self */ - public function __construct(?string $latitude = NULL, ?string $longitude = NULL) + public function __construct(?string $latitude = null, ?string $longitude = null) { - if (NULL !== $latitude) { + if (null !== $latitude) { $this->setLatitude($latitude); } - if (NULL !== $longitude) { + if (null !== $longitude) { $this->setLongitude($longitude); } } diff --git a/src/Mail/Struct/GetCalendarItemRequestBase.php b/src/Mail/Struct/GetCalendarItemRequestBase.php index daa2b7632..958f8a247 100644 --- a/src/Mail/Struct/GetCalendarItemRequestBase.php +++ b/src/Mail/Struct/GetCalendarItemRequestBase.php @@ -92,26 +92,26 @@ abstract class GetCalendarItemRequestBase extends SoapRequest * @return self */ public function __construct( - ?bool $sync = NULL, - ?bool $includeContent = NULL, - ?bool $includeInvites = NULL, - ?string $uid = NULL, - ?string $id = NULL + ?bool $sync = null, + ?bool $includeContent = null, + ?bool $includeInvites = null, + ?string $uid = null, + ?string $id = null ) { - if (NULL !== $sync) { + if (null !== $sync) { $this->setSync($sync); } - if (NULL !== $includeContent) { + if (null !== $includeContent) { $this->setIncludeContent($includeContent); } - if (NULL !== $includeInvites) { + if (null !== $includeInvites) { $this->setIncludeInvites($includeInvites); } - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } diff --git a/src/Mail/Struct/GetFolderSpec.php b/src/Mail/Struct/GetFolderSpec.php index f3b70c5a7..fc74b5697 100644 --- a/src/Mail/Struct/GetFolderSpec.php +++ b/src/Mail/Struct/GetFolderSpec.php @@ -66,16 +66,16 @@ class GetFolderSpec * @return self */ public function __construct( - ?string $uuid = NULL, ?string $folderId = NULL, ?string $path = NULL + ?string $uuid = null, ?string $folderId = null, ?string $path = null ) { - if (NULL !== $uuid) { + if (null !== $uuid) { $this->setUuid($uuid); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $path) { + if (null !== $path) { $this->setPath($path); } } diff --git a/src/Mail/Struct/Grant.php b/src/Mail/Struct/Grant.php index 2c413cf0f..fd552a4f6 100644 --- a/src/Mail/Struct/Grant.php +++ b/src/Mail/Struct/Grant.php @@ -115,27 +115,27 @@ class Grant */ public function __construct( string $perm = '', - ?GrantGranteeType $granteeType = NULL, + ?GrantGranteeType $granteeType = null, string $granteeId = '', - ?int $expiry = NULL, - ?string $granteeName = NULL, - ?string $guestPassword = NULL, - ?string $accessKey = NULL + ?int $expiry = null, + ?string $granteeName = null, + ?string $guestPassword = null, + ?string $accessKey = null ) { $this->setPerm($perm) ->setGranteeType($granteeType ?? GrantGranteeType::ALL) ->setGranteeId($granteeId); - if (NULL !== $expiry) { + if (null !== $expiry) { $this->setExpiry($expiry); } - if (NULL !== $granteeName) { + if (null !== $granteeName) { $this->setGranteeName($granteeName); } - if (NULL !== $guestPassword) { + if (null !== $guestPassword) { $this->setGuestPassword($guestPassword); } - if (NULL !== $accessKey) { + if (null !== $accessKey) { $this->setAccessKey($accessKey); } } diff --git a/src/Mail/Struct/Header.php b/src/Mail/Struct/Header.php index 70b4f6251..7f88b18ea 100644 --- a/src/Mail/Struct/Header.php +++ b/src/Mail/Struct/Header.php @@ -52,12 +52,12 @@ class Header * @param string $value * @return self */ - public function __construct(?string $name = NULL, ?string $value = NULL) + public function __construct(?string $name = null, ?string $value = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/HeaderExistsTest.php b/src/Mail/Struct/HeaderExistsTest.php index b235f16d5..9e6983522 100644 --- a/src/Mail/Struct/HeaderExistsTest.php +++ b/src/Mail/Struct/HeaderExistsTest.php @@ -43,13 +43,13 @@ class HeaderExistsTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $header = NULL + ?int $index = null, + ?bool $negative = null, + ?string $header = null ) { parent::__construct($index, $negative); - if (NULL !== $header) { + if (null !== $header) { $this->setHeader($header); } } diff --git a/src/Mail/Struct/HeaderTest.php b/src/Mail/Struct/HeaderTest.php index 19c16a395..65f596e0d 100644 --- a/src/Mail/Struct/HeaderTest.php +++ b/src/Mail/Struct/HeaderTest.php @@ -112,15 +112,15 @@ class HeaderTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $headers = NULL, - ?StringComparison $stringComparison = NULL, - ?ValueComparison $valueComparison = NULL, - ?CountComparison $countComparison = NULL, - ?ComparisonComparator $valueComparisonComparator = NULL, - ?string $value = NULL, - ?bool $caseSensitive = NULL + ?int $index = null, + ?bool $negative = null, + ?string $headers = null, + ?StringComparison $stringComparison = null, + ?ValueComparison $valueComparison = null, + ?CountComparison $countComparison = null, + ?ComparisonComparator $valueComparisonComparator = null, + ?string $value = null, + ?bool $caseSensitive = null ) { parent::__construct($index, $negative); @@ -128,13 +128,13 @@ public function __construct( $this->valueComparison = $valueComparison; $this->countComparison = $countComparison; $this->valueComparisonComparator = $valueComparisonComparator; - if (NULL !== $headers) { + if (null !== $headers) { $this->setHeaders($headers); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $caseSensitive) { + if (null !== $caseSensitive) { $this->setCaseSensitive($caseSensitive); } } diff --git a/src/Mail/Struct/ICalContent.php b/src/Mail/Struct/ICalContent.php index c1f1bbce0..d67e5fcdf 100644 --- a/src/Mail/Struct/ICalContent.php +++ b/src/Mail/Struct/ICalContent.php @@ -51,12 +51,12 @@ class ICalContent * @param string $ical * @return self */ - public function __construct(?string $id = NULL, ?string $ical = NULL) + public function __construct(?string $id = null, ?string $ical = null) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $ical) { + if (null !== $ical) { $this->setIcal($ical); } } diff --git a/src/Mail/Struct/IdEmailName.php b/src/Mail/Struct/IdEmailName.php index 259cfb5ce..b2cba2b51 100644 --- a/src/Mail/Struct/IdEmailName.php +++ b/src/Mail/Struct/IdEmailName.php @@ -65,18 +65,18 @@ class IdEmailName * @return self */ public function __construct( - ?string $id = NULL, - ?string $email = NULL, - ?string $name = NULL + ?string $id = null, + ?string $email = null, + ?string $name = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } } diff --git a/src/Mail/Struct/IdVersion.php b/src/Mail/Struct/IdVersion.php index d4d32cae0..dae47aa72 100644 --- a/src/Mail/Struct/IdVersion.php +++ b/src/Mail/Struct/IdVersion.php @@ -52,10 +52,10 @@ class IdVersion * @param int $version * @return self */ - public function __construct(string $id = '', ?int $version = NULL) + public function __construct(string $id = '', ?int $version = null) { $this->setId($id); - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } } diff --git a/src/Mail/Struct/ImportContact.php b/src/Mail/Struct/ImportContact.php index c18a6df85..b3bdee213 100644 --- a/src/Mail/Struct/ImportContact.php +++ b/src/Mail/Struct/ImportContact.php @@ -53,13 +53,13 @@ class ImportContact * @return self */ public function __construct( - ?string $listOfCreatedIds = NULL, ?int $numImported = NULL + ?string $listOfCreatedIds = null, ?int $numImported = null ) { - if (NULL !== $listOfCreatedIds) { + if (null !== $listOfCreatedIds) { $this->setListOfCreatedIds($listOfCreatedIds); } - if (NULL !== $numImported) { + if (null !== $numImported) { $this->setNumImported($numImported); } } diff --git a/src/Mail/Struct/ImportStatusInfo.php b/src/Mail/Struct/ImportStatusInfo.php index 3cea6fd9c..79d1b163d 100644 --- a/src/Mail/Struct/ImportStatusInfo.php +++ b/src/Mail/Struct/ImportStatusInfo.php @@ -79,22 +79,22 @@ abstract class ImportStatusInfo * @return self */ public function __construct( - ?string $id = NULL, - ?bool $running = NULL, - ?bool $success = NULL, - ?string $error = NULL + ?string $id = null, + ?bool $running = null, + ?bool $success = null, + ?string $error = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $running) { + if (null !== $running) { $this->setRunning($running); } - if (NULL !== $success) { + if (null !== $success) { $this->setSuccess($success); } - if (NULL !== $error) { + if (null !== $error) { $this->setError($error); } } diff --git a/src/Mail/Struct/ImportanceTest.php b/src/Mail/Struct/ImportanceTest.php index b60c1222b..edaa70753 100644 --- a/src/Mail/Struct/ImportanceTest.php +++ b/src/Mail/Struct/ImportanceTest.php @@ -43,9 +43,9 @@ class ImportanceTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?Importance $importance = NULL + ?int $index = null, + ?bool $negative = null, + ?Importance $importance = null ) { parent::__construct($index, $negative); diff --git a/src/Mail/Struct/InstanceDataAttrs.php b/src/Mail/Struct/InstanceDataAttrs.php index eea3ddf42..a488e00bf 100644 --- a/src/Mail/Struct/InstanceDataAttrs.php +++ b/src/Mail/Struct/InstanceDataAttrs.php @@ -72,31 +72,31 @@ class InstanceDataAttrs extends CommonInstanceDataAttrs * @return self */ public function __construct( - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -125,7 +125,7 @@ public function __construct( $taskDueDate, $taskTzOffsetDue ); - if (NULL !== $duration) { + if (null !== $duration) { $this->setDuration($duration); } } diff --git a/src/Mail/Struct/InstanceDataInfo.php b/src/Mail/Struct/InstanceDataInfo.php index 9a837999d..2bbe3d6df 100644 --- a/src/Mail/Struct/InstanceDataInfo.php +++ b/src/Mail/Struct/InstanceDataInfo.php @@ -128,37 +128,37 @@ class InstanceDataInfo extends InstanceDataAttrs * @return self */ public function __construct( - ?int $startTime = NULL, - ?bool $isException = NULL, - ?CalOrganizer $organizer = NULL, + ?int $startTime = null, + ?bool $isException = null, + ?CalOrganizer $organizer = null, array $categories = [], - ?GeoInfo $geo = NULL, - ?string $fragment = NULL, - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?GeoInfo $geo = null, + ?string $fragment = null, + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -191,13 +191,13 @@ public function __construct( $this->setCategories($categories); $this->organizer = $organizer; $this->geo = $geo; - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $isException) { + if (null !== $isException) { $this->setIsException($isException); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/InstanceRecurIdInfo.php b/src/Mail/Struct/InstanceRecurIdInfo.php index c72952ac0..1e8b21859 100644 --- a/src/Mail/Struct/InstanceRecurIdInfo.php +++ b/src/Mail/Struct/InstanceRecurIdInfo.php @@ -80,18 +80,18 @@ class InstanceRecurIdInfo * @return self */ public function __construct( - ?string $range = NULL, - ?string $dateTime = NULL, - ?string $timezone = NULL + ?string $range = null, + ?string $dateTime = null, + ?string $timezone = null ) { - if (NULL !== $range) { + if (null !== $range) { $this->setRange($range); } - if (NULL !== $dateTime) { + if (null !== $dateTime) { $this->setDateTime($dateTime); } - if (NULL !== $timezone) { + if (null !== $timezone) { $this->setTimezone($timezone); } } diff --git a/src/Mail/Struct/Invitation.php b/src/Mail/Struct/Invitation.php index c4a1bca9c..65daebb2d 100644 --- a/src/Mail/Struct/Invitation.php +++ b/src/Mail/Struct/Invitation.php @@ -149,9 +149,9 @@ public function __construct( int $sequence = 0, int $id = 0, int $componentNum = 0, - ?string $recurrenceId = NULL, + ?string $recurrenceId = null, array $timezones = [], - ?InviteComponent $inviteComponent = NULL, + ?InviteComponent $inviteComponent = null, array $partInfos = [], array $shareNotifications = [], array $dlSubs = [] @@ -166,7 +166,7 @@ public function __construct( ->setId($id) ->setComponentNum($componentNum); $this->inviteComponent = $inviteComponent; - if (NULL !== $recurrenceId) { + if (null !== $recurrenceId) { $this->setRecurrenceId($recurrenceId); } } diff --git a/src/Mail/Struct/InvitationInfo.php b/src/Mail/Struct/InvitationInfo.php index 48ebfba0c..b45b38f22 100644 --- a/src/Mail/Struct/InvitationInfo.php +++ b/src/Mail/Struct/InvitationInfo.php @@ -122,12 +122,12 @@ class InvitationInfo extends InviteComponent * @return self */ public function __construct( - ?string $method = NULL, - ?int $componentNum = NULL, - ?bool $rsvp = NULL, - ?RawInvite $content = NULL, - ?InviteComponent $inviteComponent = NULL, - ?AttachmentsInfo $attachments = NULL + ?string $method = null, + ?int $componentNum = null, + ?bool $rsvp = null, + ?RawInvite $content = null, + ?InviteComponent $inviteComponent = null, + ?AttachmentsInfo $attachments = null ) { parent::__construct($method, $componentNum, $rsvp); diff --git a/src/Mail/Struct/InviteAsMP.php b/src/Mail/Struct/InviteAsMP.php index 0e8e1fd60..7e5f63daf 100644 --- a/src/Mail/Struct/InviteAsMP.php +++ b/src/Mail/Struct/InviteAsMP.php @@ -157,13 +157,13 @@ class InviteAsMP extends MessageCommon * @return self */ public function __construct( - ?string $id = NULL, - ?string $part = NULL, - ?int $sentDate = NULL, + ?string $id = null, + ?string $part = null, + ?int $sentDate = null, array $emails = [], - ?string $subject = NULL, - ?string $messageIdHeader = NULL, - ?MPInviteInfo $invite = NULL, + ?string $subject = null, + ?string $messageIdHeader = null, + ?MPInviteInfo $invite = null, array $headers = [], array $contentElems = [] ) @@ -172,19 +172,19 @@ public function __construct( ->setHeaders($headers) ->setContentElems($contentElems); $this->invite = $invite; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $sentDate) { + if (null !== $sentDate) { $this->setSentDate($sentDate); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $messageIdHeader) { + if (null !== $messageIdHeader) { $this->setMessageIdHeader($messageIdHeader); } } diff --git a/src/Mail/Struct/InviteComponent.php b/src/Mail/Struct/InviteComponent.php index 41406e92d..27a77323b 100644 --- a/src/Mail/Struct/InviteComponent.php +++ b/src/Mail/Struct/InviteComponent.php @@ -258,51 +258,51 @@ class InviteComponent extends InviteComponentCommon implements InviteComponentIn * @return self */ public function __construct( - ?string $method = NULL, - ?int $componentNum = NULL, - ?bool $rsvp = NULL, - ?string $priority = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?string $percentComplete = NULL, - ?string $completed = NULL, - ?bool $noBlob = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?FreeBusyStatus $freeBusy = NULL, - ?Transparency $transparency = NULL, - ?bool $isOrganizer = NULL, - ?string $xUid = NULL, - ?string $uid = NULL, - ?int $sequence = NULL, - ?int $dateTime = NULL, - ?string $calItemId = NULL, - ?string $deprecatedApptId = NULL, - ?string $calItemFolder = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?string $url = NULL, - ?bool $isException = NULL, - ?string $recurIdZ = NULL, - ?bool $isAllDay = NULL, - ?bool $isDraft = NULL, - ?bool $neverSent = NULL, - ?string $changes = NULL, + ?string $method = null, + ?int $componentNum = null, + ?bool $rsvp = null, + ?string $priority = null, + ?string $name = null, + ?string $location = null, + ?string $percentComplete = null, + ?string $completed = null, + ?bool $noBlob = null, + ?FreeBusyStatus $freeBusyActual = null, + ?FreeBusyStatus $freeBusy = null, + ?Transparency $transparency = null, + ?bool $isOrganizer = null, + ?string $xUid = null, + ?string $uid = null, + ?int $sequence = null, + ?int $dateTime = null, + ?string $calItemId = null, + ?string $deprecatedApptId = null, + ?string $calItemFolder = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?string $url = null, + ?bool $isException = null, + ?string $recurIdZ = null, + ?bool $isAllDay = null, + ?bool $isDraft = null, + ?bool $neverSent = null, + ?string $changes = null, array $categories = [], array $comments = [], array $contacts = [], - ?GeoInfoInterface $geo = NULL, + ?GeoInfoInterface $geo = null, array $attendees = [], array $alarms = [], array $xProps = [], - ?string $fragment = NULL, - ?string $description = NULL, - ?string $htmlDescription = NULL, - ?CalOrganizerInterface $organizer = NULL, - ?RecurrenceInfoInterface $recurrence = NULL, - ?ExceptionRecurIdInfoInterface $exceptionId = NULL, - ?DtTimeInfoInterface $dtStart = NULL, - ?DtTimeInfoInterface $dtEnd = NULL, - ?DurationInfoInterface $duration = NULL + ?string $fragment = null, + ?string $description = null, + ?string $htmlDescription = null, + ?CalOrganizerInterface $organizer = null, + ?RecurrenceInfoInterface $recurrence = null, + ?ExceptionRecurIdInfoInterface $exceptionId = null, + ?DtTimeInfoInterface $dtStart = null, + ?DtTimeInfoInterface $dtEnd = null, + ?DurationInfoInterface $duration = null ) { parent::__construct( @@ -349,13 +349,13 @@ public function __construct( $this->dtStart = $dtStart; $this->dtEnd = $dtEnd; $this->duration = $duration; - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $htmlDescription) { + if (null !== $htmlDescription) { $this->setHtmlDescription($htmlDescription); } } diff --git a/src/Mail/Struct/InviteComponentCommon.php b/src/Mail/Struct/InviteComponentCommon.php index 50c54868b..18e2e311e 100644 --- a/src/Mail/Struct/InviteComponentCommon.php +++ b/src/Mail/Struct/InviteComponentCommon.php @@ -380,35 +380,35 @@ class InviteComponentCommon implements InviteComponentCommonInterface * @return self */ public function __construct( - ?string $method = NULL, - ?int $componentNum = NULL, - ?bool $rsvp = NULL, - ?string $priority = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?string $percentComplete = NULL, - ?string $completed = NULL, - ?bool $noBlob = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?FreeBusyStatus $freeBusy = NULL, - ?Transparency $transparency = NULL, - ?bool $isOrganizer = NULL, - ?string $xUid = NULL, - ?string $uid = NULL, - ?int $sequence = NULL, - ?int $dateTime = NULL, - ?string $calItemId = NULL, - ?string $deprecatedApptId = NULL, - ?string $calItemFolder = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?string $url = NULL, - ?bool $isException = NULL, - ?string $recurIdZ = NULL, - ?bool $isAllDay = NULL, - ?bool $isDraft = NULL, - ?bool $neverSent = NULL, - ?string $changes = NULL + ?string $method = null, + ?int $componentNum = null, + ?bool $rsvp = null, + ?string $priority = null, + ?string $name = null, + ?string $location = null, + ?string $percentComplete = null, + ?string $completed = null, + ?bool $noBlob = null, + ?FreeBusyStatus $freeBusyActual = null, + ?FreeBusyStatus $freeBusy = null, + ?Transparency $transparency = null, + ?bool $isOrganizer = null, + ?string $xUid = null, + ?string $uid = null, + ?int $sequence = null, + ?int $dateTime = null, + ?string $calItemId = null, + ?string $deprecatedApptId = null, + ?string $calItemFolder = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?string $url = null, + ?bool $isException = null, + ?string $recurIdZ = null, + ?bool $isAllDay = null, + ?bool $isDraft = null, + ?bool $neverSent = null, + ?string $changes = null ) { $this->freeBusyActual = $freeBusyActual; @@ -416,76 +416,76 @@ public function __construct( $this->transparency = $transparency; $this->status = $status; $this->calClass = $calClass; - if (NULL !== $method) { + if (null !== $method) { $this->setMethod($method); } - if (NULL !== $componentNum) { + if (null !== $componentNum) { $this->setComponentNum($componentNum); } - if (NULL !== $rsvp) { + if (null !== $rsvp) { $this->setRsvp($rsvp); } - if (NULL !== $priority) { + if (null !== $priority) { $this->setPriority($priority); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $location) { + if (null !== $location) { $this->setLocation($location); } - if (NULL !== $percentComplete) { + if (null !== $percentComplete) { $this->setPercentComplete($percentComplete); } - if (NULL !== $completed) { + if (null !== $completed) { $this->setCompleted($completed); } - if (NULL !== $noBlob) { + if (null !== $noBlob) { $this->setNoBlob($noBlob); } - if (NULL !== $isOrganizer) { + if (null !== $isOrganizer) { $this->setIsOrganizer($isOrganizer); } - if (NULL !== $xUid) { + if (null !== $xUid) { $this->setXUid($xUid); } - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $sequence) { + if (null !== $sequence) { $this->setSequence($sequence); } - if (NULL !== $dateTime) { + if (null !== $dateTime) { $this->setDateTime($dateTime); } - if (NULL !== $calItemId) { + if (null !== $calItemId) { $this->setCalItemId($calItemId); } - if (NULL !== $deprecatedApptId) { + if (null !== $deprecatedApptId) { $this->setDeprecatedApptId($deprecatedApptId); } - if (NULL !== $calItemFolder) { + if (null !== $calItemFolder) { $this->setCalItemFolder($calItemFolder); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $isException) { + if (null !== $isException) { $this->setIsException($isException); } - if (NULL !== $recurIdZ) { + if (null !== $recurIdZ) { $this->setRecurIdZ($recurIdZ); } - if (NULL !== $isAllDay) { + if (null !== $isAllDay) { $this->setIsAllDay($isAllDay); } - if (NULL !== $isDraft) { + if (null !== $isDraft) { $this->setIsDraft($isDraft); } - if (NULL !== $neverSent) { + if (null !== $neverSent) { $this->setNeverSent($neverSent); } - if (NULL !== $changes) { + if (null !== $changes) { $this->setChanges($changes); } } diff --git a/src/Mail/Struct/InviteComponentWithGroupInfo.php b/src/Mail/Struct/InviteComponentWithGroupInfo.php index b44c9c3c7..763f23bd5 100644 --- a/src/Mail/Struct/InviteComponentWithGroupInfo.php +++ b/src/Mail/Struct/InviteComponentWithGroupInfo.php @@ -258,51 +258,51 @@ class InviteComponentWithGroupInfo extends InviteComponentCommon * @return self */ public function __construct( - ?string $method = NULL, - ?int $componentNum = NULL, - ?bool $rsvp = NULL, - ?string $priority = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?string $percentComplete = NULL, - ?string $completed = NULL, - ?bool $noBlob = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?FreeBusyStatus $freeBusy = NULL, - ?Transparency $transparency = NULL, - ?bool $isOrganizer = NULL, - ?string $xUid = NULL, - ?string $uid = NULL, - ?int $sequence = NULL, - ?int $dateTime = NULL, - ?string $calItemId = NULL, - ?string $deprecatedApptId = NULL, - ?string $calItemFolder = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?string $url = NULL, - ?bool $isException = NULL, - ?string $recurIdZ = NULL, - ?bool $isAllDay = NULL, - ?bool $isDraft = NULL, - ?bool $neverSent = NULL, - ?string $changes = NULL, + ?string $method = null, + ?int $componentNum = null, + ?bool $rsvp = null, + ?string $priority = null, + ?string $name = null, + ?string $location = null, + ?string $percentComplete = null, + ?string $completed = null, + ?bool $noBlob = null, + ?FreeBusyStatus $freeBusyActual = null, + ?FreeBusyStatus $freeBusy = null, + ?Transparency $transparency = null, + ?bool $isOrganizer = null, + ?string $xUid = null, + ?string $uid = null, + ?int $sequence = null, + ?int $dateTime = null, + ?string $calItemId = null, + ?string $deprecatedApptId = null, + ?string $calItemFolder = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?string $url = null, + ?bool $isException = null, + ?string $recurIdZ = null, + ?bool $isAllDay = null, + ?bool $isDraft = null, + ?bool $neverSent = null, + ?string $changes = null, array $categories = [], array $comments = [], array $contacts = [], - ?GeoInfoInterface $geo = NULL, + ?GeoInfoInterface $geo = null, array $attendees = [], array $alarms = [], array $xProps = [], - ?string $fragment = NULL, - ?string $description = NULL, - ?string $htmlDescription = NULL, - ?CalOrganizerInterface $organizer = NULL, - ?RecurrenceInfoInterface $recurrence = NULL, - ?ExceptionRecurIdInfoInterface $exceptionId = NULL, - ?DtTimeInfoInterface $dtStart = NULL, - ?DtTimeInfoInterface $dtEnd = NULL, - ?DurationInfoInterface $duration = NULL + ?string $fragment = null, + ?string $description = null, + ?string $htmlDescription = null, + ?CalOrganizerInterface $organizer = null, + ?RecurrenceInfoInterface $recurrence = null, + ?ExceptionRecurIdInfoInterface $exceptionId = null, + ?DtTimeInfoInterface $dtStart = null, + ?DtTimeInfoInterface $dtEnd = null, + ?DurationInfoInterface $duration = null ) { parent::__construct( @@ -349,13 +349,13 @@ public function __construct( $this->dtStart = $dtStart; $this->dtEnd = $dtEnd; $this->duration = $duration; - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } - if (NULL !== $description) { + if (null !== $description) { $this->setDescription($description); } - if (NULL !== $htmlDescription) { + if (null !== $htmlDescription) { $this->setHtmlDescription($htmlDescription); } } diff --git a/src/Mail/Struct/InviteInfo.php b/src/Mail/Struct/InviteInfo.php index cf998e356..5c601ea2f 100644 --- a/src/Mail/Struct/InviteInfo.php +++ b/src/Mail/Struct/InviteInfo.php @@ -81,9 +81,9 @@ class InviteInfo implements InviteInfoInterface * @return self */ public function __construct( - ?InviteType $calItemType = NULL, + ?InviteType $calItemType = null, array $timezones = [], - ?InviteComponent $inviteComponent = NULL, + ?InviteComponent $inviteComponent = null, array $calendarReplies = [] ) { diff --git a/src/Mail/Struct/InviteTest.php b/src/Mail/Struct/InviteTest.php index d6c3ba19b..9db52585c 100644 --- a/src/Mail/Struct/InviteTest.php +++ b/src/Mail/Struct/InviteTest.php @@ -42,8 +42,8 @@ class InviteTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, + ?int $index = null, + ?bool $negative = null, array $methods = [] ) { diff --git a/src/Mail/Struct/InviteWithGroupInfo.php b/src/Mail/Struct/InviteWithGroupInfo.php index d40b1c58c..13deabdb8 100644 --- a/src/Mail/Struct/InviteWithGroupInfo.php +++ b/src/Mail/Struct/InviteWithGroupInfo.php @@ -77,7 +77,7 @@ class InviteWithGroupInfo * @return self */ public function __construct( - ?InviteType $calItemType = NULL, + ?InviteType $calItemType = null, array $timezones = [], array $inviteComponents = [], array $calendarReplies = [] diff --git a/src/Mail/Struct/ItemSpec.php b/src/Mail/Struct/ItemSpec.php index bf262b1a4..b3b4235e5 100644 --- a/src/Mail/Struct/ItemSpec.php +++ b/src/Mail/Struct/ItemSpec.php @@ -77,19 +77,19 @@ class ItemSpec * @return self */ public function __construct( - ?string $id = NULL, ?string $folder = NULL, ?string $name = NULL, ?string $path = NULL + ?string $id = null, ?string $folder = null, ?string $name = null, ?string $path = null ) { - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $path) { + if (null !== $path) { $this->setPath($path); } } diff --git a/src/Mail/Struct/LegacyCalendaringData.php b/src/Mail/Struct/LegacyCalendaringData.php index 8d178e347..c9b446ac8 100644 --- a/src/Mail/Struct/LegacyCalendaringData.php +++ b/src/Mail/Struct/LegacyCalendaringData.php @@ -138,46 +138,46 @@ class LegacyCalendaringData extends CommonCalendaringData implements Calendaring public function __construct( string $xUid = '', string $uid = '', - ?CalOrganizer $organizer = NULL, + ?CalOrganizer $organizer = null, array $categories = [], - ?GeoInfo $geo = NULL, - ?string $fragment = NULL, + ?GeoInfo $geo = null, + ?string $fragment = null, array $instances = [], - ?AlarmDataInfo $alarmData = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $folderId = NULL, - ?int $size = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, - ?int $revision = NULL, - ?string $id = NULL, - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?AlarmDataInfo $alarmData = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $folderId = null, + ?int $size = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, + ?int $revision = null, + ?string $id = null, + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -223,7 +223,7 @@ public function __construct( $this->organizer = $organizer; $this->geo = $geo; $this->alarmData = $alarmData; - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/LegacyInstanceDataAttrs.php b/src/Mail/Struct/LegacyInstanceDataAttrs.php index 5325f2558..4ac86dd0f 100644 --- a/src/Mail/Struct/LegacyInstanceDataAttrs.php +++ b/src/Mail/Struct/LegacyInstanceDataAttrs.php @@ -66,31 +66,31 @@ class LegacyInstanceDataAttrs extends CommonInstanceDataAttrs * @return self */ public function __construct( - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -119,7 +119,7 @@ public function __construct( $taskDueDate, $taskTzOffsetDue ); - if (NULL !== $duration) { + if (null !== $duration) { $this->setDuration($duration); } } diff --git a/src/Mail/Struct/LegacyInstanceDataInfo.php b/src/Mail/Struct/LegacyInstanceDataInfo.php index 23d7a0cc7..58bcb46cd 100644 --- a/src/Mail/Struct/LegacyInstanceDataInfo.php +++ b/src/Mail/Struct/LegacyInstanceDataInfo.php @@ -128,37 +128,37 @@ class LegacyInstanceDataInfo extends LegacyInstanceDataAttrs implements Instance * @return self */ public function __construct( - ?int $startTime = NULL, - ?bool $isException = NULL, - ?CalOrganizer $organizer = NULL, + ?int $startTime = null, + ?bool $isException = null, + ?CalOrganizer $organizer = null, array $categories = [], - ?GeoInfo $geo = NULL, - ?string $fragment = NULL, - ?int $duration = NULL, - ?ParticipationStatus $partStat = NULL, - ?string $recurIdZ = NULL, - ?int $tzOffset = NULL, - ?FreeBusyStatus $freeBusyActual = NULL, - ?string $taskPercentComplete = NULL, - ?bool $isRecurring = NULL, - ?bool $hasExceptions = NULL, - ?string $priority = NULL, - ?FreeBusyStatus $freeBusyIntended = NULL, - ?Transparency $transparency = NULL, - ?string $name = NULL, - ?string $location = NULL, - ?bool $hasOtherAttendees = NULL, - ?bool $hasAlarm = NULL, - ?bool $isOrganizer = NULL, - ?string $invId = NULL, - ?int $componentNum = NULL, - ?InviteStatus $status = NULL, - ?InviteClass $calClass = NULL, - ?bool $allDay = NULL, - ?bool $draft = NULL, - ?bool $neverSent = NULL, - ?int $taskDueDate = NULL, - ?int $taskTzOffsetDue = NULL + ?GeoInfo $geo = null, + ?string $fragment = null, + ?int $duration = null, + ?ParticipationStatus $partStat = null, + ?string $recurIdZ = null, + ?int $tzOffset = null, + ?FreeBusyStatus $freeBusyActual = null, + ?string $taskPercentComplete = null, + ?bool $isRecurring = null, + ?bool $hasExceptions = null, + ?string $priority = null, + ?FreeBusyStatus $freeBusyIntended = null, + ?Transparency $transparency = null, + ?string $name = null, + ?string $location = null, + ?bool $hasOtherAttendees = null, + ?bool $hasAlarm = null, + ?bool $isOrganizer = null, + ?string $invId = null, + ?int $componentNum = null, + ?InviteStatus $status = null, + ?InviteClass $calClass = null, + ?bool $allDay = null, + ?bool $draft = null, + ?bool $neverSent = null, + ?int $taskDueDate = null, + ?int $taskTzOffsetDue = null ) { parent::__construct( @@ -191,13 +191,13 @@ public function __construct( $this->setCategories($categories); $this->organizer = $organizer; $this->geo = $geo; - if (NULL !== $startTime) { + if (null !== $startTime) { $this->setStartTime($startTime); } - if (NULL !== $isException) { + if (null !== $isException) { $this->setIsException($isException); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/LinkInfo.php b/src/Mail/Struct/LinkInfo.php index 02cb10bdb..a6252ee76 100644 --- a/src/Mail/Struct/LinkInfo.php +++ b/src/Mail/Struct/LinkInfo.php @@ -93,14 +93,14 @@ public function __construct( string $uuid = '', string $name = '', string $defaultView = '', - ?string $rights = NULL, + ?string $rights = null, ) { $this->setId($id) ->setUuid($uuid) ->setName($name) ->setDefaultView($defaultView); - if (NULL !== $rights) { + if (null !== $rights) { $this->setRights($rights); } } diff --git a/src/Mail/Struct/ListDocumentRevisionsSpec.php b/src/Mail/Struct/ListDocumentRevisionsSpec.php index 53a1ecab5..fb6730bc3 100644 --- a/src/Mail/Struct/ListDocumentRevisionsSpec.php +++ b/src/Mail/Struct/ListDocumentRevisionsSpec.php @@ -65,14 +65,14 @@ class ListDocumentRevisionsSpec * @return self */ public function __construct( - string $id = '', ?int $version = NULL, ?int $count = NULL + string $id = '', ?int $version = null, ?int $count = null ) { $this->setId($id); - if (NULL !== $version) { + if (null !== $version) { $this->setVersion($version); } - if (NULL !== $count) { + if (null !== $count) { $this->setCount($count); } } diff --git a/src/Mail/Struct/LogAction.php b/src/Mail/Struct/LogAction.php index 88f061039..c38c065be 100644 --- a/src/Mail/Struct/LogAction.php +++ b/src/Mail/Struct/LogAction.php @@ -53,12 +53,12 @@ class LogAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, ?LoggingLevel $level = NULL, ?string $content = NULL + ?int $index = null, ?LoggingLevel $level = null, ?string $content = null ) { parent::__construct($index); $this->level = $level; - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/MPInviteInfo.php b/src/Mail/Struct/MPInviteInfo.php index 630aaabe1..955c48a3a 100644 --- a/src/Mail/Struct/MPInviteInfo.php +++ b/src/Mail/Struct/MPInviteInfo.php @@ -78,7 +78,7 @@ class MPInviteInfo * @return self */ public function __construct( - ?InviteType $calItemType = NULL, + ?InviteType $calItemType = null, array $timezones = [], array $calendarReplies = [], array $inviteComponents = [] diff --git a/src/Mail/Struct/MailCustomMetadata.php b/src/Mail/Struct/MailCustomMetadata.php index 648eaec09..5b169f698 100644 --- a/src/Mail/Struct/MailCustomMetadata.php +++ b/src/Mail/Struct/MailCustomMetadata.php @@ -44,10 +44,10 @@ class MailCustomMetadata extends MailKeyValuePairs implements CustomMetadataInte * @param array $keyValuePairs * @return self */ - public function __construct(?string $section = NULL, array $keyValuePairs = []) + public function __construct(?string $section = null, array $keyValuePairs = []) { parent::__construct($keyValuePairs); - if (NULL !== $section) { + if (null !== $section) { $this->setSection($section); } } diff --git a/src/Mail/Struct/MailDataSource.php b/src/Mail/Struct/MailDataSource.php index 0224382e7..0ad6a71f0 100644 --- a/src/Mail/Struct/MailDataSource.php +++ b/src/Mail/Struct/MailDataSource.php @@ -405,126 +405,126 @@ class MailDataSource implements DataSource * @return self */ public function __construct( - ?string $id = NULL, - ?string $name = NULL, - ?string $folderId = NULL, - ?bool $enabled = NULL, - ?bool $importOnly = NULL, - ?string $host = NULL, - ?int $port = NULL, - ?ConnectionType $connectionType = NULL, - ?string $username = NULL, - ?string $password = NULL, - ?string $pollingInterval = NULL, - ?string $emailAddress = NULL, - ?bool $smtpEnabled = NULL, - ?string $smtpHost = NULL, - ?int $smtpPort = NULL, - ?ConnectionType $smtpConnectionType = NULL, - ?bool $smtpAuthRequired = NULL, - ?string $smtpUsername = NULL, - ?string $smtpPassword = NULL, - ?bool $useAddressForForwardReply = NULL, - ?string $defaultSignature = NULL, - ?string $forwardReplySignature = NULL, - ?string $fromDisplay = NULL, - ?string $replyToAddress = NULL, - ?string $replyToDisplay = NULL, - ?string $importClass = NULL, - ?int $failingSince = NULL, - ?string $lastError = NULL, - ?string $refreshToken = NULL, - ?string $refreshTokenUrl = NULL, + ?string $id = null, + ?string $name = null, + ?string $folderId = null, + ?bool $enabled = null, + ?bool $importOnly = null, + ?string $host = null, + ?int $port = null, + ?ConnectionType $connectionType = null, + ?string $username = null, + ?string $password = null, + ?string $pollingInterval = null, + ?string $emailAddress = null, + ?bool $smtpEnabled = null, + ?string $smtpHost = null, + ?int $smtpPort = null, + ?ConnectionType $smtpConnectionType = null, + ?bool $smtpAuthRequired = null, + ?string $smtpUsername = null, + ?string $smtpPassword = null, + ?bool $useAddressForForwardReply = null, + ?string $defaultSignature = null, + ?string $forwardReplySignature = null, + ?string $fromDisplay = null, + ?string $replyToAddress = null, + ?string $replyToDisplay = null, + ?string $importClass = null, + ?int $failingSince = null, + ?string $lastError = null, + ?string $refreshToken = null, + ?string $refreshTokenUrl = null, array $attributes = [] ) { $this->connectionType = $connectionType; $this->smtpConnectionType = $smtpConnectionType; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $enabled) { + if (null !== $enabled) { $this->setEnabled($enabled); } - if (NULL !== $importOnly) { + if (null !== $importOnly) { $this->setImportOnly($importOnly); } - if (NULL !== $host) { + if (null !== $host) { $this->setHost($host); } - if (NULL !== $port) { + if (null !== $port) { $this->setPort($port); } - if (NULL !== $username) { + if (null !== $username) { $this->setUsername($username); } - if (NULL !== $password) { + if (null !== $password) { $this->setPassword($password); } - if (NULL !== $pollingInterval) { + if (null !== $pollingInterval) { $this->setPollingInterval($pollingInterval); } - if (NULL !== $emailAddress) { + if (null !== $emailAddress) { $this->setEmailAddress($emailAddress); } - if (NULL !== $smtpEnabled) { + if (null !== $smtpEnabled) { $this->setSmtpEnabled($smtpEnabled); } - if (NULL !== $smtpHost) { + if (null !== $smtpHost) { $this->setSmtpHost($smtpHost); } - if (NULL !== $smtpPort) { + if (null !== $smtpPort) { $this->setSmtpPort($smtpPort); } - if (NULL !== $smtpAuthRequired) { + if (null !== $smtpAuthRequired) { $this->setSmtpAuthRequired($smtpAuthRequired); } - if (NULL !== $smtpUsername) { + if (null !== $smtpUsername) { $this->setSmtpUsername($smtpUsername); } - if (NULL !== $smtpPassword) { + if (null !== $smtpPassword) { $this->setSmtpPassword($smtpPassword); } - if (NULL !== $useAddressForForwardReply) { + if (null !== $useAddressForForwardReply) { $this->setUseAddressForForwardReply($useAddressForForwardReply); } - if (NULL !== $defaultSignature) { + if (null !== $defaultSignature) { $this->setDefaultSignature($defaultSignature); } - if (NULL !== $forwardReplySignature) { + if (null !== $forwardReplySignature) { $this->setForwardReplySignature($forwardReplySignature); } - if (NULL !== $fromDisplay) { + if (null !== $fromDisplay) { $this->setFromDisplay($fromDisplay); } - if (NULL !== $replyToAddress) { + if (null !== $replyToAddress) { $this->setReplyToAddress($replyToAddress); } - if (NULL !== $replyToDisplay) { + if (null !== $replyToDisplay) { $this->setReplyToDisplay($replyToDisplay); } - if (NULL !== $importClass) { + if (null !== $importClass) { $this->setImportClass($importClass); } - if (NULL !== $failingSince) { + if (null !== $failingSince) { $this->setFailingSince($failingSince); } - if (NULL !== $lastError) { + if (null !== $lastError) { $this->setLastError($lastError); } - if (NULL !== $refreshToken) { + if (null !== $refreshToken) { $this->setRefreshToken($refreshToken); } - if (NULL !== $refreshTokenUrl) { + if (null !== $refreshTokenUrl) { $this->setRefreshTokenUrl($refreshTokenUrl); } - if (NULL !== $attributes) { + if (null !== $attributes) { $this->setAttributes($attributes); } } diff --git a/src/Mail/Struct/MeTest.php b/src/Mail/Struct/MeTest.php index 2a17892b0..af99bae41 100644 --- a/src/Mail/Struct/MeTest.php +++ b/src/Mail/Struct/MeTest.php @@ -43,13 +43,13 @@ class MeTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $header = NULL + ?int $index = null, + ?bool $negative = null, + ?string $header = null ) { parent::__construct($index, $negative); - if (NULL !== $header) { + if (null !== $header) { $this->setHeader($header); } } diff --git a/src/Mail/Struct/MessageCommon.php b/src/Mail/Struct/MessageCommon.php index 1eaa87d00..8c029c79a 100644 --- a/src/Mail/Struct/MessageCommon.php +++ b/src/Mail/Struct/MessageCommon.php @@ -163,48 +163,48 @@ class MessageCommon implements MessageCommonInterface * @return self */ public function __construct( - ?int $size = NULL, - ?int $date = NULL, - ?string $folder = NULL, - ?string $conversationId = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $revision = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?int $size = null, + ?int $date = null, + ?string $folder = null, + ?string $conversationId = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $revision = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [] ) { $this->setMetadatas($metadatas); - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $conversationId) { + if (null !== $conversationId) { $this->setConversationId($conversationId); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } } diff --git a/src/Mail/Struct/MessageHitInfo.php b/src/Mail/Struct/MessageHitInfo.php index 5d93f5085..80d92f0da 100644 --- a/src/Mail/Struct/MessageHitInfo.php +++ b/src/Mail/Struct/MessageHitInfo.php @@ -99,40 +99,40 @@ class MessageHitInfo extends MessageInfo implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?bool $contentMatched = NULL, + ?string $id = null, + ?string $sortField = null, + ?bool $contentMatched = null, array $messagePartHits = [], - ?int $imapUid = NULL, - ?string $calendarIntendedFor = NULL, - ?string $origId = NULL, - ?ReplyType $draftReplyType = NULL, - ?string $identityId = NULL, - ?string $draftAccountId = NULL, - ?int $draftAutoSendTime = NULL, - ?int $sentDate = NULL, - ?int $resentDate = NULL, - ?string $part = NULL, - ?string $fragment = NULL, + ?int $imapUid = null, + ?string $calendarIntendedFor = null, + ?string $origId = null, + ?ReplyType $draftReplyType = null, + ?string $identityId = null, + ?string $draftAccountId = null, + ?int $draftAutoSendTime = null, + ?int $sentDate = null, + ?int $resentDate = null, + ?string $part = null, + ?string $fragment = null, array $emails = [], - ?string $subject = NULL, - ?string $messageIdHeader = NULL, - ?string $inReplyTo = NULL, - ?InviteInfo $invite = NULL, + ?string $subject = null, + ?string $messageIdHeader = null, + ?string $inReplyTo = null, + ?InviteInfo $invite = null, array $headers = [], array $partInfos = [], array $shareNotifications = [], array $dlSubs = [], - ?int $size = NULL, - ?int $date = NULL, - ?string $folder = NULL, - ?string $conversationId = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $revision = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?int $size = null, + ?int $date = null, + ?string $folder = null, + ?string $conversationId = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $revision = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [] ) { @@ -171,10 +171,10 @@ public function __construct( $metadatas ); $this->setMessagePartHits($messagePartHits); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $contentMatched) { + if (null !== $contentMatched) { $this->setContentMatched($contentMatched); } } diff --git a/src/Mail/Struct/MessageInfo.php b/src/Mail/Struct/MessageInfo.php index 6b130cf53..630e28e18 100644 --- a/src/Mail/Struct/MessageInfo.php +++ b/src/Mail/Struct/MessageInfo.php @@ -290,37 +290,37 @@ class MessageInfo extends MessageCommon implements MessageInfoInterface * @return self */ public function __construct( - ?string $id = NULL, - ?int $imapUid = NULL, - ?string $calendarIntendedFor = NULL, - ?string $origId = NULL, - ?ReplyType $draftReplyType = NULL, - ?string $identityId = NULL, - ?string $draftAccountId = NULL, - ?int $draftAutoSendTime = NULL, - ?int $sentDate = NULL, - ?int $resentDate = NULL, - ?string $part = NULL, - ?string $fragment = NULL, + ?string $id = null, + ?int $imapUid = null, + ?string $calendarIntendedFor = null, + ?string $origId = null, + ?ReplyType $draftReplyType = null, + ?string $identityId = null, + ?string $draftAccountId = null, + ?int $draftAutoSendTime = null, + ?int $sentDate = null, + ?int $resentDate = null, + ?string $part = null, + ?string $fragment = null, array $emails = [], - ?string $subject = NULL, - ?string $messageIdHeader = NULL, - ?string $inReplyTo = NULL, - ?InviteInfo $invite = NULL, + ?string $subject = null, + ?string $messageIdHeader = null, + ?string $inReplyTo = null, + ?InviteInfo $invite = null, array $headers = [], array $partInfos = [], array $shareNotifications = [], array $dlSubs = [], - ?int $size = NULL, - ?int $date = NULL, - ?string $folder = NULL, - ?string $conversationId = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?int $revision = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?int $size = null, + ?int $date = null, + ?string $folder = null, + ?string $conversationId = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?int $revision = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [] ) { @@ -345,46 +345,46 @@ public function __construct( ->setDlSubs($dlSubs); $this->draftReplyType = $draftReplyType; $this->invite = $invite; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $imapUid) { + if (null !== $imapUid) { $this->setImapUid($imapUid); } - if (NULL !== $calendarIntendedFor) { + if (null !== $calendarIntendedFor) { $this->setCalendarIntendedFor($calendarIntendedFor); } - if (NULL !== $origId) { + if (null !== $origId) { $this->setOrigId($origId); } - if (NULL !== $identityId) { + if (null !== $identityId) { $this->setIdentityId($identityId); } - if (NULL !== $draftAccountId) { + if (null !== $draftAccountId) { $this->setDraftAccountId($draftAccountId); } - if (NULL !== $draftAutoSendTime) { + if (null !== $draftAutoSendTime) { $this->setDraftAutoSendTime($draftAutoSendTime); } - if (NULL !== $sentDate) { + if (null !== $sentDate) { $this->setSentDate($sentDate); } - if (NULL !== $resentDate) { + if (null !== $resentDate) { $this->setResentDate($resentDate); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $messageIdHeader) { + if (null !== $messageIdHeader) { $this->setMessageIdHeader($messageIdHeader); } - if (NULL !== $inReplyTo) { + if (null !== $inReplyTo) { $this->setInReplyTo($inReplyTo); } } @@ -748,7 +748,7 @@ public function setInReplyTo(string $inReplyTo): self public function getInvite(): ?InviteInfo { $invite = $this->getInvitInterface(); - return ($invite instanceof InviteInfo) ? $invite : NULL; + return ($invite instanceof InviteInfo) ? $invite : null; } /** diff --git a/src/Mail/Struct/MessagePartHitInfo.php b/src/Mail/Struct/MessagePartHitInfo.php index dfb18e441..2b4a68bfa 100644 --- a/src/Mail/Struct/MessagePartHitInfo.php +++ b/src/Mail/Struct/MessagePartHitInfo.php @@ -162,48 +162,48 @@ class MessagePartHitInfo implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?int $conversationId = NULL, - ?int $messageId = NULL, - ?string $contentType = NULL, - ?string $contentName = NULL, - ?string $part = NULL, - ?EmailInfo $email = NULL, - ?string $subject = NULL + ?string $id = null, + ?string $sortField = null, + ?int $size = null, + ?int $date = null, + ?int $conversationId = null, + ?int $messageId = null, + ?string $contentType = null, + ?string $contentName = null, + ?string $part = null, + ?EmailInfo $email = null, + ?string $subject = null ) { $this->email = $email; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $conversationId) { + if (null !== $conversationId) { $this->setConversationId($conversationId); } - if (NULL !== $messageId) { + if (null !== $messageId) { $this->setMessageId($messageId); } - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $contentName) { + if (null !== $contentName) { $this->setContentName($contentName); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } } diff --git a/src/Mail/Struct/MessageSummary.php b/src/Mail/Struct/MessageSummary.php index 118440d70..f319f0118 100644 --- a/src/Mail/Struct/MessageSummary.php +++ b/src/Mail/Struct/MessageSummary.php @@ -101,23 +101,23 @@ class MessageSummary extends MessageCommon */ public function __construct( string $id = '', - ?int $autoSendTime = NULL, + ?int $autoSendTime = null, array $emails = [], - ?string $subject = NULL, - ?string $fragment = NULL, - ?InviteInfo $invite = NULL + ?string $subject = null, + ?string $fragment = null, + ?InviteInfo $invite = null ) { $this->setId($id) ->setEmails($emails); $this->invite = $invite; - if (NULL !== $autoSendTime) { + if (null !== $autoSendTime) { $this->setAutoSendTime($autoSendTime); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/MimeHeaderTest.php b/src/Mail/Struct/MimeHeaderTest.php index 320f04255..dbfc12d70 100644 --- a/src/Mail/Struct/MimeHeaderTest.php +++ b/src/Mail/Struct/MimeHeaderTest.php @@ -79,23 +79,23 @@ class MimeHeaderTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?string $headers = NULL, - ?StringComparison $stringComparison = NULL, - ?string $value = NULL, - ?bool $caseSensitive = NULL + ?int $index = null, + ?bool $negative = null, + ?string $headers = null, + ?StringComparison $stringComparison = null, + ?string $value = null, + ?bool $caseSensitive = null ) { parent::__construct($index, $negative); $this->stringComparison = $stringComparison; - if (NULL !== $headers) { + if (null !== $headers) { $this->setHeaders($headers); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } - if (NULL !== $caseSensitive) { + if (null !== $caseSensitive) { $this->setCaseSensitive($caseSensitive); } } diff --git a/src/Mail/Struct/MimePartAttachSpec.php b/src/Mail/Struct/MimePartAttachSpec.php index fa0821531..c5bb68405 100644 --- a/src/Mail/Struct/MimePartAttachSpec.php +++ b/src/Mail/Struct/MimePartAttachSpec.php @@ -54,7 +54,7 @@ class MimePartAttachSpec extends AttachSpec * @return self */ public function __construct( - string $messageId = '', string $part = '', ?bool $optional = NULL + string $messageId = '', string $part = '', ?bool $optional = null ) { parent::__construct($optional); diff --git a/src/Mail/Struct/MimePartInfo.php b/src/Mail/Struct/MimePartInfo.php index d30ed6b86..5db4aee18 100644 --- a/src/Mail/Struct/MimePartInfo.php +++ b/src/Mail/Struct/MimePartInfo.php @@ -88,22 +88,22 @@ class MimePartInfo * @return self */ public function __construct( - ?string $contentType = NULL, - ?string $content = NULL, - ?string $contentId = NULL, - ?AttachmentsInfo $attachments = NULL, + ?string $contentType = null, + ?string $content = null, + ?string $contentId = null, + ?AttachmentsInfo $attachments = null, array $mimeParts = [] ) { $this->setMimeParts($mimeParts); $this->attachments = $attachments; - if (NULL !== $contentType) { + if (null !== $contentType) { $this->setContentType($contentType); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } - if (NULL !== $contentId) { + if (null !== $contentId) { $this->setContentId($contentId); } } diff --git a/src/Mail/Struct/MiniCalError.php b/src/Mail/Struct/MiniCalError.php index 979f61fc5..81acf60a8 100644 --- a/src/Mail/Struct/MiniCalError.php +++ b/src/Mail/Struct/MiniCalError.php @@ -66,12 +66,12 @@ class MiniCalError public function __construct( string $id = '', string $code = '', - ?string $errorMessage = NULL + ?string $errorMessage = null ) { $this->setId($id) ->setCode($code); - if (NULL !== $errorMessage) { + if (null !== $errorMessage) { $this->setErrorMessage($errorMessage); } } diff --git a/src/Mail/Struct/Misspelling.php b/src/Mail/Struct/Misspelling.php index c34f13bf4..db465ba41 100644 --- a/src/Mail/Struct/Misspelling.php +++ b/src/Mail/Struct/Misspelling.php @@ -54,10 +54,10 @@ class Misspelling * @param string $suggestions * @return self */ - public function __construct(string $word = '', ?string $suggestions = NULL) + public function __construct(string $word = '', ?string $suggestions = null) { $this->setWord($word); - if (NULL !== $suggestions) { + if (null !== $suggestions) { $this->setSuggestions($suggestions); } } diff --git a/src/Mail/Struct/ModifyContactAttr.php b/src/Mail/Struct/ModifyContactAttr.php index 1e796f2ea..700593ea1 100644 --- a/src/Mail/Struct/ModifyContactAttr.php +++ b/src/Mail/Struct/ModifyContactAttr.php @@ -48,11 +48,11 @@ class ModifyContactAttr extends NewContactAttr */ public function __construct( string $name = '', - ?string $operation = NULL, - ?string $attachId = NULL, - ?int $id = NULL, - ?string $part = NULL, - ?string $value = NULL + ?string $operation = null, + ?string $attachId = null, + ?int $id = null, + ?string $part = null, + ?string $value = null ) { parent::__construct( @@ -62,7 +62,7 @@ public function __construct( $part, $value ); - if (NULL !== $operation) { + if (null !== $operation) { $this->setOperation($operation); } } diff --git a/src/Mail/Struct/ModifyContactGroupMember.php b/src/Mail/Struct/ModifyContactGroupMember.php index 5a59d4dd3..0a3e091fe 100644 --- a/src/Mail/Struct/ModifyContactGroupMember.php +++ b/src/Mail/Struct/ModifyContactGroupMember.php @@ -44,8 +44,8 @@ class ModifyContactGroupMember extends NewContactGroupMember * @return self */ public function __construct( - ?ModifyGroupMemberOperation $operation = NULL, - ?MemberType $type = NULL, + ?ModifyGroupMemberOperation $operation = null, + ?MemberType $type = null, string $value = '' ) { diff --git a/src/Mail/Struct/ModifyContactSpec.php b/src/Mail/Struct/ModifyContactSpec.php index 95798e54e..f91c953f9 100644 --- a/src/Mail/Struct/ModifyContactSpec.php +++ b/src/Mail/Struct/ModifyContactSpec.php @@ -76,18 +76,18 @@ class ModifyContactSpec * @return self */ public function __construct( - ?int $id = NULL, - ?string $tagNames = NULL, + ?int $id = null, + ?string $tagNames = null, array $attrs = [], array $contactGroupMembers = [] ) { $this->setAttrs($attrs) ->setContactGroupMembers($contactGroupMembers); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } } diff --git a/src/Mail/Struct/ModifySearchFolderSpec.php b/src/Mail/Struct/ModifySearchFolderSpec.php index ba1d9e900..2546c72e9 100644 --- a/src/Mail/Struct/ModifySearchFolderSpec.php +++ b/src/Mail/Struct/ModifySearchFolderSpec.php @@ -80,14 +80,14 @@ class ModifySearchFolderSpec public function __construct( string $id = '', string $query = '', - ?string $searchTypes = NULL, - ?SearchSortBy $sortBy = NULL + ?string $searchTypes = null, + ?SearchSortBy $sortBy = null ) { $this->setId($id) ->setQuery($query); $this->sortBy = $sortBy; - if (NULL !== $searchTypes) { + if (null !== $searchTypes) { $this->setSearchTypes($searchTypes); } } diff --git a/src/Mail/Struct/Mountpoint.php b/src/Mail/Struct/Mountpoint.php index 0cfe26673..b92166ba0 100644 --- a/src/Mail/Struct/Mountpoint.php +++ b/src/Mail/Struct/Mountpoint.php @@ -117,35 +117,35 @@ class Mountpoint extends Folder public function __construct( string $id = '', string $uuid = '', - ?string $ownerEmail = NULL, - ?string $ownerAccountId = NULL, - ?int $remoteFolderId = NULL, - ?string $remoteUuid = NULL, - ?string $remoteFolderName = NULL, - ?bool $reminderEnabled = NULL, - ?bool $broken = NULL + ?string $ownerEmail = null, + ?string $ownerAccountId = null, + ?int $remoteFolderId = null, + ?string $remoteUuid = null, + ?string $remoteFolderName = null, + ?bool $reminderEnabled = null, + ?bool $broken = null ) { parent::__construct($id, $uuid); - if (NULL !== $ownerEmail) { + if (null !== $ownerEmail) { $this->setOwnerEmail($ownerEmail); } - if (NULL !== $ownerAccountId) { + if (null !== $ownerAccountId) { $this->setOwnerAccountId($ownerAccountId); } - if (NULL !== $remoteFolderId) { + if (null !== $remoteFolderId) { $this->setRemoteFolderId($remoteFolderId); } - if (NULL !== $remoteUuid) { + if (null !== $remoteUuid) { $this->setRemoteUuid($remoteUuid); } - if (NULL !== $remoteFolderName) { + if (null !== $remoteFolderName) { $this->setRemoteFolderName($remoteFolderName); } - if (NULL !== $reminderEnabled) { + if (null !== $reminderEnabled) { $this->setReminderEnabled($reminderEnabled); } - if (NULL !== $broken) { + if (null !== $broken) { $this->setBroken($broken); } } diff --git a/src/Mail/Struct/Msg.php b/src/Mail/Struct/Msg.php index 3d4ecacaf..101541a52 100644 --- a/src/Mail/Struct/Msg.php +++ b/src/Mail/Struct/Msg.php @@ -219,22 +219,22 @@ class Msg * @return self */ public function __construct( - ?string $attachmentId = NULL, - ?string $origId = NULL, - ?ReplyType $replyType = NULL, - ?string $identityId = NULL, - ?string $subject = NULL, + ?string $attachmentId = null, + ?string $origId = null, + ?ReplyType $replyType = null, + ?string $identityId = null, + ?string $subject = null, array $headers = [], - ?string $inReplyTo = NULL, - ?string $folderId = NULL, - ?string $flags = NULL, - ?string $content = NULL, - ?MimePartInfo $mimePart = NULL, - ?AttachmentsInfo $attachments = NULL, - ?InvitationInfo $invite = NULL, + ?string $inReplyTo = null, + ?string $folderId = null, + ?string $flags = null, + ?string $content = null, + ?MimePartInfo $mimePart = null, + ?AttachmentsInfo $attachments = null, + ?InvitationInfo $invite = null, array $emailAddresses = [], array $timezones = [], - ?string $fragment = NULL + ?string $fragment = null ) { $this->setHeaders($headers) @@ -244,31 +244,31 @@ public function __construct( $this->mimePart = $mimePart; $this->attachments = $attachments; $this->invite = $invite; - if (NULL !== $attachmentId) { + if (null !== $attachmentId) { $this->setAttachmentId($attachmentId); } - if (NULL !== $origId) { + if (null !== $origId) { $this->setOrigId($origId); } - if (NULL !== $identityId) { + if (null !== $identityId) { $this->setIdentityId($identityId); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $inReplyTo) { + if (null !== $inReplyTo) { $this->setInReplyTo($inReplyTo); } - if (NULL !== $folderId) { + if (null !== $folderId) { $this->setFolderId($folderId); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } } diff --git a/src/Mail/Struct/MsgAttachSpec.php b/src/Mail/Struct/MsgAttachSpec.php index 7410abce4..9784938d3 100644 --- a/src/Mail/Struct/MsgAttachSpec.php +++ b/src/Mail/Struct/MsgAttachSpec.php @@ -41,7 +41,7 @@ class MsgAttachSpec extends AttachSpec * @param bool $optional * @return self */ - public function __construct(string $id = '', ?bool $optional = NULL) + public function __construct(string $id = '', ?bool $optional = null) { parent::__construct($optional); $this->setId($id); diff --git a/src/Mail/Struct/MsgSpec.php b/src/Mail/Struct/MsgSpec.php index f34fe022e..54333896a 100644 --- a/src/Mail/Struct/MsgSpec.php +++ b/src/Mail/Struct/MsgSpec.php @@ -216,58 +216,58 @@ class MsgSpec * @return self */ public function __construct( - ?string $id = NULL, - ?string $part = NULL, - ?bool $raw = NULL, - ?bool $markRead = NULL, - ?int $maxInlinedLength = NULL, - ?bool $useContentUrl = NULL, - ?bool $wantHtml = NULL, - ?bool $wantImapUid = NULL, - ?bool $wantModifiedSequence = NULL, - ?bool $neuter = NULL, - ?string $recurIdZ = NULL, - ?bool $needCanExpand = NULL, - ?MsgContent $wantContent = NULL, + ?string $id = null, + ?string $part = null, + ?bool $raw = null, + ?bool $markRead = null, + ?int $maxInlinedLength = null, + ?bool $useContentUrl = null, + ?bool $wantHtml = null, + ?bool $wantImapUid = null, + ?bool $wantModifiedSequence = null, + ?bool $neuter = null, + ?string $recurIdZ = null, + ?bool $needCanExpand = null, + ?MsgContent $wantContent = null, array $headers = [] ) { $this->setHeaders($headers); $this->wantContent = $wantContent; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $raw) { + if (null !== $raw) { $this->setRaw($raw); } - if (NULL !== $markRead) { + if (null !== $markRead) { $this->setMarkRead($markRead); } - if (NULL !== $maxInlinedLength) { + if (null !== $maxInlinedLength) { $this->setMaxInlinedLength($maxInlinedLength); } - if (NULL !== $useContentUrl) { + if (null !== $useContentUrl) { $this->setUseContentUrl($useContentUrl); } - if (NULL !== $wantHtml) { + if (null !== $wantHtml) { $this->setWantHtml($wantHtml); } - if (NULL !== $wantImapUid) { + if (null !== $wantImapUid) { $this->setWantImapUid($wantImapUid); } - if (NULL !== $wantModifiedSequence) { + if (null !== $wantModifiedSequence) { $this->setWantModifiedSequence($wantModifiedSequence); } - if (NULL !== $neuter) { + if (null !== $neuter) { $this->setNeuter($neuter); } - if (NULL !== $recurIdZ) { + if (null !== $recurIdZ) { $this->setRecurIdZ($recurIdZ); } - if (NULL !== $needCanExpand) { + if (null !== $needCanExpand) { $this->setNeedCanExpand($needCanExpand); } } diff --git a/src/Mail/Struct/MsgToSend.php b/src/Mail/Struct/MsgToSend.php index 07d9ec001..73b248447 100644 --- a/src/Mail/Struct/MsgToSend.php +++ b/src/Mail/Struct/MsgToSend.php @@ -83,25 +83,25 @@ class MsgToSend extends Msg * @return self */ public function __construct( - ?string $attachmentId = NULL, - ?string $origId = NULL, - ?ReplyType $replyType = NULL, - ?string $identityId = NULL, - ?string $subject = NULL, + ?string $attachmentId = null, + ?string $origId = null, + ?ReplyType $replyType = null, + ?string $identityId = null, + ?string $subject = null, array $headers = [], - ?string $inReplyTo = NULL, - ?string $folderId = NULL, - ?string $flags = NULL, - ?string $content = NULL, - ?MimePartInfo $mimePart = NULL, - ?AttachmentsInfo $attachments = NULL, - ?InvitationInfo $invite = NULL, + ?string $inReplyTo = null, + ?string $folderId = null, + ?string $flags = null, + ?string $content = null, + ?MimePartInfo $mimePart = null, + ?AttachmentsInfo $attachments = null, + ?InvitationInfo $invite = null, array $emailAddresses = [], array $timezones = [], - ?string $fragment = NULL, - ?string $draftId = NULL, - ?bool $sendFromDraft = NULL, - ?string $dataSourceId = NULL + ?string $fragment = null, + ?string $draftId = null, + ?bool $sendFromDraft = null, + ?string $dataSourceId = null ) { parent::__construct( @@ -122,13 +122,13 @@ public function __construct( $timezones, $fragment ); - if (NULL !== $draftId) { + if (null !== $draftId) { $this->setDraftId($draftId); } - if (NULL !== $sendFromDraft) { + if (null !== $sendFromDraft) { $this->setSendFromDraft($sendFromDraft); } - if (NULL !== $dataSourceId) { + if (null !== $dataSourceId) { $this->setDataSourceId($dataSourceId); } } diff --git a/src/Mail/Struct/MsgWithGroupInfo.php b/src/Mail/Struct/MsgWithGroupInfo.php index a8ea5f00b..bcb5ccb5c 100644 --- a/src/Mail/Struct/MsgWithGroupInfo.php +++ b/src/Mail/Struct/MsgWithGroupInfo.php @@ -291,32 +291,32 @@ class MsgWithGroupInfo extends MessageCommon * @param PartInfo $mimePart * @param ShareNotification $shr * @param DLSubscriptionNotification $dlSubs - * @param UrlAndValue $content = NULL + * @param UrlAndValue $content = null * @return self */ public function __construct( - ?string $id = NULL, - ?int $imapUid = NULL, - ?string $calendarIntendedFor = NULL, - ?string $origId = NULL, - ?ReplyType $draftReplyType = NULL, - ?string $identityId = NULL, - ?string $draftAccountId = NULL, - ?int $draftAutoSendTime = NULL, - ?int $sentDate = NULL, - ?int $resentDate = NULL, - ?string $part = NULL, - ?string $fragment = NULL, + ?string $id = null, + ?int $imapUid = null, + ?string $calendarIntendedFor = null, + ?string $origId = null, + ?ReplyType $draftReplyType = null, + ?string $identityId = null, + ?string $draftAccountId = null, + ?int $draftAutoSendTime = null, + ?int $sentDate = null, + ?int $resentDate = null, + ?string $part = null, + ?string $fragment = null, array $emails = [], - ?string $subject = NULL, - ?string $messageIdHeader = NULL, - ?string $inReplyTo = NULL, - ?InviteWithGroupInfo $invite = NULL, + ?string $subject = null, + ?string $messageIdHeader = null, + ?string $inReplyTo = null, + ?InviteWithGroupInfo $invite = null, array $headers = [], - ?PartInfo $mimePart = NULL, - ?ShareNotification $shr = NULL, - ?DLSubscriptionNotification $dlSubs = NULL, - ?UrlAndValue $content = NULL + ?PartInfo $mimePart = null, + ?ShareNotification $shr = null, + ?DLSubscriptionNotification $dlSubs = null, + ?UrlAndValue $content = null ) { $this->setHeaders($headers) @@ -327,46 +327,46 @@ public function __construct( $this->shr = $shr; $this->dlSubs = $dlSubs; $this->content = $content; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $imapUid) { + if (null !== $imapUid) { $this->setImapUid($imapUid); } - if (NULL !== $calendarIntendedFor) { + if (null !== $calendarIntendedFor) { $this->setCalendarIntendedFor($calendarIntendedFor); } - if (NULL !== $origId) { + if (null !== $origId) { $this->setOrigId($origId); } - if (NULL !== $identityId) { + if (null !== $identityId) { $this->setIdentityId($identityId); } - if (NULL !== $draftAccountId) { + if (null !== $draftAccountId) { $this->setDraftAccountId($draftAccountId); } - if (NULL !== $draftAutoSendTime) { + if (null !== $draftAutoSendTime) { $this->setDraftAutoSendTime($draftAutoSendTime); } - if (NULL !== $sentDate) { + if (null !== $sentDate) { $this->setSentDate($sentDate); } - if (NULL !== $resentDate) { + if (null !== $resentDate) { $this->setResentDate($resentDate); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $fragment) { + if (null !== $fragment) { $this->setFragment($fragment); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $messageIdHeader) { + if (null !== $messageIdHeader) { $this->setMessageIdHeader($messageIdHeader); } - if (NULL !== $inReplyTo) { + if (null !== $inReplyTo) { $this->setInReplyTo($inReplyTo); } } diff --git a/src/Mail/Struct/NameOrId.php b/src/Mail/Struct/NameOrId.php index ade721ae7..7fb6ac68e 100644 --- a/src/Mail/Struct/NameOrId.php +++ b/src/Mail/Struct/NameOrId.php @@ -52,12 +52,12 @@ class NameOrId * @param string $id * @return self */ - public function __construct(?string $name = NULL, ?string $id = NULL) + public function __construct(?string $name = null, ?string $id = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } } @@ -113,6 +113,6 @@ public static function createForName(string $name): NameOrId public static function createForId(string $id): NameOrId { - return new self(NULL, $id); + return new self(null, $id); } } diff --git a/src/Mail/Struct/NestedRule.php b/src/Mail/Struct/NestedRule.php index 067ebb941..f5236f554 100644 --- a/src/Mail/Struct/NestedRule.php +++ b/src/Mail/Struct/NestedRule.php @@ -77,10 +77,10 @@ class NestedRule * @return self */ public function __construct( - ?FilterTests $tests = NULL, - ?FilterVariables $filterVariables = NULL, + ?FilterTests $tests = null, + ?FilterVariables $filterVariables = null, array $actions = [], - ?NestedRule $child = NULL + ?NestedRule $child = null ) { $this->setFilterActions($actions); diff --git a/src/Mail/Struct/NestedSearchConversation.php b/src/Mail/Struct/NestedSearchConversation.php index d276a6ed8..daefda25f 100644 --- a/src/Mail/Struct/NestedSearchConversation.php +++ b/src/Mail/Struct/NestedSearchConversation.php @@ -128,34 +128,34 @@ class NestedSearchConversation * @return self */ public function __construct( - ?string $id = NULL, - ?int $num = NULL, - ?int $totalSize = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, + ?string $id = null, + ?int $num = null, + ?int $totalSize = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, array $messages = [], - ?SearchQueryInfo $queryInfo = NULL + ?SearchQueryInfo $queryInfo = null ) { $this->setMessages($messages); $this->queryInfo = $queryInfo; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $num) { + if (null !== $num) { $this->setNum($num); } - if (NULL !== $totalSize) { + if (null !== $totalSize) { $this->setTotalSize($totalSize); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } } diff --git a/src/Mail/Struct/NewContactAttr.php b/src/Mail/Struct/NewContactAttr.php index 93fa83653..45839ecad 100644 --- a/src/Mail/Struct/NewContactAttr.php +++ b/src/Mail/Struct/NewContactAttr.php @@ -92,20 +92,20 @@ class NewContactAttr * @return self */ public function __construct( - string $name = '', ?string $attachId = NULL, ?int $id = NULL, ?string $part = NULL, ?string $value = NULL + string $name = '', ?string $attachId = null, ?int $id = null, ?string $part = null, ?string $value = null ) { $this->setName($name); - if (NULL !== $attachId) { + if (null !== $attachId) { $this->setAttachId($attachId); } - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/NewContactGroupMember.php b/src/Mail/Struct/NewContactGroupMember.php index 1961341bd..24973a804 100644 --- a/src/Mail/Struct/NewContactGroupMember.php +++ b/src/Mail/Struct/NewContactGroupMember.php @@ -60,7 +60,7 @@ class NewContactGroupMember * @return self */ public function __construct( - ?MemberType $type = NULL, string $value = '' + ?MemberType $type = null, string $value = '' ) { $this->setType($type ?? MemberType::CONTACT) diff --git a/src/Mail/Struct/NewFolderSpec.php b/src/Mail/Struct/NewFolderSpec.php index 7f464400f..c93829c0f 100644 --- a/src/Mail/Struct/NewFolderSpec.php +++ b/src/Mail/Struct/NewFolderSpec.php @@ -154,13 +154,13 @@ class NewFolderSpec public function __construct( string $name = '', string $parentFolderId = '', - ?ViewType $defaultView = NULL, - ?string $flags = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?string $url = NULL, - ?bool $fetchIfExists = NULL, - ?bool $syncToUrl = NULL, + ?ViewType $defaultView = null, + ?string $flags = null, + ?int $color = null, + ?string $rgb = null, + ?string $url = null, + ?bool $fetchIfExists = null, + ?bool $syncToUrl = null, array $grants = [] ) { @@ -168,22 +168,22 @@ public function __construct( ->setParentFolderId($parentFolderId) ->setGrants($grants); $this->defaultView = $defaultView; - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $fetchIfExists) { + if (null !== $fetchIfExists) { $this->setFetchIfExists($fetchIfExists); } - if (NULL !== $syncToUrl) { + if (null !== $syncToUrl) { $this->setSyncToUrl($syncToUrl); } } diff --git a/src/Mail/Struct/NewMountpointSpec.php b/src/Mail/Struct/NewMountpointSpec.php index f1007f095..3e373346d 100644 --- a/src/Mail/Struct/NewMountpointSpec.php +++ b/src/Mail/Struct/NewMountpointSpec.php @@ -189,50 +189,50 @@ class NewMountpointSpec public function __construct( string $name = '', string $folderId = '', - ?ViewType $defaultView = NULL, - ?string $flags = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?string $url = NULL, - ?bool $fetchIfExists = NULL, - ?bool $reminderEnabled = NULL, - ?string $ownerId = NULL, - ?string $ownerName = NULL, - ?int $remoteId = NULL, - ?string $path = NULL + ?ViewType $defaultView = null, + ?string $flags = null, + ?int $color = null, + ?string $rgb = null, + ?string $url = null, + ?bool $fetchIfExists = null, + ?bool $reminderEnabled = null, + ?string $ownerId = null, + ?string $ownerName = null, + ?int $remoteId = null, + ?string $path = null ) { $this->setName($name) ->setFolderId($folderId); $this->defaultView = $defaultView; - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $url) { + if (null !== $url) { $this->setUrl($url); } - if (NULL !== $fetchIfExists) { + if (null !== $fetchIfExists) { $this->setFetchIfExists($fetchIfExists); } - if (NULL !== $reminderEnabled) { + if (null !== $reminderEnabled) { $this->setReminderEnabled($reminderEnabled); } - if (NULL !== $ownerId) { + if (null !== $ownerId) { $this->setOwnerId($ownerId); } - if (NULL !== $ownerName) { + if (null !== $ownerName) { $this->setOwnerName($ownerName); } - if (NULL !== $remoteId) { + if (null !== $remoteId) { $this->setRemoteId($remoteId); } - if (NULL !== $path) { + if (null !== $path) { $this->setPath($path); } } diff --git a/src/Mail/Struct/NewNoteSpec.php b/src/Mail/Struct/NewNoteSpec.php index d438435db..176d9e761 100644 --- a/src/Mail/Struct/NewNoteSpec.php +++ b/src/Mail/Struct/NewNoteSpec.php @@ -80,16 +80,16 @@ class NewNoteSpec public function __construct( string $folder = '', string $content = '', - ?int $color = NULL, - ?string $bounds = NULL + ?int $color = null, + ?string $bounds = null ) { $this->setFolder($folder) ->setContent($content); - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $bounds) { + if (null !== $bounds) { $this->setBounds($bounds); } } diff --git a/src/Mail/Struct/NewSearchFolderSpec.php b/src/Mail/Struct/NewSearchFolderSpec.php index d7a1be7d3..908f711d7 100644 --- a/src/Mail/Struct/NewSearchFolderSpec.php +++ b/src/Mail/Struct/NewSearchFolderSpec.php @@ -128,30 +128,30 @@ class NewSearchFolderSpec public function __construct( string $name = '', string $query = '', - ?string $searchTypes = NULL, - ?SearchSortBy $sortBy = NULL, - ?string $flags = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?string $parentFolderId = NULL + ?string $searchTypes = null, + ?SearchSortBy $sortBy = null, + ?string $flags = null, + ?int $color = null, + ?string $rgb = null, + ?string $parentFolderId = null ) { $this->setName($name) ->setQuery($query); $this->sortBy = $sortBy; - if (NULL !== $searchTypes) { + if (null !== $searchTypes) { $this->setSearchTypes($searchTypes); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $parentFolderId) { + if (null !== $parentFolderId) { $this->setParentFolderId($parentFolderId); } } diff --git a/src/Mail/Struct/NoteActionSelector.php b/src/Mail/Struct/NoteActionSelector.php index 8568082e8..e79746c47 100644 --- a/src/Mail/Struct/NoteActionSelector.php +++ b/src/Mail/Struct/NoteActionSelector.php @@ -67,20 +67,20 @@ class NoteActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?string $ids = NULL, - ?string $content = NULL, - ?string $bounds = NULL, - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?string $ids = null, + ?string $content = null, + ?string $bounds = null, + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { parent::__construct( @@ -98,10 +98,10 @@ public function __construct( $nonExistentIds, $newlyCreatedIds ); - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } - if (NULL !== $bounds) { + if (null !== $bounds) { $this->setBounds($bounds); } } diff --git a/src/Mail/Struct/NoteHitInfo.php b/src/Mail/Struct/NoteHitInfo.php index f1a9bfff2..200eb5aa7 100644 --- a/src/Mail/Struct/NoteHitInfo.php +++ b/src/Mail/Struct/NoteHitInfo.php @@ -56,20 +56,20 @@ class NoteHitInfo extends NoteInfo implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?int $revision = NULL, - ?string $folder = NULL, - ?int $date = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $bounds = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, - ?string $content = NULL, + ?string $id = null, + ?string $sortField = null, + ?int $revision = null, + ?string $folder = null, + ?int $date = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $bounds = null, + ?int $color = null, + ?string $rgb = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, + ?string $content = null, array $metadatas = [] ) { @@ -89,7 +89,7 @@ public function __construct( $content, $metadatas ); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } } diff --git a/src/Mail/Struct/NoteInfo.php b/src/Mail/Struct/NoteInfo.php index 1f36ee4f5..b83978452 100644 --- a/src/Mail/Struct/NoteInfo.php +++ b/src/Mail/Struct/NoteInfo.php @@ -197,60 +197,60 @@ class NoteInfo * @return self */ public function __construct( - ?string $id = NULL, - ?int $revision = NULL, - ?string $folder = NULL, - ?int $date = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $bounds = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, - ?string $content = NULL, + ?string $id = null, + ?int $revision = null, + ?string $folder = null, + ?int $date = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $bounds = null, + ?int $color = null, + ?string $rgb = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, + ?string $content = null, array $metadatas = [] ) { $this->setMetadatas($metadatas); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $folder) { + if (null !== $folder) { $this->setFolder($folder); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $flags) { + if (null !== $flags) { $this->setFlags($flags); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $bounds) { + if (null !== $bounds) { $this->setBounds($bounds); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/Notification.php b/src/Mail/Struct/Notification.php index 728bf64ce..3b309734e 100644 --- a/src/Mail/Struct/Notification.php +++ b/src/Mail/Struct/Notification.php @@ -53,12 +53,12 @@ class Notification implements NotificationInterface * @param string $content * @return self */ - public function __construct(?bool $truncatedContent = NULL, ?string $content = NULL) + public function __construct(?bool $truncatedContent = null, ?string $content = null) { - if (NULL !== $truncatedContent) { + if (null !== $truncatedContent) { $this->setTruncatedContent($truncatedContent); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/NotifyAction.php b/src/Mail/Struct/NotifyAction.php index 8272ea795..8bec2409f 100644 --- a/src/Mail/Struct/NotifyAction.php +++ b/src/Mail/Struct/NotifyAction.php @@ -94,28 +94,28 @@ class NotifyAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, - ?string $address = NULL, - ?string $subject = NULL, - ?int $maxBodySize = NULL, - ?string $content = NULL, - ?string $origHeaders = NULL + ?int $index = null, + ?string $address = null, + ?string $subject = null, + ?int $maxBodySize = null, + ?string $content = null, + ?string $origHeaders = null ) { parent::__construct($index); - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } - if (NULL !== $subject) { + if (null !== $subject) { $this->setSubject($subject); } - if (NULL !== $maxBodySize) { + if (null !== $maxBodySize) { $this->setMaxBodySize($maxBodySize); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } - if (NULL !== $origHeaders) { + if (null !== $origHeaders) { $this->setOrigHeaders($origHeaders); } } diff --git a/src/Mail/Struct/PartInfo.php b/src/Mail/Struct/PartInfo.php index 5729613a7..5882f5dbd 100644 --- a/src/Mail/Struct/PartInfo.php +++ b/src/Mail/Struct/PartInfo.php @@ -164,42 +164,42 @@ class PartInfo implements PartInfoInterface public function __construct( string $part = '', string $contentType = '', - ?int $size = NULL, - ?string $contentDisposition = NULL, - ?string $contentFilename = NULL, - ?string $contentId = NULL, - ?string $location = NULL, - ?bool $body = NULL, - ?bool $truncatedContent = NULL, - ?string $content = NULL, + ?int $size = null, + ?string $contentDisposition = null, + ?string $contentFilename = null, + ?string $contentId = null, + ?string $location = null, + ?bool $body = null, + ?bool $truncatedContent = null, + ?string $content = null, array $mimeParts = [] ) { $this->setPart($part) ->setContentType($contentType) ->setMimeParts($mimeParts); - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } - if (NULL !== $contentDisposition) { + if (null !== $contentDisposition) { $this->setContentDisposition($contentDisposition); } - if (NULL !== $contentFilename) { + if (null !== $contentFilename) { $this->setContentFilename($contentFilename); } - if (NULL !== $contentId) { + if (null !== $contentId) { $this->setContentId($contentId); } - if (NULL !== $location) { + if (null !== $location) { $this->setLocation($location); } - if (NULL !== $body) { + if (null !== $body) { $this->setBody($body); } - if (NULL !== $truncatedContent) { + if (null !== $truncatedContent) { $this->setTruncatedContent($truncatedContent); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/Policy.php b/src/Mail/Struct/Policy.php index 83464771b..b316936d8 100644 --- a/src/Mail/Struct/Policy.php +++ b/src/Mail/Struct/Policy.php @@ -77,28 +77,28 @@ class Policy * @return self */ public function __construct( - ?EnumType $type = NULL, ?string $id = NULL, ?string $name = NULL, ?string $lifetime = NULL + ?EnumType $type = null, ?string $id = null, ?string $name = null, ?string $lifetime = null ) { $this->type = $type; - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $lifetime) { + if (null !== $lifetime) { $this->setLifetime($lifetime); } } - public static function newUserPolicy(?string $lifetime = NULL): Policy + public static function newUserPolicy(?string $lifetime = null): Policy { - return new self(EnumType::USER, NULL, NULL, $lifetime); + return new self(EnumType::USER, null, null, $lifetime); } public static function newSystemPolicy( - ?string $id = NULL, ?string $name = NULL, ?string $lifetime = NULL + ?string $id = null, ?string $name = null, ?string $lifetime = null ): Policy { return new self(EnumType::SYSTEM, $id, $name, $lifetime); diff --git a/src/Mail/Struct/PurgeRevisionSpec.php b/src/Mail/Struct/PurgeRevisionSpec.php index 5da7c55c6..c4e81b916 100644 --- a/src/Mail/Struct/PurgeRevisionSpec.php +++ b/src/Mail/Struct/PurgeRevisionSpec.php @@ -66,12 +66,12 @@ class PurgeRevisionSpec * @return self */ public function __construct( - string $id = '', int $version = 0, ?bool $includeOlderRevisions = NULL + string $id = '', int $version = 0, ?bool $includeOlderRevisions = null ) { $this->setId($id) ->setVersion($version); - if (NULL !== $includeOlderRevisions) { + if (null !== $includeOlderRevisions) { $this->setIncludeOlderRevisions($includeOlderRevisions); } } diff --git a/src/Mail/Struct/RFCCompliantNotifyAction.php b/src/Mail/Struct/RFCCompliantNotifyAction.php index 2de90b2c1..429f9ac32 100644 --- a/src/Mail/Struct/RFCCompliantNotifyAction.php +++ b/src/Mail/Struct/RFCCompliantNotifyAction.php @@ -90,28 +90,28 @@ class RFCCompliantNotifyAction extends FilterAction * @return self */ public function __construct( - ?int $index = NULL, - ?string $from = NULL, - ?string $importance = NULL, - ?string $options = NULL, - ?string $message = NULL, - ?string $method = NULL + ?int $index = null, + ?string $from = null, + ?string $importance = null, + ?string $options = null, + ?string $message = null, + ?string $method = null ) { parent::__construct($index); - if (NULL !== $from) { + if (null !== $from) { $this->setFrom($from); } - if (NULL !== $importance) { + if (null !== $importance) { $this->setImportance($importance); } - if (NULL !== $options) { + if (null !== $options) { $this->setOptions($options); } - if (NULL !== $message) { + if (null !== $message) { $this->setMessage($message); } - if (NULL !== $method) { + if (null !== $method) { $this->setMethod($method); } } diff --git a/src/Mail/Struct/RankingActionSpec.php b/src/Mail/Struct/RankingActionSpec.php index 41abba9fd..85985c06b 100644 --- a/src/Mail/Struct/RankingActionSpec.php +++ b/src/Mail/Struct/RankingActionSpec.php @@ -55,12 +55,12 @@ class RankingActionSpec * @return self */ public function __construct( - ?RankingActionOp $operation = NULL, - ?string $email = NULL + ?RankingActionOp $operation = null, + ?string $email = null ) { $this->setOperation($operation ?? RankingActionOp::RESET); - if (NULL !== $email) { + if (null !== $email) { $this->setEmail($email); } } diff --git a/src/Mail/Struct/RawInvite.php b/src/Mail/Struct/RawInvite.php index 59fb4df03..10afa24e1 100644 --- a/src/Mail/Struct/RawInvite.php +++ b/src/Mail/Struct/RawInvite.php @@ -65,16 +65,16 @@ class RawInvite * @return self */ public function __construct( - ?string $uid = NULL, ?string $summary = NULL, ?string $content = NULL + ?string $uid = null, ?string $summary = null, ?string $content = null ) { - if (NULL !== $uid) { + if (null !== $uid) { $this->setUid($uid); } - if (NULL !== $summary) { + if (null !== $summary) { $this->setSummary($summary); } - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/RecurIdInfo.php b/src/Mail/Struct/RecurIdInfo.php index 5cf6f688d..8cd4d1349 100644 --- a/src/Mail/Struct/RecurIdInfo.php +++ b/src/Mail/Struct/RecurIdInfo.php @@ -83,16 +83,16 @@ class RecurIdInfo implements RecurIdInfoInterface public function __construct( int $recurrenceRangeType = 0, string $recurrenceId = '', - ?string $timezone = NULL, - ?string $recurIdZ = NULL + ?string $timezone = null, + ?string $recurIdZ = null ) { $this->setRecurrenceRangeType($recurrenceRangeType) ->setRecurrenceId($recurrenceId); - if (NULL !== $timezone) { + if (null !== $timezone) { $this->setTimezone($timezone); } - if (NULL !== $recurIdZ) { + if (null !== $recurIdZ) { $this->setRecurIdZ($recurIdZ); } } diff --git a/src/Mail/Struct/RedirectAction.php b/src/Mail/Struct/RedirectAction.php index f78e2c4bb..953a6eb47 100644 --- a/src/Mail/Struct/RedirectAction.php +++ b/src/Mail/Struct/RedirectAction.php @@ -54,13 +54,13 @@ class RedirectAction extends FilterAction * @param bool $copy * @return self */ - public function __construct(?int $index = NULL, ?string $address = NULL, ?bool $copy = NULL) + public function __construct(?int $index = null, ?string $address = null, ?bool $copy = null) { parent::__construct($index); - if (NULL !== $address) { + if (null !== $address) { $this->setAddress($address); } - if (NULL !== $copy) { + if (null !== $copy) { $this->setCopy($copy); } } diff --git a/src/Mail/Struct/RejectAction.php b/src/Mail/Struct/RejectAction.php index f55676783..be21bdbf6 100644 --- a/src/Mail/Struct/RejectAction.php +++ b/src/Mail/Struct/RejectAction.php @@ -40,10 +40,10 @@ class RejectAction extends FilterAction * @param string $content * @return self */ - public function __construct(?int $index = NULL, ?string $content = NULL) + public function __construct(?int $index = null, ?string $content = null) { parent::__construct($index); - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/ReplaceheaderAction.php b/src/Mail/Struct/ReplaceheaderAction.php index 0fc432b88..6a783eaf8 100644 --- a/src/Mail/Struct/ReplaceheaderAction.php +++ b/src/Mail/Struct/ReplaceheaderAction.php @@ -57,19 +57,19 @@ class ReplaceheaderAction extends DeleteheaderAction * @return self */ public function __construct( - ?int $index = NULL, - ?bool $last = NULL, - ?int $offset = NULL, - ?EditheaderTest $test = NULL, - ?string $newName = NULL, - ?string $newValue = NULL + ?int $index = null, + ?bool $last = null, + ?int $offset = null, + ?EditheaderTest $test = null, + ?string $newName = null, + ?string $newValue = null ) { parent::__construct($index, $last, $offset, $test); - if (NULL !== $newName) { + if (null !== $newName) { $this->setNewName($newName); } - if (NULL !== $newValue) { + if (null !== $newValue) { $this->setNewValue($newValue); } } diff --git a/src/Mail/Struct/ReplyAction.php b/src/Mail/Struct/ReplyAction.php index e6c28276e..555e41503 100644 --- a/src/Mail/Struct/ReplyAction.php +++ b/src/Mail/Struct/ReplyAction.php @@ -41,10 +41,10 @@ class ReplyAction extends FilterAction * @param string $content * @return self */ - public function __construct(?int $index = NULL, ?string $content = NULL) + public function __construct(?int $index = null, ?string $content = null) { parent::__construct($index); - if (NULL !== $content) { + if (null !== $content) { $this->setContent($content); } } diff --git a/src/Mail/Struct/RightPermission.php b/src/Mail/Struct/RightPermission.php index 3c90c90fa..93cf35a81 100644 --- a/src/Mail/Struct/RightPermission.php +++ b/src/Mail/Struct/RightPermission.php @@ -53,11 +53,11 @@ class RightPermission * @return self */ public function __construct( - bool $allow = FALSE, ?string $rightName = NULL + bool $allow = false, ?string $rightName = null ) { $this->setAllow($allow); - if (NULL !== $rightName) { + if (null !== $rightName) { $this->setRightName($rightName); } } diff --git a/src/Mail/Struct/SaveDraftMsg.php b/src/Mail/Struct/SaveDraftMsg.php index 1b374bc72..fe438d06b 100644 --- a/src/Mail/Struct/SaveDraftMsg.php +++ b/src/Mail/Struct/SaveDraftMsg.php @@ -123,29 +123,29 @@ class SaveDraftMsg extends Msg * @return self */ public function __construct( - ?string $attachmentId = NULL, - ?string $origId = NULL, - ?ReplyType $replyType = NULL, - ?string $identityId = NULL, - ?string $subject = NULL, + ?string $attachmentId = null, + ?string $origId = null, + ?ReplyType $replyType = null, + ?string $identityId = null, + ?string $subject = null, array $headers = [], - ?string $inReplyTo = NULL, - ?string $folderId = NULL, - ?string $flags = NULL, - ?string $content = NULL, - ?MimePartInfo $mimePart = NULL, - ?AttachmentsInfo $attachments = NULL, - ?InvitationInfo $invite = NULL, + ?string $inReplyTo = null, + ?string $folderId = null, + ?string $flags = null, + ?string $content = null, + ?MimePartInfo $mimePart = null, + ?AttachmentsInfo $attachments = null, + ?InvitationInfo $invite = null, array $emailAddresses = [], array $timezones = [], - ?string $fragment = NULL, - ?int $id = NULL, - ?string $draftAccountId = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?int $autoSendTime = NULL + ?string $fragment = null, + ?int $id = null, + ?string $draftAccountId = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $rgb = null, + ?int $color = null, + ?int $autoSendTime = null ) { parent::__construct( @@ -166,25 +166,25 @@ public function __construct( $timezones, $fragment ); - if (NULL !== $id) { + if (null !== $id) { $this->setId($id); } - if (NULL !== $draftAccountId) { + if (null !== $draftAccountId) { $this->setDraftAccountId($draftAccountId); } - if (NULL !== $tags) { + if (null !== $tags) { $this->setTags($tags); } - if (NULL !== $tagNames) { + if (null !== $tagNames) { $this->setTagNames($tagNames); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $autoSendTime) { + if (null !== $autoSendTime) { $this->setAutoSendTime($autoSendTime); } } diff --git a/src/Mail/Struct/SearchFolder.php b/src/Mail/Struct/SearchFolder.php index 0a8b619b9..a0012b229 100644 --- a/src/Mail/Struct/SearchFolder.php +++ b/src/Mail/Struct/SearchFolder.php @@ -70,17 +70,17 @@ class SearchFolder extends Folder public function __construct( string $id = '', string $uuid = '', - ?string $query = NULL, - ?SearchSortBy $sortBy = NULL, - ?string $types = NULL + ?string $query = null, + ?SearchSortBy $sortBy = null, + ?string $types = null ) { parent::__construct($id, $uuid); $this->sortBy = $sortBy; - if (NULL !== $query) { + if (null !== $query) { $this->setQuery($query); } - if (NULL !== $types) { + if (null !== $types) { $this->setTypes($types); } } diff --git a/src/Mail/Struct/SetCalendarItemInfo.php b/src/Mail/Struct/SetCalendarItemInfo.php index de8739310..9b68793d4 100644 --- a/src/Mail/Struct/SetCalendarItemInfo.php +++ b/src/Mail/Struct/SetCalendarItemInfo.php @@ -35,7 +35,7 @@ class SetCalendarItemInfo * @return self */ public function __construct( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ) { $this->__traitConstruct($partStat, $msg); diff --git a/src/Mail/Struct/SetCalendarItemInfoTrait.php b/src/Mail/Struct/SetCalendarItemInfoTrait.php index 27835ff16..1d221d307 100644 --- a/src/Mail/Struct/SetCalendarItemInfoTrait.php +++ b/src/Mail/Struct/SetCalendarItemInfoTrait.php @@ -57,7 +57,7 @@ trait SetCalendarItemInfoTrait * @return self */ public function __construct( - ?ParticipationStatus $partStat = NULL, ?Msg $msg = NULL + ?ParticipationStatus $partStat = null, ?Msg $msg = null ) { $this->partStat = $partStat; diff --git a/src/Mail/Struct/ShareNotificationInfo.php b/src/Mail/Struct/ShareNotificationInfo.php index aea87d37d..62c3ab61e 100644 --- a/src/Mail/Struct/ShareNotificationInfo.php +++ b/src/Mail/Struct/ShareNotificationInfo.php @@ -93,8 +93,8 @@ public function __construct( string $status = '', string $id = '', int $date = 0, - ?Grantor $grantor = NULL, - ?LinkInfo $link = NULL + ?Grantor $grantor = null, + ?LinkInfo $link = null ) { $this->setId($id) diff --git a/src/Mail/Struct/SharedReminderMount.php b/src/Mail/Struct/SharedReminderMount.php index adfeb1ecc..55eaab898 100644 --- a/src/Mail/Struct/SharedReminderMount.php +++ b/src/Mail/Struct/SharedReminderMount.php @@ -52,10 +52,10 @@ class SharedReminderMount * @param bool $showReminders * @return self */ - public function __construct(string $id = '', ?bool $showReminders = NULL) + public function __construct(string $id = '', ?bool $showReminders = null) { $this->setId($id); - if (NULL !== $showReminders) { + if (null !== $showReminders) { $this->setShowReminders($showReminders); } } diff --git a/src/Mail/Struct/SimpleRepeatingRule.php b/src/Mail/Struct/SimpleRepeatingRule.php index d4722f53b..fce9832d6 100644 --- a/src/Mail/Struct/SimpleRepeatingRule.php +++ b/src/Mail/Struct/SimpleRepeatingRule.php @@ -226,20 +226,20 @@ class SimpleRepeatingRule implements RecurRuleBase, SimpleRepeatingRuleInterface * @return self */ public function __construct( - ?Frequency $frequency = NULL, - ?DateTimeStringAttrInterface $until = NULL, - ?NumAttrInterface $count = NULL, - ?IntervalRuleInterface $interval = NULL, - ?BySecondRuleInterface $bySecond = NULL, - ?ByMinuteRuleInterface $byMinute = NULL, - ?ByHourRuleInterface $byHour = NULL, - ?ByDayRuleInterface $byDay = NULL, - ?ByMonthDayRuleInterface $byMonthDay = NULL, - ?ByYearDayRuleInterface $byYearDay = NULL, - ?ByWeekNoRuleInterface $byWeekNo = NULL, - ?ByMonthRuleInterface $byMonth = NULL, - ?BySetPosRuleInterface $bySetPos = NULL, - ?WkstRuleInterface $weekStart = NULL, + ?Frequency $frequency = null, + ?DateTimeStringAttrInterface $until = null, + ?NumAttrInterface $count = null, + ?IntervalRuleInterface $interval = null, + ?BySecondRuleInterface $bySecond = null, + ?ByMinuteRuleInterface $byMinute = null, + ?ByHourRuleInterface $byHour = null, + ?ByDayRuleInterface $byDay = null, + ?ByMonthDayRuleInterface $byMonthDay = null, + ?ByYearDayRuleInterface $byYearDay = null, + ?ByWeekNoRuleInterface $byWeekNo = null, + ?ByMonthRuleInterface $byMonth = null, + ?BySetPosRuleInterface $bySetPos = null, + ?WkstRuleInterface $weekStart = null, array $xNames = [] ) { diff --git a/src/Mail/Struct/SingleDates.php b/src/Mail/Struct/SingleDates.php index a7ec8ed50..b1e0b5597 100644 --- a/src/Mail/Struct/SingleDates.php +++ b/src/Mail/Struct/SingleDates.php @@ -53,10 +53,10 @@ class SingleDates implements RecurRuleBase, SingleDatesInterface * @param array $dtVals * @return self */ - public function __construct(?string $timezone = NULL, array $dtVals = []) + public function __construct(?string $timezone = null, array $dtVals = []) { $this->setDtVals($dtVals); - if (NULL !== $timezone) { + if (null !== $timezone) { $this->setTimezone($timezone); } } diff --git a/src/Mail/Struct/SizeTest.php b/src/Mail/Struct/SizeTest.php index d7b0d4ee8..0d7bf8419 100644 --- a/src/Mail/Struct/SizeTest.php +++ b/src/Mail/Struct/SizeTest.php @@ -55,15 +55,15 @@ class SizeTest extends FilterTest * @return self */ public function __construct( - ?int $index = NULL, - ?bool $negative = NULL, - ?NumberComparison $numberComparison = NULL, - ?string $size = NULL + ?int $index = null, + ?bool $negative = null, + ?NumberComparison $numberComparison = null, + ?string $size = null ) { parent::__construct($index, $negative); $this->numberComparison = $numberComparison; - if (NULL !== $size) { + if (null !== $size) { $this->setSize($size); } } diff --git a/src/Mail/Struct/SyncFolder.php b/src/Mail/Struct/SyncFolder.php index 9a00a6ed3..2084149a3 100644 --- a/src/Mail/Struct/SyncFolder.php +++ b/src/Mail/Struct/SyncFolder.php @@ -167,37 +167,37 @@ public function __construct( string $id = '', string $uuid = '', array $itemIds = [], - ?string $name = NULL, - ?string $absoluteFolderPath = NULL, - ?string $parentId = NULL, - ?string $folderUuid = NULL, - ?string $flags = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $unreadCount = NULL, - ?int $imapUnreadCount = NULL, - ?ViewType $view = NULL, - ?int $revision = NULL, - ?int $modifiedSequence = NULL, - ?int $changeDate = NULL, - ?int $itemCount = NULL, - ?int $imapItemCount = NULL, - ?int $totalSize = NULL, - ?int $imapModifiedSequence = NULL, - ?int $imapUidNext = NULL, - ?string $url = NULL, - ?bool $activeSyncDisabled = NULL, - ?int $webOfflineSyncDays = NULL, - ?string $perm = NULL, - ?bool $recursive = NULL, - ?string $restUrl = NULL, - ?bool $deletable = NULL, + ?string $name = null, + ?string $absoluteFolderPath = null, + ?string $parentId = null, + ?string $folderUuid = null, + ?string $flags = null, + ?int $color = null, + ?string $rgb = null, + ?int $unreadCount = null, + ?int $imapUnreadCount = null, + ?ViewType $view = null, + ?int $revision = null, + ?int $modifiedSequence = null, + ?int $changeDate = null, + ?int $itemCount = null, + ?int $imapItemCount = null, + ?int $totalSize = null, + ?int $imapModifiedSequence = null, + ?int $imapUidNext = null, + ?string $url = null, + ?bool $activeSyncDisabled = null, + ?int $webOfflineSyncDays = null, + ?string $perm = null, + ?bool $recursive = null, + ?string $restUrl = null, + ?bool $deletable = null, array $metadatas = [], - ?Acl $acl = NULL, + ?Acl $acl = null, array $subFolders = [], array $mountpoints = [], array $searchFolders = [], - ?RetentionPolicy $retentionPolicy = NULL + ?RetentionPolicy $retentionPolicy = null ) { parent::__construct( diff --git a/src/Mail/Struct/TagAction.php b/src/Mail/Struct/TagAction.php index adfba0fd5..2fab1fd61 100644 --- a/src/Mail/Struct/TagAction.php +++ b/src/Mail/Struct/TagAction.php @@ -41,10 +41,10 @@ class TagAction extends FilterAction * @param string $tag * @return self */ - public function __construct(?int $index = NULL, ?string $tag = NULL) + public function __construct(?int $index = null, ?string $tag = null) { parent::__construct($index); - if (NULL !== $tag) { + if (null !== $tag) { $this->setTag($tag); } } diff --git a/src/Mail/Struct/TagActionInfo.php b/src/Mail/Struct/TagActionInfo.php index d3b64e5a7..68943c16c 100644 --- a/src/Mail/Struct/TagActionInfo.php +++ b/src/Mail/Struct/TagActionInfo.php @@ -67,15 +67,15 @@ class TagActionInfo */ public function __construct( string $successes = '', - ?string $successNames = NULL, - ?string $operation = NULL + ?string $successNames = null, + ?string $operation = null ) { $this->setSuccesses($successes); - if (NULL !== $successNames) { + if (null !== $successNames) { $this->setSuccessNames($successNames); } - if (NULL !== $operation) { + if (null !== $operation) { $this->setOperation($operation); } } diff --git a/src/Mail/Struct/TagActionSelector.php b/src/Mail/Struct/TagActionSelector.php index d9fff8591..b3636fbbf 100644 --- a/src/Mail/Struct/TagActionSelector.php +++ b/src/Mail/Struct/TagActionSelector.php @@ -55,19 +55,19 @@ class TagActionSelector extends ActionSelector */ public function __construct( string $operation = '', - ?RetentionPolicy $retentionPolicy = NULL, - ?string $ids = NULL, - ?string $constraint = NULL, - ?int $tag = NULL, - ?string $folder = NULL, - ?string $rgb = NULL, - ?int $color = NULL, - ?string $name = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?bool $nonExistentIds = NULL, - ?bool $newlyCreatedIds = NULL + ?RetentionPolicy $retentionPolicy = null, + ?string $ids = null, + ?string $constraint = null, + ?int $tag = null, + ?string $folder = null, + ?string $rgb = null, + ?int $color = null, + ?string $name = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?bool $nonExistentIds = null, + ?bool $newlyCreatedIds = null ) { parent::__construct( diff --git a/src/Mail/Struct/TagInfo.php b/src/Mail/Struct/TagInfo.php index f01e425b3..af9268981 100644 --- a/src/Mail/Struct/TagInfo.php +++ b/src/Mail/Struct/TagInfo.php @@ -174,47 +174,47 @@ class TagInfo */ public function __construct( string $id = '', - ?string $name = NULL, - ?int $color = NULL, - ?string $rgb = NULL, - ?int $unread = NULL, - ?int $count = NULL, - ?int $date = NULL, - ?int $revision = NULL, - ?int $changeDate = NULL, - ?int $modifiedSequence = NULL, + ?string $name = null, + ?int $color = null, + ?string $rgb = null, + ?int $unread = null, + ?int $count = null, + ?int $date = null, + ?int $revision = null, + ?int $changeDate = null, + ?int $modifiedSequence = null, array $metadatas = [], - ?RetentionPolicy $retentionPolicy = NULL + ?RetentionPolicy $retentionPolicy = null ) { $this->setId($id) ->setMetadatas($metadatas); $this->retentionPolicy = $retentionPolicy; - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $unread) { + if (null !== $unread) { $this->setUnread($unread); } - if (NULL !== $count) { + if (null !== $count) { $this->setCount($count); } - if (NULL !== $date) { + if (null !== $date) { $this->setDate($date); } - if (NULL !== $revision) { + if (null !== $revision) { $this->setRevision($revision); } - if (NULL !== $changeDate) { + if (null !== $changeDate) { $this->setChangeDate($changeDate); } - if (NULL !== $modifiedSequence) { + if (null !== $modifiedSequence) { $this->setModifiedSequence($modifiedSequence); } } diff --git a/src/Mail/Struct/TagSpec.php b/src/Mail/Struct/TagSpec.php index 4159ac2a9..404b92ee9 100644 --- a/src/Mail/Struct/TagSpec.php +++ b/src/Mail/Struct/TagSpec.php @@ -67,15 +67,15 @@ class TagSpec */ public function __construct( string $name = '', - ?string $rgb = NULL, - ?int $color = NULL + ?string $rgb = null, + ?int $color = null ) { $this->setName($name); - if (NULL !== $rgb) { + if (null !== $rgb) { $this->setRgb($rgb); } - if (NULL !== $color) { + if (null !== $color) { $this->setColor($color); } } diff --git a/src/Mail/Struct/TargetSpec.php b/src/Mail/Struct/TargetSpec.php index 56f293434..79cd1f01f 100644 --- a/src/Mail/Struct/TargetSpec.php +++ b/src/Mail/Struct/TargetSpec.php @@ -65,12 +65,12 @@ class TargetSpec * @return self */ public function __construct( - ?TargetType $targetType = NULL, ?AccountBy $accountBy = NULL, ?string $value = NULL + ?TargetType $targetType = null, ?AccountBy $accountBy = null, ?string $value = null ) { $this->setTargetType($targetType ?? TargetType::ACCOUNT) ->setAccountBy($accountBy ?? AccountBy::NAME); - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/TestDataSource.php b/src/Mail/Struct/TestDataSource.php index 0b0d40670..a3c573d7b 100644 --- a/src/Mail/Struct/TestDataSource.php +++ b/src/Mail/Struct/TestDataSource.php @@ -53,11 +53,11 @@ class TestDataSource * @return self */ public function __construct( - int $success = 0, ?string $error = NULL + int $success = 0, ?string $error = null ) { $this->setSuccess($success); - if (NULL !== $error) { + if (null !== $error) { $this->setError($error); } } diff --git a/src/Mail/Struct/UpdatedAlarmInfo.php b/src/Mail/Struct/UpdatedAlarmInfo.php index 299f3f4ea..1321ff200 100644 --- a/src/Mail/Struct/UpdatedAlarmInfo.php +++ b/src/Mail/Struct/UpdatedAlarmInfo.php @@ -54,7 +54,7 @@ class UpdatedAlarmInfo */ public function __construct( string $calItemId = '', - ?AlarmDataInfo $alarmData = NULL + ?AlarmDataInfo $alarmData = null ) { $this->setCalItemId($calItemId); diff --git a/src/Mail/Struct/VCardInfo.php b/src/Mail/Struct/VCardInfo.php index 91fc2a77a..cd8abf620 100644 --- a/src/Mail/Struct/VCardInfo.php +++ b/src/Mail/Struct/VCardInfo.php @@ -77,22 +77,22 @@ class VCardInfo * @return self */ public function __construct( - ?string $messageId = NULL, - ?string $part = NULL, - ?string $attachId = NULL, - ?string $value = NULL + ?string $messageId = null, + ?string $part = null, + ?string $attachId = null, + ?string $value = null ) { - if (NULL !== $messageId) { + if (null !== $messageId) { $this->setMessageId($messageId); } - if (NULL !== $part) { + if (null !== $part) { $this->setPart($part); } - if (NULL !== $attachId) { + if (null !== $attachId) { $this->setAttachId($attachId); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } } diff --git a/src/Mail/Struct/WikiHitInfo.php b/src/Mail/Struct/WikiHitInfo.php index 3ac52cf84..b6184d8eb 100644 --- a/src/Mail/Struct/WikiHitInfo.php +++ b/src/Mail/Struct/WikiHitInfo.php @@ -66,31 +66,31 @@ class WikiHitInfo extends CommonDocumentInfo implements SearchHit * @return self */ public function __construct( - ?string $id = NULL, - ?string $sortField = NULL, - ?string $uuid = NULL, - ?string $name = NULL, - ?int $size = NULL, - ?int $date = NULL, - ?string $folderId = NULL, - ?string $folderUuid = NULL, - ?int $modifiedSequence = NULL, - ?int $metadataVersion = NULL, - ?int $changeDate = NULL, - ?int $revision = NULL, - ?string $flags = NULL, - ?string $tags = NULL, - ?string $tagNames = NULL, - ?string $description = NULL, - ?string $contentType = NULL, - ?bool $descEnabled = NULL, - ?int $version = NULL, - ?string $lastEditedBy = NULL, - ?string $creator = NULL, - ?int $createdDate = NULL, + ?string $id = null, + ?string $sortField = null, + ?string $uuid = null, + ?string $name = null, + ?int $size = null, + ?int $date = null, + ?string $folderId = null, + ?string $folderUuid = null, + ?int $modifiedSequence = null, + ?int $metadataVersion = null, + ?int $changeDate = null, + ?int $revision = null, + ?string $flags = null, + ?string $tags = null, + ?string $tagNames = null, + ?string $description = null, + ?string $contentType = null, + ?bool $descEnabled = null, + ?int $version = null, + ?string $lastEditedBy = null, + ?string $creator = null, + ?int $createdDate = null, array $metadatas = [], - ?string $fragment = NULL, - ?Acl $acl = NULL + ?string $fragment = null, + ?Acl $acl = null ) { parent::__construct( @@ -119,7 +119,7 @@ public function __construct( $fragment, $acl ); - if (NULL !== $sortField) { + if (null !== $sortField) { $this->setSortField($sortField); } } diff --git a/src/Mail/Struct/WkDay.php b/src/Mail/Struct/WkDay.php index bf208c3f9..e459f0fab 100644 --- a/src/Mail/Struct/WkDay.php +++ b/src/Mail/Struct/WkDay.php @@ -53,10 +53,10 @@ class WkDay implements WkDayInterface * @param int $ordWk * @return self */ - public function __construct(?WeekDay $day = NULL, ?int $ordWk = NULL) + public function __construct(?WeekDay $day = null, ?int $ordWk = null) { $this->setDay($day ?? WeekDay::SUNDAY); - if (NULL !== $ordWk) { + if (null !== $ordWk) { $this->setOrdWk($ordWk); } } diff --git a/src/Mail/Struct/WkstRule.php b/src/Mail/Struct/WkstRule.php index 2ef37ce39..fd7e6e80d 100644 --- a/src/Mail/Struct/WkstRule.php +++ b/src/Mail/Struct/WkstRule.php @@ -42,7 +42,7 @@ class WkstRule implements WkstRuleInterface * @param WeekDay $day * @return self */ - public function __construct(?WeekDay $day = NULL) + public function __construct(?WeekDay $day = null) { $this->setDay($day ?? WeekDay::SUNDAY); } diff --git a/src/Mail/Struct/XNameRule.php b/src/Mail/Struct/XNameRule.php index 11fa29262..6b703d1c7 100644 --- a/src/Mail/Struct/XNameRule.php +++ b/src/Mail/Struct/XNameRule.php @@ -54,12 +54,12 @@ class XNameRule implements XNameRuleInterface * @param string $value * @return self */ - public function __construct(?string $name = NULL, ?string $value = NULL) + public function __construct(?string $name = null, ?string $value = null) { - if (NULL !== $name) { + if (null !== $name) { $this->setName($name); } - if (NULL !== $value) { + if (null !== $value) { $this->setValue($value); } }