Weekly fix of my StyleCI violations...
This commit is contained in:
parent
0ca7148e07
commit
77b1a258d9
|
@ -26,13 +26,11 @@
|
|||
namespace Pterodactyl\Http\Controllers\Auth;
|
||||
|
||||
use Auth;
|
||||
use Alert;
|
||||
use Cache;
|
||||
use Crypt;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\User;
|
||||
use PragmaRX\Google2FA\Google2FA;
|
||||
use Pterodactyl\Events\Auth\FailedLogin;
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ namespace Pterodactyl\Http\Controllers\Daemon;
|
|||
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
|
||||
class OptionController extends Controller
|
||||
|
|
|
@ -28,9 +28,9 @@ use Log;
|
|||
use Alert;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Repositories\TaskRepository;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
use Pterodactyl\Repositories\TaskRepository;
|
||||
use Pterodactyl\Exceptions\DisplayValidationException;
|
||||
|
||||
class TaskController extends Controller
|
||||
|
|
|
@ -27,8 +27,6 @@ namespace Pterodactyl\Jobs;
|
|||
use Cron;
|
||||
use Carbon;
|
||||
use Pterodactyl\Models\Task;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\TaskLog;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
|
|
|
@ -26,7 +26,6 @@ namespace Pterodactyl\Repositories;
|
|||
|
||||
use DB;
|
||||
use Crypt;
|
||||
use Config;
|
||||
use Validator;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\Database;
|
||||
|
|
|
@ -635,7 +635,6 @@ class ServerRepository
|
|||
*/
|
||||
protected function changeService($id, array $data)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected function processVariables(Models\Server $server, $data, $admin = false)
|
||||
|
@ -692,6 +691,7 @@ class ServerRepository
|
|||
|
||||
// Reload Variables
|
||||
$server->load('variables');
|
||||
|
||||
return $server->option->variables->map(function ($item, $key) use ($server) {
|
||||
$display = $server->variables->where('variable_id', $item->id)->pluck('variable_value')->first();
|
||||
|
||||
|
@ -820,7 +820,6 @@ class ServerRepository
|
|||
|
||||
return true;
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
namespace Pterodactyl\Repositories;
|
||||
|
||||
use DB;
|
||||
use Cron;
|
||||
use Validator;
|
||||
use Pterodactyl\Models\Task;
|
||||
|
|
Loading…
Reference in New Issue