]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/QnA/QnAPlugin.php
Also for onEndShowScripts() 'Action' is the proper type-hint.
[quix0rs-gnu-social.git] / plugins / QnA / QnAPlugin.php
index 7c6c3e00e355fd6367c604ba64be127d71b063da..98bb80e68d5a5b6fc5ee05bfd793a73cb1c8396f 100644 (file)
@@ -439,7 +439,7 @@ class QnAPlugin extends MicroAppPlugin
         }
     }
 
-    function onEndShowScripts($action)
+    function onEndShowScripts(Action $action)
     {
         $action->script($this->path('js/qna.js'));
         return true;