From 32d5d891cb7888b47cd41a7eb7dcc3f69b71f670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Mom=C4=8Dilovi=C4=87?= Date: Sat, 18 May 2024 20:25:45 +0200 Subject: [PATCH] phpstan and php-cs-fixer: updates (#1226) * provider: BingMaps: required and optional params order (phpstan) * provider: GoogleMaps: required and optional params order (phpstan) * provider: GeoIP2: php-cs-fixer: fix identation --- GoogleMaps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoogleMaps.php b/GoogleMaps.php index 0aa75ed..fd58fe8 100644 --- a/GoogleMaps.php +++ b/GoogleMaps.php @@ -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);