]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/deletegroup.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / deletegroup.php
index 6d9d66d30e1f61ec86c8397373a63106b24414ab..cc338b0ad2401826cf91aa9b0418d30dcf616750 100644 (file)
@@ -55,7 +55,7 @@ class DeletegroupAction extends RedirectingAction
      * @fixme merge common setup code with other group actions
      * @fixme allow group admins to delete their own groups
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -114,7 +114,7 @@ class DeletegroupAction extends RedirectingAction
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
         if ($_SERVER['REQUEST_METHOD'] == 'POST') {