From f25539917102fb0ef7a1811d54cef5de18d910a3 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 21 May 2020 15:16:16 -0600 Subject: [PATCH] Fix StyleCI issues --- app/Http/Controllers/Admin/MountController.php | 6 ------ app/Http/Controllers/Admin/ServersController.php | 10 +++++----- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/app/Http/Controllers/Admin/MountController.php b/app/Http/Controllers/Admin/MountController.php index 3c5f3d4b4..26cc6d369 100644 --- a/app/Http/Controllers/Admin/MountController.php +++ b/app/Http/Controllers/Admin/MountController.php @@ -3,7 +3,6 @@ namespace Pterodactyl\Http\Controllers\Admin; use Illuminate\Http\Request; -use Illuminate\Support\Facades\Log; use Pterodactyl\Models\Mount; use Prologue\Alerts\AlertsMessageBag; use Pterodactyl\Exceptions\DisplayException; @@ -23,11 +22,6 @@ class MountController extends Controller */ protected $alert; - /** - * @var \Pterodactyl\Repositories\Eloquent\MountRepository - */ - protected $mountRepository; - /** * @var \Pterodactyl\Contracts\Repository\NestRepositoryInterface */ diff --git a/app/Http/Controllers/Admin/ServersController.php b/app/Http/Controllers/Admin/ServersController.php index 09173d43f..4de954b43 100644 --- a/app/Http/Controllers/Admin/ServersController.php +++ b/app/Http/Controllers/Admin/ServersController.php @@ -9,21 +9,19 @@ namespace Pterodactyl\Http\Controllers\Admin; -use GuzzleHttp\Exception\RequestException; -use Illuminate\Http\Request; use Illuminate\Support\Arr; -use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException; +use Illuminate\Http\Request; use Pterodactyl\Models\User; use Pterodactyl\Models\Server; use Prologue\Alerts\AlertsMessageBag; +use GuzzleHttp\Exception\RequestException; use Pterodactyl\Exceptions\DisplayException; use Pterodactyl\Http\Controllers\Controller; -use Pterodactyl\Repositories\Wings\DaemonServerRepository; -use Pterodactyl\Services\Servers\ServerConfigurationStructureService; use Pterodactyl\Services\Servers\SuspensionService; use Pterodactyl\Repositories\Eloquent\MountRepository; use Pterodactyl\Services\Servers\ServerDeletionService; use Pterodactyl\Services\Servers\ReinstallServerService; +use Pterodactyl\Repositories\Wings\DaemonServerRepository; use Pterodactyl\Services\Servers\BuildModificationService; use Pterodactyl\Services\Databases\DatabasePasswordService; use Pterodactyl\Services\Servers\DetailsModificationService; @@ -35,6 +33,8 @@ use Illuminate\Contracts\Config\Repository as ConfigRepository; use Pterodactyl\Contracts\Repository\ServerRepositoryInterface; use Pterodactyl\Contracts\Repository\DatabaseRepositoryInterface; use Pterodactyl\Contracts\Repository\AllocationRepositoryInterface; +use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException; +use Pterodactyl\Services\Servers\ServerConfigurationStructureService; use Pterodactyl\Http\Requests\Admin\Servers\Databases\StoreServerDatabaseRequest; class ServersController extends Controller