[curweather] x() no longer used and more (#669)
authorRoland Häder <Quix0r@users.noreply.github.com>
Wed, 25 Jul 2018 00:18:59 +0000 (02:18 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 25 Jul 2018 00:18:59 +0000 (20:18 -0400)
commitf4763f67ad8aec1d5f3c89175fb47f83a1abad63
treecc522313cea869f7292e18678001fb95a6f890f0
parent40f01ae6014484a5cf52bf413dc4259afe7e0a41
[curweather] x() no longer used and more (#669)

* [curweather] Fixes/rewrites:
- Added `App` as type-hint for $a and no & (call-by-reference) anymore
- use empty() instead of deprecated x()
- opening curly brace belongs into new line after function/method declaration
- added a lot other curly braces for better readability
- added spaces and empty lines

* [curweather] CR request:
- added/removed spaces
- added missing line-feed after opening curly brace

* [curweather] Another new line-feed added

* [curweather] CR request:
- added/removed extra spaces
- removed trailing spaces
- nicely indented code block with `'$foo' => 'bar'`

* [curweather] CR request:
- removed stray space
curweather/curweather.php