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),