diff --git a/app/Containers/AppSection/Authorization/UI/API/Transformers/PermissionTransformer.php b/app/Containers/AppSection/Authorization/UI/API/Transformers/PermissionTransformer.php index bf50e698f..b13a255df 100644 --- a/app/Containers/AppSection/Authorization/UI/API/Transformers/PermissionTransformer.php +++ b/app/Containers/AppSection/Authorization/UI/API/Transformers/PermissionTransformer.php @@ -7,11 +7,11 @@ class PermissionTransformer extends Transformer { - protected $availableIncludes = [ + protected array $availableIncludes = [ ]; - protected $defaultIncludes = [ + protected array $defaultIncludes = [ ]; diff --git a/app/Containers/AppSection/Authorization/UI/API/Transformers/RoleTransformer.php b/app/Containers/AppSection/Authorization/UI/API/Transformers/RoleTransformer.php index 4ee144096..78b598918 100644 --- a/app/Containers/AppSection/Authorization/UI/API/Transformers/RoleTransformer.php +++ b/app/Containers/AppSection/Authorization/UI/API/Transformers/RoleTransformer.php @@ -8,11 +8,11 @@ class RoleTransformer extends Transformer { - protected $availableIncludes = [ + protected array $availableIncludes = [ ]; - protected $defaultIncludes = [ + protected array $defaultIncludes = [ 'permissions', ]; diff --git a/app/Containers/AppSection/User/UI/API/Transformers/UserTransformer.php b/app/Containers/AppSection/User/UI/API/Transformers/UserTransformer.php index c6b23d13e..470646088 100644 --- a/app/Containers/AppSection/User/UI/API/Transformers/UserTransformer.php +++ b/app/Containers/AppSection/User/UI/API/Transformers/UserTransformer.php @@ -9,11 +9,11 @@ class UserTransformer extends Transformer { - protected $availableIncludes = [ + protected array $availableIncludes = [ 'roles', ]; - protected $defaultIncludes = [ + protected array $defaultIncludes = [ ];