From bee2c1f4befcdd0c21f247ef396c3b45079720a2 Mon Sep 17 00:00:00 2001 From: AntyAnti <146710479+AntyAnti@users.noreply.github.com> Date: Wed, 8 Jul 2026 11:24:39 +0200 Subject: [PATCH] [create-pull-request] automated change --- src/Component/Entity/OrderCreate/BillingAddress.php | 6 +++--- .../UpdateOrderHeadRequest/Data/BillingAddress.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Component/Entity/OrderCreate/BillingAddress.php b/src/Component/Entity/OrderCreate/BillingAddress.php index 532aa9cf..8aacfe2d 100644 --- a/src/Component/Entity/OrderCreate/BillingAddress.php +++ b/src/Component/Entity/OrderCreate/BillingAddress.php @@ -15,7 +15,7 @@ class BillingAddress extends Entity protected ?string $district; protected ?string $additional; protected ?string $zip; - protected ?string $countryCode; + protected string $countryCode; protected ?string $regionName; protected ?string $regionShortcut; protected ?string $companyId; @@ -121,12 +121,12 @@ public function setZip(?string $zip): static return $this; } - public function getCountryCode(): ?string + public function getCountryCode(): string { return $this->countryCode; } - public function setCountryCode(?string $countryCode): static + public function setCountryCode(string $countryCode): static { $this->countryCode = $countryCode; return $this; diff --git a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php index b5a43ffa..b3a0e21b 100644 --- a/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php +++ b/src/Endpoint/Orders/UpdateOrderHeadRequest/UpdateOrderHeadRequest/Data/BillingAddress.php @@ -14,7 +14,7 @@ class BillingAddress extends Entity protected ?string $district; protected ?string $additional; protected ?string $zip; - protected ?string $countryCode; + protected string $countryCode; protected ?string $regionName; protected ?string $regionShortcut; protected ?string $companyId; @@ -109,12 +109,12 @@ public function setZip(?string $zip): static return $this; } - public function getCountryCode(): ?string + public function getCountryCode(): string { return $this->countryCode; } - public function setCountryCode(?string $countryCode): static + public function setCountryCode(string $countryCode): static { $this->countryCode = $countryCode; return $this;