]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/Localtime.php
Merge pull request #10994 from nupplaphil/feat/module_constructor
[friendica.git] / src / Module / Debug / Localtime.php
index ff1466408e922152f0dfb481aa092c88938153d2..6fb91380ae5bdd8e082cd11fd1173a0ea9095a91 100644 (file)
@@ -31,7 +31,7 @@ class Localtime extends BaseModule
 {
        static $mod_localtime = '';
 
-       public static function post(array $parameters = [])
+       public function post()
        {
                $time = ($_REQUEST['time'] ?? '') ?: 'now';
 
@@ -42,7 +42,7 @@ class Localtime extends BaseModule
                }
        }
 
-       public static function content(array $parameters = [])
+       public function content(): string
        {
                $time = ($_REQUEST['time'] ?? '') ?: 'now';