]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/actions/newevent.php
Stronger typing for NoticeListItem and so
[quix0rs-gnu-social.git] / plugins / Event / actions / newevent.php
index d05b5af8d3a5bd0ad4690267d266a925b1eac62e..9483db7b4e55ab5360410560bcbfef389ff407b6 100644 (file)
@@ -320,7 +320,7 @@ class NeweventAction extends Action
      *
      * @return void
      */
-    function showNotice($notice)
+    function showNotice(Notice $notice)
     {
         $nli = new NoticeListItem($notice, $this);
         $nli->show();