From 5a2f68342042290efa70e341cb2150b8679693e6 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Fri, 9 Aug 2024 11:27:15 +0200 Subject: [PATCH] chore: remove unused imports --- src/Api/Controllers/UpdateFieldController.php | 2 -- src/Api/Controllers/UserConfigureController.php | 1 - 2 files changed, 3 deletions(-) diff --git a/src/Api/Controllers/UpdateFieldController.php b/src/Api/Controllers/UpdateFieldController.php index 3413d99..c620108 100644 --- a/src/Api/Controllers/UpdateFieldController.php +++ b/src/Api/Controllers/UpdateFieldController.php @@ -4,11 +4,9 @@ use Flarum\Api\Controller\AbstractCreateController; use Flarum\Http\RequestUtil; -use Flarum\User\Exception\PermissionDeniedException; use FoF\Masquerade\Api\Serializers\FieldSerializer; use FoF\Masquerade\Repositories\FieldRepository; use Illuminate\Support\Arr; -use Illuminate\Validation\ValidationException; use Psr\Http\Message\ServerRequestInterface; use Tobscure\JsonApi\Document; diff --git a/src/Api/Controllers/UserConfigureController.php b/src/Api/Controllers/UserConfigureController.php index 997a0b6..4bc5c48 100644 --- a/src/Api/Controllers/UserConfigureController.php +++ b/src/Api/Controllers/UserConfigureController.php @@ -3,7 +3,6 @@ namespace FoF\Masquerade\Api\Controllers; use Flarum\Http\RequestUtil; -use FoF\Masquerade\Api\Serializers\FieldSerializer; use FoF\Masquerade\Field; use FoF\Masquerade\Repositories\FieldRepository; use FoF\Masquerade\Validators\AnswerValidator;