diff --git a/src/Validator/Constraints/Checkout/CheckoutAddressTypeValidator.php b/src/Validator/Constraints/Checkout/CheckoutAddressTypeValidator.php index c4ec074..5b56184 100644 --- a/src/Validator/Constraints/Checkout/CheckoutAddressTypeValidator.php +++ b/src/Validator/Constraints/Checkout/CheckoutAddressTypeValidator.php @@ -47,10 +47,10 @@ public function validate(mixed $order, Constraint $constraint): void { Assert::isInstanceOf($order, OrderInterface::class); - /** @var CustomerInterface $customer */ + /** @var CustomerInterface|null $customer */ $customer = $order->getCustomer(); - if (null == $customer) { + if (null === $customer) { return; }