Cleanup php-cs-fixer

This commit is contained in:
Dane Everitt 2022-02-26 11:51:18 -05:00
parent 0e1c3a76f4
commit c16fa92904
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 3 additions and 8 deletions

View file

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: [ 7.4, 8.0, 8.1 ] php: [ 8.1 ]
database: [ 'mariadb:10.6', 'mysql:8' ] database: [ 'mariadb:10.6', 'mysql:8' ]
services: services:
database: database:

View file

@ -9,8 +9,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
{ {
/** /**
* Returns the status code. * Returns the status code.
*
* @return int
*/ */
public function getStatusCode(): int public function getStatusCode(): int
{ {
@ -19,8 +17,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
/** /**
* Returns response headers. * Returns response headers.
*
* @return array
*/ */
public function getHeaders(): array public function getHeaders(): array
{ {

View file

@ -13,7 +13,6 @@ use Pterodactyl\Http\Middleware\VerifyCsrfToken;
use Pterodactyl\Http\Middleware\VerifyReCaptcha; use Pterodactyl\Http\Middleware\VerifyReCaptcha;
use Pterodactyl\Http\Middleware\AdminAuthenticate; use Pterodactyl\Http\Middleware\AdminAuthenticate;
use Illuminate\Routing\Middleware\ThrottleRequests; use Illuminate\Routing\Middleware\ThrottleRequests;
use Pterodactyl\Http\Middleware\LanguageMiddleware;
use Illuminate\Foundation\Http\Kernel as HttpKernel; use Illuminate\Foundation\Http\Kernel as HttpKernel;
use Illuminate\Routing\Middleware\SubstituteBindings; use Illuminate\Routing\Middleware\SubstituteBindings;
use Illuminate\Session\Middleware\AuthenticateSession; use Illuminate\Session\Middleware\AuthenticateSession;

View file

@ -1,8 +1,8 @@
<?php <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class MakePersonalAccessTokensSoftDeletable extends Migration class MakePersonalAccessTokensSoftDeletable extends Migration
{ {