]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/actions/newpoll.php
Added some (good known) type-hints.
[quix0rs-gnu-social.git] / plugins / Poll / actions / newpoll.php
index 8a1155ba857646cb9e9f51fc931380ddd57a71e1..071778aaa2109486618b515a3ce8d4b091a20a47 100644 (file)
@@ -181,7 +181,7 @@ class NewPollAction extends Action
      *
      * @return void
      */
-    function showNotice($notice)
+    function showNotice(Notice $notice)
     {
         class_exists('NoticeList'); // @fixme hack for autoloader
         $nli = new NoticeListItem($notice, $this);