Skip to content

Commit 4252014

Browse files
committed
Update includes definition to match updated package requirements
1 parent 34ffaeb commit 4252014

14 files changed

+14
-14
lines changed

app/Transformers/Api/Application/AllocationTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AllocationTransformer extends BaseTransformer
1414
*
1515
* @var array
1616
*/
17-
protected $availableIncludes = ['node', 'server'];
17+
protected array $availableIncludes = ['node', 'server'];
1818

1919
/**
2020
* Return the resource name for the JSONAPI output.

app/Transformers/Api/Application/DatabaseHostTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class DatabaseHostTransformer extends BaseTransformer
1111
/**
1212
* @var array
1313
*/
14-
protected $availableIncludes = [
14+
protected array $availableIncludes = [
1515
'databases',
1616
];
1717

app/Transformers/Api/Application/EggTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class EggTransformer extends BaseTransformer
1515
*
1616
* @var array
1717
*/
18-
protected $availableIncludes = [
18+
protected array $availableIncludes = [
1919
'nest',
2020
'servers',
2121
'config',

app/Transformers/Api/Application/LocationTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class LocationTransformer extends BaseTransformer
1212
*
1313
* @var array
1414
*/
15-
protected $availableIncludes = ['nodes', 'servers'];
15+
protected array $availableIncludes = ['nodes', 'servers'];
1616

1717
/**
1818
* Return the resource name for the JSONAPI output.

app/Transformers/Api/Application/NestTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class NestTransformer extends BaseTransformer
1414
*
1515
* @var array
1616
*/
17-
protected $availableIncludes = [
17+
protected array $availableIncludes = [
1818
'eggs', 'servers',
1919
];
2020

app/Transformers/Api/Application/NodeTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class NodeTransformer extends BaseTransformer
1212
*
1313
* @var array
1414
*/
15-
protected $availableIncludes = ['allocations', 'location', 'servers'];
15+
protected array $availableIncludes = ['allocations', 'location', 'servers'];
1616

1717
/**
1818
* Return the resource name for the JSONAPI output.

app/Transformers/Api/Application/ServerDatabaseTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ServerDatabaseTransformer extends BaseTransformer
1212
/**
1313
* @var array
1414
*/
15-
protected $availableIncludes = ['password', 'host'];
15+
protected array $availableIncludes = ['password', 'host'];
1616

1717
/**
1818
* @var Encrypter

app/Transformers/Api/Application/ServerTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ServerTransformer extends BaseTransformer
1818
*
1919
* @var array
2020
*/
21-
protected $availableIncludes = [
21+
protected array $availableIncludes = [
2222
'allocations',
2323
'user',
2424
'subusers',

app/Transformers/Api/Application/ServerVariableTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ServerVariableTransformer extends BaseTransformer
1212
*
1313
* @var array
1414
*/
15-
protected $availableIncludes = ['parent'];
15+
protected array $availableIncludes = ['parent'];
1616

1717
/**
1818
* Return the resource name for the JSONAPI output.

app/Transformers/Api/Application/SubuserTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SubuserTransformer extends BaseTransformer
1212
*
1313
* @var array
1414
*/
15-
protected $availableIncludes = ['user', 'server'];
15+
protected array $availableIncludes = ['user', 'server'];
1616

1717
/**
1818
* Return the resource name for the JSONAPI output.

0 commit comments

Comments
 (0)