We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204a3fd commit 813b270Copy full SHA for 813b270
src/Geocoder/Provider/TomTom.php
@@ -104,6 +104,10 @@ private function executeQuery($query)
104
105
$content = (string) $this->getAdapter()->get($query)->getBody();
106
107
+ if (false !== stripos($content, "Developer Inactive")) {
108
+ throw new InvalidCredentials('Map API Key provided is not valid.');
109
+ }
110
+
111
try {
112
$xml = new \SimpleXmlElement($content);
113
} catch (\Exception $e) {
0 commit comments