From df4b6874d7c8f55965b8aafdd0ff4a24ce4f843b Mon Sep 17 00:00:00 2001 From: "f.ri0z" <049245@gmail.com> Date: Sat, 13 May 2023 23:31:43 +0500 Subject: [PATCH] Fixed the name of the $cityId parameter according to the documentation Fixed the name of the City Id parameter according to the documentation. According to the documentation, the parameter is called $cityID http://ee.econt.com/services/Nomenclatures/#NomenclaturesService-getOffices --- src/Request/GetOfficesRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Request/GetOfficesRequest.php b/src/Request/GetOfficesRequest.php index f126c60..cf143f8 100644 --- a/src/Request/GetOfficesRequest.php +++ b/src/Request/GetOfficesRequest.php @@ -10,12 +10,12 @@ class GetOfficesRequest extends Request private const HTTP_METHOD = 'POST'; private ?string $countryCode; - private ?int $cityId; + private ?int $cityID; public function __construct(?string $countryCode = null, ?int $cityId = null) { $this->countryCode = $countryCode; - $this->cityId = $cityId; + $this->cityID = $cityId; } public function getEndpoint(): string