From 470ba7603b980da58a9808acd023ea27c29e879e Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Tue, 15 Oct 2024 12:41:15 +0530 Subject: [PATCH 1/2] MethodSignatureMismatch: Method supportsDenormalization with return type '' is different to return type 'bool' of inherited method --- src/Api/ApigeeX/Denormalizer/AcceptedRatePlanDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/ApiProductDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/AppDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/BillingTypeDenormalizer.php | 2 +- .../Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php | 2 +- .../ApigeeX/Denormalizer/DeveloperBillingTypeDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/PrepaidBalanceDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/RatePlanDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/RatePlanDenormalizerFactory.php | 2 +- src/Api/ApigeeX/Denormalizer/RatePlanRateDenormalizer.php | 2 +- src/Api/ApigeeX/Denormalizer/StandardRatePlanDenormalizer.php | 2 +- src/Api/Management/Denormalizer/AppDenormalizer.php | 2 +- .../Management/Denormalizer/CompanyMembershipDenormalizer.php | 2 +- .../Monetization/Denormalizer/AcceptedRatePlanDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/AddressDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/ApiPackageDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/BalanceDenormalizer.php | 2 +- .../Denormalizer/CompanyAcceptedRatePlanDenormalizer.php | 2 +- .../Denormalizer/CompanyPaymentTransactionDenormalizer.php | 2 +- .../Monetization/Denormalizer/CompanyRatePlanDenormalizer.php | 2 +- .../Denormalizer/CompanyReportDefinitionDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/DateTimeZoneDenormalizer.php | 2 +- .../Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php | 2 +- .../Denormalizer/DeveloperCategoryRatePlanDenormalizer.php | 2 +- .../Denormalizer/DeveloperPaymentTransactionDenormalizer.php | 2 +- .../Monetization/Denormalizer/DeveloperRatePlanDenormalizer.php | 2 +- .../Denormalizer/DeveloperReportDefinitionDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/LegalEntityDenormalizer.php | 2 +- .../Denormalizer/OrganizationProfileDenormalizer.php | 2 +- .../Denormalizer/PaymentTransactionDenormalizer.php | 2 +- .../Monetization/Denormalizer/PrepaidBalanceDenormalizer.php | 2 +- src/Api/Monetization/Denormalizer/RatePlanDenormalizer.php | 2 +- .../Monetization/Denormalizer/RatePlanDenormalizerFactory.php | 2 +- src/Api/Monetization/Denormalizer/RatePlanRateDenormalizer.php | 2 +- .../Monetization/Denormalizer/ReportCriteriaDenormalizer.php | 2 +- .../Monetization/Denormalizer/ReportDefinitionDenormalizer.php | 2 +- .../Monetization/Denormalizer/StandardRatePlanDenormalizer.php | 2 +- .../Monetization/Denormalizer/SupportedCurrencyDenormalizer.php | 2 +- .../Denormalizer/TermsAndConditionsDenormalizer.php | 2 +- src/Denormalizer/AttributesPropertyDenormalizer.php | 2 +- src/Denormalizer/CredentialProductDenormalizer.php | 2 +- src/Denormalizer/EdgeDateDenormalizer.php | 2 +- src/Denormalizer/KeyValueMapDenormalizer.php | 2 +- src/Denormalizer/ObjectDenormalizer.php | 2 +- src/Denormalizer/PropertiesPropertyDenormalizer.php | 2 +- src/Serializer/EntitySerializer.php | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-) diff --git a/src/Api/ApigeeX/Denormalizer/AcceptedRatePlanDenormalizer.php b/src/Api/ApigeeX/Denormalizer/AcceptedRatePlanDenormalizer.php index 4a8130b5c..c2131b708 100755 --- a/src/Api/ApigeeX/Denormalizer/AcceptedRatePlanDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/AcceptedRatePlanDenormalizer.php @@ -43,7 +43,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/ApiProductDenormalizer.php b/src/Api/ApigeeX/Denormalizer/ApiProductDenormalizer.php index 51b009515..6b086aa15 100755 --- a/src/Api/ApigeeX/Denormalizer/ApiProductDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/ApiProductDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/AppDenormalizer.php b/src/Api/ApigeeX/Denormalizer/AppDenormalizer.php index 89e048fce..dc4270531 100644 --- a/src/Api/ApigeeX/Denormalizer/AppDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/AppDenormalizer.php @@ -61,7 +61,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php b/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php index 357e29121..fc562ef0f 100644 --- a/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/AppGroupMembershipDenormalizer.php @@ -52,7 +52,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/BillingTypeDenormalizer.php b/src/Api/ApigeeX/Denormalizer/BillingTypeDenormalizer.php index ab98d1297..fbf3c232f 100644 --- a/src/Api/ApigeeX/Denormalizer/BillingTypeDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/BillingTypeDenormalizer.php @@ -37,7 +37,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php b/src/Api/ApigeeX/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php index d76f95fd7..ceb6b4347 100755 --- a/src/Api/ApigeeX/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return true; diff --git a/src/Api/ApigeeX/Denormalizer/DeveloperBillingTypeDenormalizer.php b/src/Api/ApigeeX/Denormalizer/DeveloperBillingTypeDenormalizer.php index 976ca911f..d84134685 100644 --- a/src/Api/ApigeeX/Denormalizer/DeveloperBillingTypeDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/DeveloperBillingTypeDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return true; diff --git a/src/Api/ApigeeX/Denormalizer/PrepaidBalanceDenormalizer.php b/src/Api/ApigeeX/Denormalizer/PrepaidBalanceDenormalizer.php index ea42fe34e..c0c0970bb 100755 --- a/src/Api/ApigeeX/Denormalizer/PrepaidBalanceDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/PrepaidBalanceDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizer.php b/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizer.php index 1494d83e4..92b04d04e 100755 --- a/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizer.php @@ -65,7 +65,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizerFactory.php b/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizerFactory.php index c64cca650..8a07a7f35 100755 --- a/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizerFactory.php +++ b/src/Api/ApigeeX/Denormalizer/RatePlanDenormalizerFactory.php @@ -70,7 +70,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { foreach ($this->denormalizers as $denormalizer) { if ($denormalizer->supportsDenormalization($data, $type, $format)) { diff --git a/src/Api/ApigeeX/Denormalizer/RatePlanRateDenormalizer.php b/src/Api/ApigeeX/Denormalizer/RatePlanRateDenormalizer.php index 434a60e5b..f69a268f3 100755 --- a/src/Api/ApigeeX/Denormalizer/RatePlanRateDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/RatePlanRateDenormalizer.php @@ -48,7 +48,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/ApigeeX/Denormalizer/StandardRatePlanDenormalizer.php b/src/Api/ApigeeX/Denormalizer/StandardRatePlanDenormalizer.php index cdc0f72b9..6fbf0e3b0 100755 --- a/src/Api/ApigeeX/Denormalizer/StandardRatePlanDenormalizer.php +++ b/src/Api/ApigeeX/Denormalizer/StandardRatePlanDenormalizer.php @@ -53,7 +53,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Management/Denormalizer/AppDenormalizer.php b/src/Api/Management/Denormalizer/AppDenormalizer.php index 8d8c95ffe..8f7bd2dc2 100644 --- a/src/Api/Management/Denormalizer/AppDenormalizer.php +++ b/src/Api/Management/Denormalizer/AppDenormalizer.php @@ -61,7 +61,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Management/Denormalizer/CompanyMembershipDenormalizer.php b/src/Api/Management/Denormalizer/CompanyMembershipDenormalizer.php index 828e6d5a5..bcd725baf 100755 --- a/src/Api/Management/Denormalizer/CompanyMembershipDenormalizer.php +++ b/src/Api/Management/Denormalizer/CompanyMembershipDenormalizer.php @@ -44,7 +44,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/AcceptedRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/AcceptedRatePlanDenormalizer.php index a83b2cd3e..41bba56cc 100644 --- a/src/Api/Monetization/Denormalizer/AcceptedRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/AcceptedRatePlanDenormalizer.php @@ -45,7 +45,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/AddressDenormalizer.php b/src/Api/Monetization/Denormalizer/AddressDenormalizer.php index b007a4680..16e37ebd2 100644 --- a/src/Api/Monetization/Denormalizer/AddressDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/AddressDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/ApiPackageDenormalizer.php b/src/Api/Monetization/Denormalizer/ApiPackageDenormalizer.php index 67cc62471..204a5f276 100644 --- a/src/Api/Monetization/Denormalizer/ApiPackageDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/ApiPackageDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/BalanceDenormalizer.php b/src/Api/Monetization/Denormalizer/BalanceDenormalizer.php index 1f366af61..e2d705eec 100644 --- a/src/Api/Monetization/Denormalizer/BalanceDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/BalanceDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/CompanyAcceptedRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/CompanyAcceptedRatePlanDenormalizer.php index b0a1b5060..2b68ae3ef 100644 --- a/src/Api/Monetization/Denormalizer/CompanyAcceptedRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/CompanyAcceptedRatePlanDenormalizer.php @@ -59,7 +59,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return $data->developer->isCompany; diff --git a/src/Api/Monetization/Denormalizer/CompanyPaymentTransactionDenormalizer.php b/src/Api/Monetization/Denormalizer/CompanyPaymentTransactionDenormalizer.php index 03f544616..8bc914eae 100644 --- a/src/Api/Monetization/Denormalizer/CompanyPaymentTransactionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/CompanyPaymentTransactionDenormalizer.php @@ -59,7 +59,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return $data->developer->isCompany; diff --git a/src/Api/Monetization/Denormalizer/CompanyRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/CompanyRatePlanDenormalizer.php index 2f624b8a6..55c1ea4cb 100644 --- a/src/Api/Monetization/Denormalizer/CompanyRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/CompanyRatePlanDenormalizer.php @@ -68,7 +68,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/CompanyReportDefinitionDenormalizer.php b/src/Api/Monetization/Denormalizer/CompanyReportDefinitionDenormalizer.php index 691f7519a..000e75275 100644 --- a/src/Api/Monetization/Denormalizer/CompanyReportDefinitionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/CompanyReportDefinitionDenormalizer.php @@ -59,7 +59,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { // Non-developer specific reports API also returns the developer diff --git a/src/Api/Monetization/Denormalizer/DateTimeZoneDenormalizer.php b/src/Api/Monetization/Denormalizer/DateTimeZoneDenormalizer.php index 049c807a7..dd82d672e 100644 --- a/src/Api/Monetization/Denormalizer/DateTimeZoneDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DateTimeZoneDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php index 186a4e84c..5c3098ce6 100644 --- a/src/Api/Monetization/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DeveloperAcceptedRatePlanDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return !$data->developer->isCompany; diff --git a/src/Api/Monetization/Denormalizer/DeveloperCategoryRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/DeveloperCategoryRatePlanDenormalizer.php index a6214ad1c..9606cc2a2 100644 --- a/src/Api/Monetization/Denormalizer/DeveloperCategoryRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DeveloperCategoryRatePlanDenormalizer.php @@ -53,7 +53,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/DeveloperPaymentTransactionDenormalizer.php b/src/Api/Monetization/Denormalizer/DeveloperPaymentTransactionDenormalizer.php index e0bdcb5a3..d351ab06e 100644 --- a/src/Api/Monetization/Denormalizer/DeveloperPaymentTransactionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DeveloperPaymentTransactionDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { return !$data->developer->isCompany; diff --git a/src/Api/Monetization/Denormalizer/DeveloperRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/DeveloperRatePlanDenormalizer.php index 2607fb88f..b7fd92dd8 100644 --- a/src/Api/Monetization/Denormalizer/DeveloperRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DeveloperRatePlanDenormalizer.php @@ -53,7 +53,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/DeveloperReportDefinitionDenormalizer.php b/src/Api/Monetization/Denormalizer/DeveloperReportDefinitionDenormalizer.php index dc039b496..f003149fc 100644 --- a/src/Api/Monetization/Denormalizer/DeveloperReportDefinitionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/DeveloperReportDefinitionDenormalizer.php @@ -40,7 +40,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if (parent::supportsDenormalization($data, $type, $format)) { // Non-developer specific reports API also returns the developer diff --git a/src/Api/Monetization/Denormalizer/LegalEntityDenormalizer.php b/src/Api/Monetization/Denormalizer/LegalEntityDenormalizer.php index b547b8259..294f4c447 100644 --- a/src/Api/Monetization/Denormalizer/LegalEntityDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/LegalEntityDenormalizer.php @@ -76,7 +76,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/OrganizationProfileDenormalizer.php b/src/Api/Monetization/Denormalizer/OrganizationProfileDenormalizer.php index 0bfc90663..de1da2f6e 100644 --- a/src/Api/Monetization/Denormalizer/OrganizationProfileDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/OrganizationProfileDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/PaymentTransactionDenormalizer.php b/src/Api/Monetization/Denormalizer/PaymentTransactionDenormalizer.php index 843085c68..65fb8b580 100644 --- a/src/Api/Monetization/Denormalizer/PaymentTransactionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/PaymentTransactionDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/PrepaidBalanceDenormalizer.php b/src/Api/Monetization/Denormalizer/PrepaidBalanceDenormalizer.php index 9c85a26cb..26ac32196 100644 --- a/src/Api/Monetization/Denormalizer/PrepaidBalanceDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/PrepaidBalanceDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/RatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/RatePlanDenormalizer.php index 0e570503e..5dd46192a 100644 --- a/src/Api/Monetization/Denormalizer/RatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/RatePlanDenormalizer.php @@ -67,7 +67,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/RatePlanDenormalizerFactory.php b/src/Api/Monetization/Denormalizer/RatePlanDenormalizerFactory.php index b425f999c..d3450368d 100644 --- a/src/Api/Monetization/Denormalizer/RatePlanDenormalizerFactory.php +++ b/src/Api/Monetization/Denormalizer/RatePlanDenormalizerFactory.php @@ -67,7 +67,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { foreach ($this->denormalizers as $denormalizer) { if ($denormalizer->supportsDenormalization($data, $type, $format)) { diff --git a/src/Api/Monetization/Denormalizer/RatePlanRateDenormalizer.php b/src/Api/Monetization/Denormalizer/RatePlanRateDenormalizer.php index 5030afa47..6642040fa 100644 --- a/src/Api/Monetization/Denormalizer/RatePlanRateDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/RatePlanRateDenormalizer.php @@ -48,7 +48,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/ReportCriteriaDenormalizer.php b/src/Api/Monetization/Denormalizer/ReportCriteriaDenormalizer.php index f28fea51c..13d6e9cec 100644 --- a/src/Api/Monetization/Denormalizer/ReportCriteriaDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/ReportCriteriaDenormalizer.php @@ -128,7 +128,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/ReportDefinitionDenormalizer.php b/src/Api/Monetization/Denormalizer/ReportDefinitionDenormalizer.php index a37f8cc9b..59a40c6d9 100644 --- a/src/Api/Monetization/Denormalizer/ReportDefinitionDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/ReportDefinitionDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/StandardRatePlanDenormalizer.php b/src/Api/Monetization/Denormalizer/StandardRatePlanDenormalizer.php index 44ebdb87c..dbd1da96b 100644 --- a/src/Api/Monetization/Denormalizer/StandardRatePlanDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/StandardRatePlanDenormalizer.php @@ -53,7 +53,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/SupportedCurrencyDenormalizer.php b/src/Api/Monetization/Denormalizer/SupportedCurrencyDenormalizer.php index 37e7f2eb7..0540a2c2d 100644 --- a/src/Api/Monetization/Denormalizer/SupportedCurrencyDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/SupportedCurrencyDenormalizer.php @@ -45,7 +45,7 @@ public function __construct(?ClassMetadataFactoryInterface $classMetadataFactory /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Api/Monetization/Denormalizer/TermsAndConditionsDenormalizer.php b/src/Api/Monetization/Denormalizer/TermsAndConditionsDenormalizer.php index 61efbe651..0963f4647 100644 --- a/src/Api/Monetization/Denormalizer/TermsAndConditionsDenormalizer.php +++ b/src/Api/Monetization/Denormalizer/TermsAndConditionsDenormalizer.php @@ -64,7 +64,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Denormalizer/AttributesPropertyDenormalizer.php b/src/Denormalizer/AttributesPropertyDenormalizer.php index 72b204ed4..58f25fac3 100644 --- a/src/Denormalizer/AttributesPropertyDenormalizer.php +++ b/src/Denormalizer/AttributesPropertyDenormalizer.php @@ -28,7 +28,7 @@ class AttributesPropertyDenormalizer extends KeyValueMapDenormalizer /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Denormalizer/CredentialProductDenormalizer.php b/src/Denormalizer/CredentialProductDenormalizer.php index 43cd89de2..9feb5177e 100644 --- a/src/Denormalizer/CredentialProductDenormalizer.php +++ b/src/Denormalizer/CredentialProductDenormalizer.php @@ -30,7 +30,7 @@ class CredentialProductDenormalizer implements DenormalizerInterface /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Denormalizer/EdgeDateDenormalizer.php b/src/Denormalizer/EdgeDateDenormalizer.php index 6366e0444..0fdd0af7c 100644 --- a/src/Denormalizer/EdgeDateDenormalizer.php +++ b/src/Denormalizer/EdgeDateDenormalizer.php @@ -73,7 +73,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { return isset(self::$supportedTypes[$type]); } diff --git a/src/Denormalizer/KeyValueMapDenormalizer.php b/src/Denormalizer/KeyValueMapDenormalizer.php index cdc0027f4..411135eac 100644 --- a/src/Denormalizer/KeyValueMapDenormalizer.php +++ b/src/Denormalizer/KeyValueMapDenormalizer.php @@ -37,7 +37,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Denormalizer/ObjectDenormalizer.php b/src/Denormalizer/ObjectDenormalizer.php index 6f4e415f4..2ba8ebe93 100644 --- a/src/Denormalizer/ObjectDenormalizer.php +++ b/src/Denormalizer/ObjectDenormalizer.php @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { if ('[]' === substr($type, -2)) { return false; diff --git a/src/Denormalizer/PropertiesPropertyDenormalizer.php b/src/Denormalizer/PropertiesPropertyDenormalizer.php index 32d02590f..9682d2697 100644 --- a/src/Denormalizer/PropertiesPropertyDenormalizer.php +++ b/src/Denormalizer/PropertiesPropertyDenormalizer.php @@ -28,7 +28,7 @@ class PropertiesPropertyDenormalizer extends KeyValueMapDenormalizer /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { // Do not apply this on array objects. ArrayDenormalizer takes care of them. if ('[]' === substr($type, -2)) { diff --git a/src/Serializer/EntitySerializer.php b/src/Serializer/EntitySerializer.php index 24e90e31b..2c77f769c 100755 --- a/src/Serializer/EntitySerializer.php +++ b/src/Serializer/EntitySerializer.php @@ -82,7 +82,7 @@ public function denormalize($data, $type, $format = null, array $context = []) /** * {@inheritdoc} */ - public function supportsDenormalization($data, $type, $format = null) + public function supportsDenormalization($data, $type, $format = null): bool { return $this->format === $format && $this->serializer->supportsDenormalization($data, $type, $format); } From fceb7f54c17d3bc49c963762a578ec879add2e41 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 16 Oct 2024 14:19:34 +0530 Subject: [PATCH 2/2] Bump client version to 3.0.8 and changelog update (#388) --- CHANGELOG.md | 3 +++ src/ClientInterface.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa519ad97..717d1f9c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # CHANGELOG +## [3.0.8](https://github.com/apigee/apigee-client-php/milestone/32?closed=1) +* [#379] Update option-resolver's symfony component version to its latest. + ## [3.0.7](https://github.com/apigee/apigee-client-php/milestone/31?closed=1) * [#374] Bump minimum required version of symfony/serializer. * [#376] Remove symfony/serializer conflict and bump version. diff --git a/src/ClientInterface.php b/src/ClientInterface.php index 6ef44f154..b5078803c 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -63,7 +63,7 @@ interface ClientInterface extends HttpClient */ public const APIGEE_ON_GCP_ENDPOINT = 'https://apigee.googleapis.com/v1'; - public const VERSION = '3.0.7'; + public const VERSION = '3.0.8'; /** * Allows access to the last request, response and exception.