X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnoticesearch.php;h=f1d6d1551640b9d771c780a22f4d7f080d648b5f;hb=3f28b17c86c4cd88d4f39629ea8a89ec3a820790;hp=d4fc884f4bb2865bb6707222185476e1570e30e9;hpb=31b29fde50e9664e1b70064c043879ce87553883;p=quix0rs-gnu-social.git diff --git a/actions/noticesearch.php b/actions/noticesearch.php index d4fc884f4b..f1d6d15516 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); } @@ -202,7 +202,7 @@ class SearchNoticeListItem extends NoticeListItem { function showContent() { // FIXME: URL, image, video, audio - $this->out->elementStart('p', array('class' => 'entry-content')); + $this->out->elementStart('p', array('class' => 'e-content')); if ($this->notice->rendered) { $this->out->raw($this->highlight($this->notice->rendered, $this->terms)); } else {