Skip to content

Commit

Permalink
php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed May 28, 2024
1 parent 9ae779d commit 6857e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DTO/OrderData.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
3 changes: 1 addition & 2 deletions src/ServiceProvider/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 6857e4c

Please sign in to comment.