From 719c6045adda5e24fc8b33af08e5cb7d34b15538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Wis=CC=81niewski?= Date: Mon, 15 Apr 2024 10:05:56 +0200 Subject: [PATCH] removed unused import --- src/Helpers/Helpers.php | 1 - src/Http/Controllers/ContentApiController.php | 1 - src/Repositories/H5PFileStorageRepository.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Helpers/Helpers.php b/src/Helpers/Helpers.php index 2a172a20..6de293cd 100644 --- a/src/Helpers/Helpers.php +++ b/src/Helpers/Helpers.php @@ -2,7 +2,6 @@ namespace EscolaLms\HeadlessH5P\Helpers; -use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; class Helpers diff --git a/src/Http/Controllers/ContentApiController.php b/src/Http/Controllers/ContentApiController.php index ab19ae38..a8b7a7cb 100644 --- a/src/Http/Controllers/ContentApiController.php +++ b/src/Http/Controllers/ContentApiController.php @@ -19,7 +19,6 @@ use EscolaLms\HeadlessH5P\Services\Contracts\HeadlessH5PServiceContract; use Exception; use Illuminate\Http\JsonResponse; -use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; use Symfony\Component\HttpFoundation\BinaryFileResponse; use Symfony\Component\HttpFoundation\StreamedResponse; diff --git a/src/Repositories/H5PFileStorageRepository.php b/src/Repositories/H5PFileStorageRepository.php index 20de9013..9e7da288 100644 --- a/src/Repositories/H5PFileStorageRepository.php +++ b/src/Repositories/H5PFileStorageRepository.php @@ -42,7 +42,7 @@ private static function libraryToFolderName($library) { /** * @throws Exception */ - public function copyFiles($source, $destination) { + private function copyFiles($source, $destination) { if (!$this->isDirReady($destination)) { throw new Exception('unabletocopy'); }