From 6857e4c5a5adc13dbad2ac5b1a10952abc5a8533 Mon Sep 17 00:00:00 2001 From: Gytautas Date: Tue, 28 May 2024 09:38:13 +0300 Subject: [PATCH] php cs fixer --- src/DTO/OrderData.php | 2 +- src/ServiceProvider/BaseServiceProvider.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DTO/OrderData.php b/src/DTO/OrderData.php index 6498a226b..ebb19ef8d 100644 --- a/src/DTO/OrderData.php +++ b/src/DTO/OrderData.php @@ -433,7 +433,7 @@ public function jsonSerialize() 'familyName' => $this->cleanUpInput($this->getBillingAddress()->lastname), 'email' => $this->cleanUpInput($this->getEmail()), 'title' => $this->cleanUpInput($this->getTitle()), - 'phone' =>$this->cleanUpInput($this->getBillingPhoneNumber()), + 'phone' => $this->cleanUpInput($this->getBillingPhoneNumber()), ], 'shippingAddress' => [ 'organizationName' => $this->cleanUpInput($this->getShippingAddress()->company), diff --git a/src/ServiceProvider/BaseServiceProvider.php b/src/ServiceProvider/BaseServiceProvider.php index ef8c5ed11..d2a9c4c0e 100644 --- a/src/ServiceProvider/BaseServiceProvider.php +++ b/src/ServiceProvider/BaseServiceProvider.php @@ -110,7 +110,6 @@ use Mollie\Subscription\Install\InstallerInterface; use Mollie\Subscription\Logger\Logger; use Mollie\Subscription\Logger\LoggerInterface; -use Mollie\Subscription\Repository\CombinationRepository; use Mollie\Subscription\Repository\OrderDetailRepository; use Mollie\Subscription\Repository\OrderDetailRepositoryInterface; use Mollie\Subscription\Repository\RecurringOrderRepository; @@ -225,7 +224,7 @@ public function register(Container $container) $this->addService($container, PaymentMethodSortProviderInterface::class, PaymentMethodSortProvider::class); $this->addService($container, PhoneNumberProviderInterface::class, PhoneNumberProvider::class); - $this->addService($container, PaymentMethodRestrictionValidationInterface::class, function() use ($container) { + $this->addService($container, PaymentMethodRestrictionValidationInterface::class, function () use ($container) { return new PaymentMethodRestrictionValidation([ $container->get(BasePaymentMethodRestrictionValidator::class), $container->get(VoucherPaymentMethodRestrictionValidator::class),