* Remove Google Analytics #728 * Remove config file * Don't set the vacentral url
This commit is contained in:
@@ -21,13 +21,14 @@ class VaCentralLookup extends AirportLookup
|
||||
*
|
||||
* @param string $icao
|
||||
*
|
||||
* @return array
|
||||
* @return mixed
|
||||
*/
|
||||
public function getAirport($icao)
|
||||
{
|
||||
try {
|
||||
$airport = $this->client->getAirport($icao);
|
||||
$airport->location = $airport->city;
|
||||
|
||||
return $airport;
|
||||
} catch (HttpException $e) {
|
||||
Log::error($e);
|
||||
|
||||
Reference in New Issue
Block a user