]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/noticesearch.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / noticesearch.php
index d4fc884f4bb2865bb6707222185476e1570e30e9..b4401ee17bea40ea4f5172418e16bf1f8d0a2143 100644 (file)
@@ -50,7 +50,7 @@ class NoticesearchAction extends SearchAction
 {
     protected $q = null;
 
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -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 {