]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiblockdestroy.php
Don't accept non-objects before testing with "instanceof".
[quix0rs-gnu-social.git] / actions / apiblockdestroy.php
index 692e10f7279fcf2bf91d0ef988edac4412610cdf..d5b291397083747ad8873d768633c9d8ffa3c946 100644 (file)
@@ -56,7 +56,7 @@ class ApiBlockDestroyAction extends ApiAuthAction
      *
      * @return boolean success flag
      */
-    protected function prepare($args)
+    protected function prepare(array $args=array())
     {
         parent::prepare($args);