]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Maintenance.php
Merge pull request #11107 from annando/api-oauth
[friendica.git] / src / Module / Maintenance.php
index 7fc32b5217d9f1f3a3afbffd61835f16eafc86f0..b695c53ab9bf741a98c294ab4302991cb50ca308 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -34,7 +34,7 @@ use Friendica\Util\Strings;
  */
 class Maintenance extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                $reason = DI::config()->get('system', 'maintenance_reason');