Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / actions / noticesearch.php
index fd8fdf68e52f38139956ab5350aca4e1cee44a97..bcd2eb5065009597d1f079e5b89f109fed6d3a3b 100644 (file)
@@ -50,7 +50,7 @@ class NoticesearchAction extends SearchAction
 {
     protected $q = null;
 
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -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);
     }