Misc cleanups (#5417)

* Fixed http://github to https://github

Signed-off-by: Roland Häder <roland@mxchange.org>

* reverted back

Signed-off-by: Roland Häder <roland@mxchange.org>

* Added type-hint 'array' as the method uses foreach() on it.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Tpzo fixed ...

Signed-off-by: Roland Häder <roland@mxchange.org>

* Added missing new-line at end of file, will make some POSIX parsers being lesser
confused ...

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-07-20 02:52:18 +02:00 committed by Hypolite Petovan
parent 01b67c4eb3
commit 36c6e35c7e
7 changed files with 61 additions and 16 deletions

View file

@ -224,7 +224,7 @@ class NotificationsManager extends BaseObject
* string 'ago' => T relative date of the notification
* bool 'seen' => Is the notification marked as "seen"
*/
private function formatNotifs($notifs, $ident = "")
private function formatNotifs(array $notifs, $ident = "")
{
$notif = [];
$arr = [];