diff --git a/BingMaps.php b/BingMaps.php index 2890215..2eecb6e 100644 --- a/BingMaps.php +++ b/BingMaps.php @@ -82,7 +82,7 @@ public function getName(): string return 'bing_maps'; } - private function executeQuery(string $url, string $locale = null, int $limit): Collection + private function executeQuery(string $url, ?string $locale = null, int $limit): Collection { if (null !== $locale) { $url = sprintf('%s&culture=%s', $url, str_replace('_', '-', $locale));