Compare commits

...

2 Commits
0.0.7 ... 0.0.8

Author SHA1 Message Date
brabli
af13393765 Add check to make test pass 2024-08-05 11:17:22 +01:00
brabli
7e0c231d88 Add newline 2024-08-05 11:17:09 +01:00
2 changed files with 5 additions and 0 deletions

View File

@@ -23,3 +23,4 @@ class LatLongModel
return $this->longitude;
}
}

View File

@@ -30,6 +30,10 @@ class Geocoder
return null;
}
if (array_key_exists('error', $data)) {
return null;
}
return $this->createLatLongModel($data);
}