]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apifriendshipsdestroy.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / apifriendshipsdestroy.php
index 5f7c85e0aff62bd725a48f634e81e67237fca7b2..610c912cb65f19c10dd6532e547af31f161f91dc 100644 (file)
@@ -58,7 +58,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
      * @return boolean success flag
      *
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -77,7 +77,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);