]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/noticesearch.php
Added more checked type-hints.
[quix0rs-gnu-social.git] / actions / noticesearch.php
index b4401ee17bea40ea4f5172418e16bf1f8d0a2143..f1d6d1551640b9d771c780a22f4d7f080d648b5f 100644 (file)
@@ -186,7 +186,7 @@ class SearchNoticeList extends NoticeList {
         $this->terms = $terms;
     }
 
-    function newListItem($notice)
+    function newListItem(Notice $notice)
     {
         return new SearchNoticeListItem($notice, $this->out, $this->terms);
     }