]> git.mxchange.org Git - friendica-addons.git/commit
[diaspora] Cleanups and type-hinting (#665)
authorRoland Häder <Quix0r@users.noreply.github.com>
Mon, 23 Jul 2018 23:04:06 +0000 (01:04 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Mon, 23 Jul 2018 23:04:06 +0000 (19:04 -0400)
commit280e835481506a47bf50f3c153ca70e8d2f3ad24
tree2b442ac5971543eb05c2bce72f04120c099c5725
parentea4de38223fba08d4c0013cd6fa20f4a865469a0
[diaspora] Cleanups and type-hinting (#665)

* [diaspora] Fixes/cleanups:
- added curly braces/spaces for better readability
- don't use count() when you can use DBM::is_result()
- used proper type-hints `App` and `array`
- "imported" Friendica\App

* [diaspora]: Fixed parser error, ops

* [diaspora]:
- DBA::isResult() is now the new name (MrPetovan)
- added spaces for nice indending and better readability
- changed 4-spaces to tab
diaspora/diaspora.php