]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ClientSideShorten/actions/shorten.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / ClientSideShorten / actions / shorten.php
index 6840d532aab720d4d21d2bdbf47431d9ccc3383f..376e245fc7f35b580e61ec28d45dc64addeeefc4 100644 (file)
@@ -45,7 +45,7 @@ class ShortenAction extends Action
 {
     private $text;
 
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
         $this->groups=array();
@@ -58,7 +58,7 @@ class ShortenAction extends Action
         return true;
     }
 
-    function handle($args=null)
+    function handle(array $args=array())
     {
         parent::handle($args);
         header('Content-Type: text/plain');