Skip to content

Commit ca9984e

Browse files
committed
provider: GoogleMaps: required and optional params order (phpstan)
1 parent 43f1048 commit ca9984e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/GoogleMaps/GoogleMaps.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private function buildQuery(string $url, ?string $locale = null, ?string $region
197197
* @throws InvalidServerResponse
198198
* @throws InvalidCredentials
199199
*/
200-
private function fetchUrl(string $url, ?string $locale = null, int $limit, ?string $region = null): AddressCollection
200+
private function fetchUrl(string $url, ?string $locale = null, int $limit = 1, ?string $region = null): AddressCollection
201201
{
202202
$url = $this->buildQuery($url, $locale, $region);
203203
$content = $this->getUrlContents($url);

0 commit comments

Comments
 (0)