[curweather] CR request:
- added/removed extra spaces - removed trailing spaces - nicely indented code block with `'$foo' => 'bar'`
This commit is contained in:
parent
bf6b8bc042
commit
00d957dfdc
1 changed files with 11 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue