From 6ddb8e78e56c64ad761557353fc42f0ae5ea565b Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sat, 7 Oct 2017 11:20:38 +0200 Subject: [PATCH] Fix namespace imports --- framework/core/src/Core/AvatarUploader.php | 2 +- framework/core/src/Core/Command/DeleteAvatarHandler.php | 1 - framework/core/src/Core/Command/UploadAvatarHandler.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/core/src/Core/AvatarUploader.php b/framework/core/src/Core/AvatarUploader.php index 3d7c018e7..394a966e6 100755 --- a/framework/core/src/Core/AvatarUploader.php +++ b/framework/core/src/Core/AvatarUploader.php @@ -11,9 +11,9 @@ namespace Flarum\Core; +use Illuminate\Support\Str; use Intervention\Image\Image; use League\Flysystem\FilesystemInterface; -use Illuminate\Support\Str; class AvatarUploader { diff --git a/framework/core/src/Core/Command/DeleteAvatarHandler.php b/framework/core/src/Core/Command/DeleteAvatarHandler.php index 2a7cb1638..2e735582d 100644 --- a/framework/core/src/Core/Command/DeleteAvatarHandler.php +++ b/framework/core/src/Core/Command/DeleteAvatarHandler.php @@ -18,7 +18,6 @@ use Flarum\Core\Repository\UserRepository; use Flarum\Core\Support\DispatchEventsTrait; use Flarum\Event\AvatarWillBeDeleted; use Illuminate\Contracts\Events\Dispatcher; -use League\Flysystem\FilesystemInterface; class DeleteAvatarHandler { diff --git a/framework/core/src/Core/Command/UploadAvatarHandler.php b/framework/core/src/Core/Command/UploadAvatarHandler.php index 02e655bd6..0750ff0b7 100644 --- a/framework/core/src/Core/Command/UploadAvatarHandler.php +++ b/framework/core/src/Core/Command/UploadAvatarHandler.php @@ -11,7 +11,6 @@ namespace Flarum\Core\Command; -use Exception; use Flarum\Core\Access\AssertPermissionTrait; use Flarum\Core\AvatarUploader; use Flarum\Core\Repository\UserRepository;