From d9de884de33de7387b1ecd0f1ed99af3eb26ee5d Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Tue, 3 Jan 2017 22:46:30 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Http/Controllers/Server/ServerController.php | 1 - config/javascript.php | 4 ++-- .../migrations/2017_01_03_150436_fix_misnamed_option_tag.php | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Server/ServerController.php b/app/Http/Controllers/Server/ServerController.php index dfedd005..81a7e20c 100644 --- a/app/Http/Controllers/Server/ServerController.php +++ b/app/Http/Controllers/Server/ServerController.php @@ -31,7 +31,6 @@ use Alert; use Javascript; use Pterodactyl\Models; use Illuminate\Http\Request; -use InvalidArgumentException; use Pterodactyl\Exceptions\DisplayException; use Pterodactyl\Http\Controllers\Controller; use Pterodactyl\Repositories\ServerRepository; diff --git a/config/javascript.php b/config/javascript.php index 72c47f27..2a5cda58 100644 --- a/config/javascript.php +++ b/config/javascript.php @@ -14,7 +14,7 @@ return [ | */ 'bind_js_vars_to_this_view' => [ - 'layouts.master' + 'layouts.master', ], /* @@ -27,6 +27,6 @@ return [ | That way, you can access vars, like "SomeNamespace.someVariable." | */ - 'js_namespace' => 'Pterodactyl' + 'js_namespace' => 'Pterodactyl', ]; diff --git a/database/migrations/2017_01_03_150436_fix_misnamed_option_tag.php b/database/migrations/2017_01_03_150436_fix_misnamed_option_tag.php index 96b76149..a03584ca 100644 --- a/database/migrations/2017_01_03_150436_fix_misnamed_option_tag.php +++ b/database/migrations/2017_01_03_150436_fix_misnamed_option_tag.php @@ -1,7 +1,5 @@