]> git.mxchange.org Git - friendica.git/commit
Cleaned up include/items.php (#5523)
authorRoland Häder <Quix0r@users.noreply.github.com>
Tue, 31 Jul 2018 01:02:34 +0000 (03:02 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Tue, 31 Jul 2018 01:02:34 +0000 (21:02 -0400)
commit3da1b9f3196a029708571009ecb820a2dc2aff7d
tree55b0f9aa874bc3742af31fcc135bec580e111042
parent55c10a3fc9e53d9d283e941c8217feaf5dc079fa
Cleaned up include/items.php (#5523)

* Cleaned up include/items.php
- added type-hint for array where suitable
- moved opening curly brace to new line after function
- used BaseObject::getApp() instead of get_app()
- used empty() instead of is_array(), maybe avoids E_NOTICE

* Changed 'AS' to 'as', keywords in PHP are all lower-case.
include/items.php