X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=actions%2Fnoticesearch.php;h=bcd2eb5065009597d1f079e5b89f109fed6d3a3b;hp=fd8fdf68e52f38139956ab5350aca4e1cee44a97;hb=e2d85a39e7f82ceef2cb2fe66a3a9a62ac9a363e;hpb=0dfafe256709b918362e48e2340f8d07fb421f54 diff --git a/actions/noticesearch.php b/actions/noticesearch.php index fd8fdf68e5..bcd2eb5065 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -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); }