From d5cdc349db7ebe5e7f85fab7b6115874e46e710c Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 25 Mar 2024 16:37:39 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/app/Http/Controllers/BackupController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/Http/Controllers/BackupController.php b/src/app/Http/Controllers/BackupController.php index d40a186..36fe453 100644 --- a/src/app/Http/Controllers/BackupController.php +++ b/src/app/Http/Controllers/BackupController.php @@ -2,14 +2,13 @@ namespace Backpack\BackupManager\app\Http\Controllers; - use Carbon\Carbon; -use \Exception; +use Exception; +use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; -use Illuminate\Http\Request; use League\Flysystem\Local\LocalFilesystemAdapter; class BackupController extends Controller @@ -18,7 +17,7 @@ class BackupController extends Controller public function index() { - if (! count(config('backup.backup.destination.disks'))) { + if (!count(config('backup.backup.destination.disks'))) { abort(500, trans('backpack::backup.no_disks_configured')); }