Skip to content

Commit

Permalink
Fixed the name of the $cityId parameter according to the documentation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fri0z authored May 13, 2023
1 parent ab69039 commit df4b687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Request/GetOfficesRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df4b687

Please sign in to comment.