Apply fixes from StyleCI (#312)
* Bump for release * Apply fixes from StyleCI
This commit is contained in:
parent
ed4068bdb9
commit
b11029a666
8 changed files with 8 additions and 11 deletions
|
@ -80,6 +80,7 @@ class APIController extends Controller
|
|||
return response('', 204);
|
||||
} catch (\Exception $ex) {
|
||||
Log::error($ex);
|
||||
|
||||
return response()->json([
|
||||
'error' => 'An error occured while attempting to remove this key.',
|
||||
], 503);
|
||||
|
|
|
@ -31,7 +31,6 @@ use Pterodactyl\Models\Server;
|
|||
|
||||
class ServerPolicy
|
||||
{
|
||||
|
||||
/**
|
||||
* Create a new policy instance.
|
||||
*
|
||||
|
@ -62,7 +61,7 @@ class ServerPolicy
|
|||
})->values();
|
||||
});
|
||||
|
||||
return ($permissions->search($permission, true) !== false);
|
||||
return $permissions->search($permission, true) !== false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
namespace Pterodactyl\Repositories\Daemon;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use Pterodactyl\Models;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
namespace Pterodactyl\Repositories\Daemon;
|
||||
|
||||
use GuzzleHttp\Client;
|
||||
use Pterodactyl\Models;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ use Validator;
|
|||
use Pterodactyl\Models;
|
||||
use Pterodactyl\Services\UuidService;
|
||||
use Pterodactyl\Exceptions\DisplayException;
|
||||
use Pterodactyl\Notifications\AccountCreated;
|
||||
use Pterodactyl\Exceptions\DisplayValidationException;
|
||||
|
||||
class UserRepository
|
||||
|
|
|
@ -4,7 +4,7 @@ return [
|
|||
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
|
||||
'version' => env('APP_VERSION', 'canary'),
|
||||
'version' => env('APP_VERSION', '0.6.0-pre.4'),
|
||||
|
||||
'phrase_in_context' => env('PHRASE_IN_CONTEXT', false),
|
||||
|
||||
|
|
Loading…
Reference in a new issue