]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelistitem.php
Stronger typing for NoticeListItem and so
[quix0rs-gnu-social.git] / lib / noticelistitem.php
index b8ebe3bede27a85264136246cdc99bc38cac1489..f46827d1f739206881eb7784b9c6d63761f82d53 100644 (file)
@@ -65,7 +65,7 @@ class NoticeListItem extends Widget
      *
      * @param Notice $notice The notice we'll display
      */
-    function __construct($notice, $out=null)
+    function __construct(Notice $notice, HTMLOutputter $out=null)
     {
         parent::__construct($out);
         if (!empty($notice->repeat_of)) {