Run php-cs-fixer
This commit is contained in:
parent
65f27d41a2
commit
5705d7dbdd
16 changed files with 4 additions and 36 deletions
|
@ -11,8 +11,6 @@ class AllocationTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* Relationships that can be loaded onto allocation transformations.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['node', 'server'];
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@ use Pterodactyl\Services\Acl\Api\AdminAcl;
|
|||
|
||||
class DatabaseHostTransformer extends BaseTransformer
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = [
|
||||
'databases',
|
||||
];
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace Pterodactyl\Transformers\Api\Application;
|
||||
|
||||
use Pterodactyl\Models\Egg;
|
||||
use Illuminate\Support\Arr;
|
||||
use Pterodactyl\Models\Egg;
|
||||
use Pterodactyl\Models\Nest;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\EggVariable;
|
||||
|
@ -13,8 +13,6 @@ class EggTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* Relationships that can be loaded onto this transformation.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = [
|
||||
'nest',
|
||||
|
|
|
@ -9,8 +9,6 @@ class LocationTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['nodes', 'servers'];
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ class NestTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* Relationships that can be loaded onto this transformation.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = [
|
||||
'eggs', 'servers',
|
||||
|
|
|
@ -9,8 +9,6 @@ class NodeTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['allocations', 'location', 'servers'];
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@ use Illuminate\Contracts\Encryption\Encrypter;
|
|||
|
||||
class ServerDatabaseTransformer extends BaseTransformer
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['password', 'host'];
|
||||
|
||||
/**
|
||||
|
|
|
@ -15,8 +15,6 @@ class ServerTransformer extends BaseTransformer
|
|||
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = [
|
||||
'allocations',
|
||||
|
|
|
@ -9,8 +9,6 @@ class ServerVariableTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['parent'];
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@ class SubuserTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['user', 'server'];
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@ class UserTransformer extends BaseTransformer
|
|||
{
|
||||
/**
|
||||
* List of resources that can be included.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected array $availableIncludes = ['servers'];
|
||||
|
||||
|
|
Reference in a new issue