Skip to content

Commit 5705d7d

Browse files
committed
Run php-cs-fixer
1 parent 65f27d4 commit 5705d7d

16 files changed

+4
-36
lines changed

app/Http/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Pterodactyl\Models\ApiKey;
66
use Illuminate\Auth\Middleware\Authorize;
7-
use Illuminate\Http\Middleware\TrustProxies;
87
use Illuminate\Auth\Middleware\Authenticate;
8+
use Illuminate\Http\Middleware\TrustProxies;
99
use Pterodactyl\Http\Middleware\TrimStrings;
1010
use Illuminate\Session\Middleware\StartSession;
1111
use Pterodactyl\Http\Middleware\EncryptCookies;

app/Models/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Pterodactyl\Models;
44

5-
use Illuminate\Support\Str;
65
use Illuminate\Support\Arr;
6+
use Illuminate\Support\Str;
77
use Illuminate\Validation\Rule;
88
use Illuminate\Container\Container;
99
use Illuminate\Contracts\Validation\Factory;

app/Transformers/Api/Application/AllocationTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class AllocationTransformer extends BaseTransformer
1111
{
1212
/**
1313
* Relationships that can be loaded onto allocation transformations.
14-
*
15-
* @var array
1614
*/
1715
protected array $availableIncludes = ['node', 'server'];
1816

app/Transformers/Api/Application/DatabaseHostTransformer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
class DatabaseHostTransformer extends BaseTransformer
1010
{
11-
/**
12-
* @var array
13-
*/
1411
protected array $availableIncludes = [
1512
'databases',
1613
];

app/Transformers/Api/Application/EggTransformer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Pterodactyl\Transformers\Api\Application;
44

5-
use Pterodactyl\Models\Egg;
65
use Illuminate\Support\Arr;
6+
use Pterodactyl\Models\Egg;
77
use Pterodactyl\Models\Nest;
88
use Pterodactyl\Models\Server;
99
use Pterodactyl\Models\EggVariable;
@@ -13,8 +13,6 @@ class EggTransformer extends BaseTransformer
1313
{
1414
/**
1515
* Relationships that can be loaded onto this transformation.
16-
*
17-
* @var array
1816
*/
1917
protected array $availableIncludes = [
2018
'nest',

app/Transformers/Api/Application/LocationTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ class LocationTransformer extends BaseTransformer
99
{
1010
/**
1111
* List of resources that can be included.
12-
*
13-
* @var array
1412
*/
1513
protected array $availableIncludes = ['nodes', 'servers'];
1614

app/Transformers/Api/Application/NestTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class NestTransformer extends BaseTransformer
1111
{
1212
/**
1313
* Relationships that can be loaded onto this transformation.
14-
*
15-
* @var array
1614
*/
1715
protected array $availableIncludes = [
1816
'eggs', 'servers',

app/Transformers/Api/Application/NodeTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ class NodeTransformer extends BaseTransformer
99
{
1010
/**
1111
* List of resources that can be included.
12-
*
13-
* @var array
1412
*/
1513
protected array $availableIncludes = ['allocations', 'location', 'servers'];
1614

app/Transformers/Api/Application/ServerDatabaseTransformer.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
class ServerDatabaseTransformer extends BaseTransformer
1111
{
12-
/**
13-
* @var array
14-
*/
1512
protected array $availableIncludes = ['password', 'host'];
1613

1714
/**

app/Transformers/Api/Application/ServerTransformer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class ServerTransformer extends BaseTransformer
1515

1616
/**
1717
* List of resources that can be included.
18-
*
19-
* @var array
2018
*/
2119
protected array $availableIncludes = [
2220
'allocations',

0 commit comments

Comments
 (0)