]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added type-hint for constructor of NoticeTreeItem class
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 15:31:46 +0000 (16:31 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:33 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/GNUsocialProfileExtensions/lib/noticetree.php

index 95df52838846d218ce296052f35bab5444b552a8..7f28fc6f254be2f52c040372c3410fff32d0fffe 100644 (file)
@@ -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()
     {