From 57163e6fd69d560b462a1b9eaee054126e029703 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 25 Jan 2016 16:31:46 +0100 Subject: [PATCH] Added type-hint for constructor of NoticeTreeItem class Signed-off-by: Roland Haeder --- plugins/GNUsocialProfileExtensions/lib/noticetree.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GNUsocialProfileExtensions/lib/noticetree.php b/plugins/GNUsocialProfileExtensions/lib/noticetree.php index 380672ebb5..236474abde 100644 --- a/plugins/GNUsocialProfileExtensions/lib/noticetree.php +++ b/plugins/GNUsocialProfileExtensions/lib/noticetree.php @@ -111,7 +111,7 @@ class NoticeTree extends NoticeList class NoticeTreeItem extends NoticeListItem { - function __construct($notice, $out=null) + function __construct(Notice $notice, Action $out=null) { parent::__construct($notice, $out); //TODO: Rewrite this @@ -124,7 +124,7 @@ class NoticeTreeItem extends NoticeListItem $cnt++; } $this->faves = $cnt; - } + } function showStart() { -- 2.39.5