mirror of
https://github.com/friendica/friendica
synced 2025-04-23 07:10:14 +00:00
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:
parent
01b67c4eb3
commit
36c6e35c7e
7 changed files with 61 additions and 16 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue