]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / register.php
index 82fb9fc5736a97fa16c9be69bbdfb236e3303bee..26d6c247b3b20f392bb702588a3f5ac9bec4785a 100644 (file)
@@ -64,7 +64,7 @@ class RegisterAction extends Action
      * @param $args
      * @return string title
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
         $this->code = $this->trimmed('code');
@@ -122,7 +122,7 @@ class RegisterAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);