From 612f266dfff2b3a49f2b53ef09ad52d4ff28c7dd Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Tue, 14 Nov 2023 09:19:45 +0000 Subject: [PATCH] Apply fixes from StyleCI --- extend.php | 6 +++--- src/Controller/AbstractFeedController.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extend.php b/extend.php index 5258d4e..18d8a87 100644 --- a/extend.php +++ b/extend.php @@ -83,9 +83,9 @@ (new Extend\Routes('forum')) ->get('/rss/t/{tag}', 'feeds.rss.tag', Controller\TagsFeedController::class) ->get('/atom/t/{tag}', 'feeds.atom.tag', Controller\TagsFeedController::class) - + ->get('/rss/t/{tag}/discussions', 'feeds.rss.tag_discussions', Controller\LastDiscussionsByTagFeedController::class) - ->get('/atom/t/{tag}/discussions', 'feeds.atom.tag_discussions', Controller\LastDiscussionsByTagFeedController::class) + ->get('/atom/t/{tag}/discussions', 'feeds.atom.tag_discussions', Controller\LastDiscussionsByTagFeedController::class), ]; - }) + }), ]; diff --git a/src/Controller/AbstractFeedController.php b/src/Controller/AbstractFeedController.php index f75869b..efa5a24 100644 --- a/src/Controller/AbstractFeedController.php +++ b/src/Controller/AbstractFeedController.php @@ -46,8 +46,8 @@ use Flarum\Http\UrlGenerator; use Flarum\Settings\SettingsRepositoryInterface; use Flarum\User\User; -use Illuminate\Support\Str; use Illuminate\Contracts\View\Factory; +use Illuminate\Support\Str; use Laminas\Diactoros\Response; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface;