Skip to content

Commit

Permalink
Merge pull request #9 from fri0z/fri0z-change-cityId-property
Browse files Browse the repository at this point in the history
Fixed the name of the $cityId parameter according to the documentation
  • Loading branch information
Wiktor6 authored Sep 28, 2024
2 parents b25f138 + df4b687 commit cb37505
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 cb37505

Please sign in to comment.