Apply fixes from StyleCI (#294)
This commit is contained in:
parent
a10e235beb
commit
7c916ad38f
21 changed files with 21 additions and 40 deletions
|
@ -24,7 +24,6 @@
|
|||
|
||||
namespace Pterodactyl\Http\Controllers\API;
|
||||
|
||||
use DB;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\Location;
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ class NodeController extends BaseController
|
|||
|
||||
$node->allocations->transform(function ($item) {
|
||||
return collect($item)->only([
|
||||
'id', 'ip', 'ip_alias', 'port', 'server_id'
|
||||
'id', 'ip', 'ip_alias', 'port', 'server_id',
|
||||
]);
|
||||
});
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
namespace Pterodactyl\Http\Controllers\API\User;
|
||||
|
||||
use Pterodactyl\Models;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Http\Controllers\API\BaseController;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ use Pterodactyl\Exceptions\DisplayException;
|
|||
use Pterodactyl\Repositories\UserRepository;
|
||||
use Pterodactyl\Exceptions\DisplayValidationException;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||
use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue