Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 30, 2024
1 parent d373da9 commit 68cfc49
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Checkout/Drivers/BaseCheckoutStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ abstract class BaseCheckoutStore implements CheckoutStore

public function __construct(
protected CheckoutDataFactory $factory,
)
{
) {
}

public function getCart(): ?CheckoutSubject
Expand Down Expand Up @@ -101,7 +100,7 @@ public function getState(): CheckoutState

public function getShipToBillingAddress(bool $default = true): bool
{
return (bool)$this->readRawDataFromStore('ship_to_billing_address', $default);
return (bool) $this->readRawDataFromStore('ship_to_billing_address', $default);
}

public function setShipToBillingAddress(bool $value): void
Expand Down Expand Up @@ -259,7 +258,7 @@ protected function updateShippingAddress(null|array|Address $data): void

protected function updateShipToBillingAddress($data): void
{
$this->setShipToBillingAddress((bool)$data);
$this->setShipToBillingAddress((bool) $data);
}

protected function getAttribute(string $name): mixed
Expand Down

0 comments on commit 68cfc49

Please sign in to comment.