[curweather] CR request:

- added/removed extra spaces
- removed trailing spaces
- nicely indented code block with `'$foo' => 'bar'`
This commit is contained in:
Roland Häder 2018-07-25 01:57:49 +02:00
parent bf6b8bc042
commit 00d957dfdc
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -49,6 +49,7 @@ function getWeather($loc, $units = 'metric', $lang = 'en', $appid = '', $cacheti
return $cached;
}
}
try {
$res = new SimpleXMLElement(Network::fetchUrl($url));
} catch (Exception $e) {