Apply fixes from StyleCI (#312)

* Bump for release

* Apply fixes from StyleCI
This commit is contained in:
Dane Everitt 2017-02-18 22:57:50 -05:00 committed by GitHub
parent ed4068bdb9
commit b11029a666
8 changed files with 8 additions and 11 deletions

View file

@ -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);

View file

@ -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;
}
/**

View file

@ -24,7 +24,6 @@
namespace Pterodactyl\Repositories\Daemon;
use GuzzleHttp\Client;
use Pterodactyl\Models;
use GuzzleHttp\Exception\RequestException;
use Pterodactyl\Exceptions\DisplayException;

View file

@ -24,7 +24,6 @@
namespace Pterodactyl\Repositories\Daemon;
use GuzzleHttp\Client;
use Pterodactyl\Models;
use Pterodactyl\Exceptions\DisplayException;

View file

@ -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

View file

@ -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),