From 3baa21a6eb20d53e03154d853d4b8be2ad9aff98 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 2 Feb 2017 19:43:55 -0500 Subject: [PATCH] StyleCI fixes. --- app/Http/Controllers/Server/ServerController.php | 1 - app/Http/Controllers/Server/SubuserController.php | 1 - app/Http/Controllers/Server/TaskController.php | 1 - app/Models/Server.php | 4 ++-- app/Repositories/Daemon/FileRepository.php | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/Http/Controllers/Server/ServerController.php b/app/Http/Controllers/Server/ServerController.php index 0b423cc97..75378ddc1 100644 --- a/app/Http/Controllers/Server/ServerController.php +++ b/app/Http/Controllers/Server/ServerController.php @@ -28,7 +28,6 @@ use DB; use Log; use Uuid; use Alert; -use Javascript; use Pterodactyl\Models; use Illuminate\Http\Request; use Pterodactyl\Exceptions\DisplayException; diff --git a/app/Http/Controllers/Server/SubuserController.php b/app/Http/Controllers/Server/SubuserController.php index 9badfef45..8c4452457 100644 --- a/app/Http/Controllers/Server/SubuserController.php +++ b/app/Http/Controllers/Server/SubuserController.php @@ -28,7 +28,6 @@ use DB; use Log; use Auth; use Alert; -use Javascript; use Pterodactyl\Models; use Illuminate\Http\Request; use Pterodactyl\Exceptions\DisplayException; diff --git a/app/Http/Controllers/Server/TaskController.php b/app/Http/Controllers/Server/TaskController.php index 4fb492afc..643e70a45 100644 --- a/app/Http/Controllers/Server/TaskController.php +++ b/app/Http/Controllers/Server/TaskController.php @@ -26,7 +26,6 @@ namespace Pterodactyl\Http\Controllers\Server; use Log; use Alert; -use Javascript; use Pterodactyl\Models; use Illuminate\Http\Request; use Pterodactyl\Repositories; diff --git a/app/Models/Server.php b/app/Models/Server.php index d0d02bc58..db8ba6381 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -198,12 +198,12 @@ class Server extends Model 'uuid', 'uuidShort', 'daemonSecret', - 'username' + 'username', ]), 'node' => collect($this->node)->only([ 'fqdn', 'scheme', - 'daemonListen' + 'daemonListen', ]), ]; diff --git a/app/Repositories/Daemon/FileRepository.php b/app/Repositories/Daemon/FileRepository.php index cb5f92a28..5fc2245fb 100644 --- a/app/Repositories/Daemon/FileRepository.php +++ b/app/Repositories/Daemon/FileRepository.php @@ -26,7 +26,6 @@ namespace Pterodactyl\Repositories\Daemon; use Exception; use GuzzleHttp\Client; -use Pterodactyl\Models\Node; use Pterodactyl\Models\Server; use Pterodactyl\Exceptions\DisplayException; use Pterodactyl\Repositories\HelperRepository;