]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/ItemBody.php
We now offer an endpoint for featured posts
[friendica.git] / src / Module / Debug / ItemBody.php
index 3759931145e16ee30423144576f1e421116c708c..55abc894ed736d263bb0399ea41fb58ec98e635b 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
  *
@@ -31,7 +31,7 @@ use Friendica\Network\HTTPException;
  */
 class ItemBody extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                if (!local_user()) {
                        throw new HTTPException\UnauthorizedException(DI::l10n()->t('Access denied.'));