Skip to content

Commit

Permalink
phpstan and php-cs-fixer: updates (#1226)
Browse files Browse the repository at this point in the history
* provider: BingMaps: required and optional params order (phpstan)

* provider: GoogleMaps: required and optional params order (phpstan)

* provider: GeoIP2: php-cs-fixer: fix identation
  • Loading branch information
kornrunner authored May 18, 2024
1 parent 29f721c commit 32d5d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoogleMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private function buildQuery(string $url, ?string $locale = null, ?string $region
* @throws InvalidServerResponse
* @throws InvalidCredentials
*/
private function fetchUrl(string $url, ?string $locale = null, int $limit, ?string $region = null): AddressCollection
private function fetchUrl(string $url, ?string $locale = null, int $limit = 1, ?string $region = null): AddressCollection
{
$url = $this->buildQuery($url, $locale, $region);
$content = $this->getUrlContents($url);
Expand Down

0 comments on commit 32d5d89

Please sign in to comment.