Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored and github-actions[bot] committed Dec 10, 2024
1 parent 6153c3a commit bb5f786
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/Role/Controller/CloneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function cloneRole(int $id, #[MapRequestPayload] RoleCloneParameter $roleClone): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/CreateFolderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function createRoleFolder(#[MapRequestPayload] CreateParameter $createParameter): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/CreateRoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function createRole(#[MapRequestPayload] CreateParameter $createParameter): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/DeleteFolderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct(
#[IdParameter(type: 'folder')]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function deleteRoleFolder(int $id): Response
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/DeleteRoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct(
#[IdParameter(type: 'role')]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function deleteRole(int $id): Response
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/GetRoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function getRoleById(int $id): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/RoleTreeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct(
content: new CollectionJson(new GenericCollection(TreeNode::class))
)]
#[DefaultResponses([
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function getRoleTree(#[MapQueryString] MappedParentIdParameter $roleTreeListingParameter): Response
{
Expand Down
2 changes: 1 addition & 1 deletion src/Role/Controller/UpdateRoleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function updateRoleById(int $id, #[MapRequestPayload] UpdateRoleParameter $roleUpdate): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/User/Controller/CloneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function cloneUser(int $id, #[MapRequestPayload] UserCloneParameter $userClone): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/User/Controller/CreateUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function createUser(#[MapRequestPayload] CreateParameter $createParameter): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/User/Controller/CreateUserFolderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function __construct(
)]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function createUserFolder(#[MapRequestPayload] CreateParameter $createParameter): JsonResponse
{
Expand Down
2 changes: 1 addition & 1 deletion src/User/Controller/DeleteUserFolderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct(
#[IdParameter(type: 'user-folder')]
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function deleteUserFolder(int $id): Response
{
Expand Down
2 changes: 1 addition & 1 deletion src/User/Controller/UpdateUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct(
#[DefaultResponses([
HttpResponseCodes::NOT_FOUND,
HttpResponseCodes::FORBIDDEN,
HttpResponseCodes::INTERNAL_SERVER_ERROR
HttpResponseCodes::INTERNAL_SERVER_ERROR,
])]
public function updateUsers(int $id, #[MapRequestPayload] UpdateUserParameter $userUpdate): JsonResponse
{
Expand Down

0 comments on commit bb5f786

Please sign in to comment.