]> git.mxchange.org Git - friendica-addons.git/commit
[forumdirectory] Fixes, type-hints and PAGE_* moval (#671)
authorRoland Häder <Quix0r@users.noreply.github.com>
Sat, 28 Jul 2018 05:33:39 +0000 (07:33 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Sat, 28 Jul 2018 05:33:39 +0000 (01:33 -0400)
commit05bea7c61d4472e5a65b3bec990339c5e0faefe0
tree3bec06fa90e8db88bd2cbb8e63e020dd74c66a56
parent31d0fac64ae33434953c9df1ea403d8b3ff09c44
[forumdirectory] Fixes, type-hints and PAGE_* moval (#671)

* Rewrite:
- moved PAGE_* constants to class Friendica\Model\Profile

* Rewrites:
- added type-hint `App`
- added type-hint `array` to $b
- used empty() instead of deprecated x()

* [forumdirectory] CR request:
- moved constants PAGE_* from Profile to Contact class

* [forumdirectory] CR request: Removed superfluous == 1
forumdirectory/forumdirectory.php