]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountverifycredentials.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / apiaccountverifycredentials.php
index 6cc61cf6da7f62bd4ea300ac910e4af10dd742d9..dfa366cbb61f492f0eede95beb7411c9a5d28763 100644 (file)
@@ -54,10 +54,9 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
      * Check whether the credentials are valid and output the result
      *
      * @param array $args $_REQUEST data (unused)
-     *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
 
@@ -87,7 +86,7 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
      *
      * @return boolean true
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }