]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Features.php
Merge pull request #11041 from tobiasd/2021.12-CHANGELOG
[friendica.git] / src / Module / Admin / Features.php
index d2c8e2d83af607e0717f9b3858233935473b95db..6fdefb0a9c1d89a0f8c1868109c33f2e02e51829 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -28,7 +28,7 @@ use Friendica\Module\BaseAdmin;
 
 class Features extends BaseAdmin
 {
-       public function post()
+       protected function post(array $request = [])
        {
                self::checkAdminAccess();
 
@@ -60,7 +60,7 @@ class Features extends BaseAdmin
                DI::baseUrl()->redirect('admin/features');
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                parent::content();