From f32b6e7d47b8d642c8c946e82c555e0ca480cdf5 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Fri, 18 Oct 2024 17:54:59 +0530 Subject: [PATCH] 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 4a8130b5..c2131b70 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 51b00951..6b086aa1 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 89e048fc..dc427053 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 87ee3f81..d6f23fe4 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 ab98d129..fbf3c232 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 d76f95fd..ceb6b434 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 976ca911..d8413468 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 ea42fe34..c0c0970b 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 1494d83e..92b04d04 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 c64cca65..8a07a7f3 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 434a60e5..f69a268f 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 cdc0f72b..6fbf0e3b 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 8d8c95ff..8f7bd2dc 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 828e6d5a..bcd725ba 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 a83b2cd3..41bba56c 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 b007a468..16e37ebd 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 67cc6247..204a5f27 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 1f366af6..e2d705ee 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 b0a1b506..2b68ae3e 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 03f54461..8bc914ea 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 2f624b8a..55c1ea4c 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 691f7519..000e7527 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 049c807a..dd82d672 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 186a4e84..5c3098ce 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 a6214ad1..9606cc2a 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 e0bdcb5a..d351ab06 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 2607fb88..b7fd92dd 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 dc039b49..f003149f 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 b547b825..294f4c44 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 0bfc9066..de1da2f6 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 843085c6..65fb8b58 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 9c85a26c..26ac3219 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 0e570503..5dd46192 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 b425f999..d3450368 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 5030afa4..6642040f 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 f28fea51..13d6e9ce 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 a37f8cc9..59a40c6d 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 44ebdb87..dbd1da96 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 37e7f2eb..0540a2c2 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 61efbe65..0963f464 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 72b204ed..58f25fac 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 43cd89de..9feb5177 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 6366e044..0fdd0af7 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 cdc0027f..411135ea 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 6f4e415f..2ba8ebe9 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 32d02590..9682d269 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 0bae115f..cf151fa4 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); }