Fix all StyleCI errors and probably break everything in the process

This commit is contained in:
Matthew Penner 2020-04-11 14:07:40 -06:00
parent b5e50719ac
commit 432e28b6bb
12 changed files with 25 additions and 27 deletions

View file

@ -165,6 +165,7 @@ class DatabaseController extends Controller
$this->alert->danger(
sprintf('There was an error while trying to connect to the host or while executing a query: "%s"', $exception->getMessage())
)->flash();
return $redirect->withInput($request->normalize());
} else {
throw $exception;

View file

@ -86,7 +86,7 @@ class ScheduleTaskController extends ClientApiController
}
$this->repository->update($task->id, [
'action' => $request->input('action'),
'action' => $request->input('action'),
'payload' => $request->input('payload'),
'time_offset' => $request->input('time_offset'),
]);

View file

@ -3,8 +3,6 @@
namespace Pterodactyl\Http\Controllers\Api\Remote\Servers;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Pterodactyl\Models\Server;
use Illuminate\Http\JsonResponse;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Repositories\Eloquent\BackupRepository;