mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 10:32:31 +01:00
Update includes definition to match updated package requirements
This commit is contained in:
parent
34ffaebd3e
commit
4252014d18
@ -14,7 +14,7 @@ class AllocationTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['node', 'server'];
|
||||
protected array $availableIncludes = ['node', 'server'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -11,7 +11,7 @@ class DatabaseHostTransformer extends BaseTransformer
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = [
|
||||
protected array $availableIncludes = [
|
||||
'databases',
|
||||
];
|
||||
|
||||
|
@ -15,7 +15,7 @@ class EggTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = [
|
||||
protected array $availableIncludes = [
|
||||
'nest',
|
||||
'servers',
|
||||
'config',
|
||||
|
@ -12,7 +12,7 @@ class LocationTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['nodes', 'servers'];
|
||||
protected array $availableIncludes = ['nodes', 'servers'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -14,7 +14,7 @@ class NestTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = [
|
||||
protected array $availableIncludes = [
|
||||
'eggs', 'servers',
|
||||
];
|
||||
|
||||
|
@ -12,7 +12,7 @@ class NodeTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['allocations', 'location', 'servers'];
|
||||
protected array $availableIncludes = ['allocations', 'location', 'servers'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -12,7 +12,7 @@ class ServerDatabaseTransformer extends BaseTransformer
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['password', 'host'];
|
||||
protected array $availableIncludes = ['password', 'host'];
|
||||
|
||||
/**
|
||||
* @var Encrypter
|
||||
|
@ -18,7 +18,7 @@ class ServerTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = [
|
||||
protected array $availableIncludes = [
|
||||
'allocations',
|
||||
'user',
|
||||
'subusers',
|
||||
|
@ -12,7 +12,7 @@ class ServerVariableTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['parent'];
|
||||
protected array $availableIncludes = ['parent'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -12,7 +12,7 @@ class SubuserTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['user', 'server'];
|
||||
protected array $availableIncludes = ['user', 'server'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -12,7 +12,7 @@ class UserTransformer extends BaseTransformer
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['servers'];
|
||||
protected array $availableIncludes = ['servers'];
|
||||
|
||||
/**
|
||||
* Return the resource name for the JSONAPI output.
|
||||
|
@ -9,7 +9,7 @@ use Pterodactyl\Contracts\Extensions\HashidsInterface;
|
||||
|
||||
class DatabaseTransformer extends BaseClientTransformer
|
||||
{
|
||||
protected $availableIncludes = ['password'];
|
||||
protected array $availableIncludes = ['password'];
|
||||
|
||||
/**
|
||||
* @var \Illuminate\Contracts\Encryption\Encrypter
|
||||
|
@ -11,7 +11,7 @@ class ScheduleTransformer extends BaseClientTransformer
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['tasks'];
|
||||
protected array $availableIncludes = ['tasks'];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
@ -21,7 +21,7 @@ class ServerTransformer extends BaseClientTransformer
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $availableIncludes = ['egg', 'subusers'];
|
||||
protected array $availableIncludes = ['egg', 'subusers'];
|
||||
|
||||
public function getResourceName(): string
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user