From 873db6e00be8db86835e20d7244c14514a6c4b5a Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 22 Jun 2024 09:59:48 +0000 Subject: [PATCH] Apply fixes from StyleCI --- framework/core/src/Api/Resource/ExtensionReadmeResource.php | 2 +- framework/core/src/Api/Resource/ForumResource.php | 2 +- framework/core/src/Api/Resource/MailSettingResource.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/core/src/Api/Resource/ExtensionReadmeResource.php b/framework/core/src/Api/Resource/ExtensionReadmeResource.php index 2d0f5ec3b1..c5cf44c6b4 100644 --- a/framework/core/src/Api/Resource/ExtensionReadmeResource.php +++ b/framework/core/src/Api/Resource/ExtensionReadmeResource.php @@ -10,11 +10,11 @@ namespace Flarum\Api\Resource; use Flarum\Api\Endpoint; +use Flarum\Api\Resource\Contracts\Findable; use Flarum\Api\Schema; use Flarum\Extension\Extension; use Flarum\Extension\ExtensionManager; use Tobyz\JsonApiServer\Context; -use Flarum\Api\Resource\Contracts\Findable; /** * @todo: change to a simple ExtensionResource with readme field. diff --git a/framework/core/src/Api/Resource/ForumResource.php b/framework/core/src/Api/Resource/ForumResource.php index b324d61e88..fbc426fd42 100644 --- a/framework/core/src/Api/Resource/ForumResource.php +++ b/framework/core/src/Api/Resource/ForumResource.php @@ -11,6 +11,7 @@ use Flarum\Api\Context; use Flarum\Api\Endpoint; +use Flarum\Api\Resource\Contracts\Findable; use Flarum\Api\Schema; use Flarum\Foundation\Application; use Flarum\Foundation\Config; @@ -21,7 +22,6 @@ use Illuminate\Contracts\Filesystem\Factory; use Illuminate\Contracts\Filesystem\Filesystem; use stdClass; -use Flarum\Api\Resource\Contracts\Findable; /** * @extends AbstractResource diff --git a/framework/core/src/Api/Resource/MailSettingResource.php b/framework/core/src/Api/Resource/MailSettingResource.php index ece7cc955d..ddd20725a4 100644 --- a/framework/core/src/Api/Resource/MailSettingResource.php +++ b/framework/core/src/Api/Resource/MailSettingResource.php @@ -10,6 +10,7 @@ namespace Flarum\Api\Resource; use Flarum\Api\Endpoint; +use Flarum\Api\Resource\Contracts\Findable; use Flarum\Api\Schema; use Flarum\Mail\DriverInterface; use Flarum\Settings\SettingsRepositoryInterface; @@ -17,7 +18,6 @@ use Illuminate\Contracts\Validation\Factory; use stdClass; use Tobyz\JsonApiServer\Context; -use Flarum\Api\Resource\Contracts\Findable; /** * @extends AbstractResource