@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/CreateRolesCommand.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/RemoveUserGroupCommand.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/UserHelper.php |
| 5 | 5 | * |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @param UserEntity $user |
| 60 | 60 | */ |
| 61 | - $iterator = function (UserEntity $user) use (&$choices): void { |
|
| 61 | + $iterator = function(UserEntity $user) use (&$choices): void { |
|
| 62 | 62 | $message = \sprintf( |
| 63 | 63 | '%s (%s %s <%s>)', |
| 64 | 64 | $user->getUsername(), |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * |
| 93 | 93 | * @param UserGroupEntity $userGroup |
| 94 | 94 | */ |
| 95 | - $iterator = function (UserGroupEntity $userGroup) use (&$choices): void { |
|
| 95 | + $iterator = function(UserGroupEntity $userGroup) use (&$choices): void { |
|
| 96 | 96 | $choices[$userGroup->getId()] = \sprintf('%s (%s)', $userGroup->getName(), $userGroup->getRole()->getId()); |
| 97 | 97 | }; |
| 98 | 98 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/ManagementCommand.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/ListUsersCommand.php |
| 5 | 5 | * |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * |
| 92 | 92 | * @return string |
| 93 | 93 | */ |
| 94 | - $formatterGroup = function (UserGroup $userGroup): string { |
|
| 94 | + $formatterGroup = function(UserGroup $userGroup): string { |
|
| 95 | 95 | return \sprintf( |
| 96 | 96 | '%s (%s)', |
| 97 | 97 | $userGroup->getName(), |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * |
| 105 | 105 | * @return array |
| 106 | 106 | */ |
| 107 | - $formatterUser = function (User $user) use ($formatterGroup): array { |
|
| 107 | + $formatterUser = function(User $user) use ($formatterGroup): array { |
|
| 108 | 108 | return [ |
| 109 | 109 | $user->getId(), |
| 110 | 110 | $user->getUsername(), |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/CreateUserGroupCommand.php |
| 5 | 5 | * |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * |
| 86 | 86 | * @return InputOption |
| 87 | 87 | */ |
| 88 | - $iterator = function (array $input): InputOption { |
|
| 88 | + $iterator = function(array $input): InputOption { |
|
| 89 | 89 | return new InputOption( |
| 90 | 90 | $input['name'], |
| 91 | 91 | $input['shortcut'] ?? null, |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/RemoveUserCommand.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/ListUserGroupsCommand.php |
| 5 | 5 | * |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * |
| 82 | 82 | * @return string |
| 83 | 83 | */ |
| 84 | - $formatterUser = function (User $user): string { |
|
| 84 | + $formatterUser = function(User $user): string { |
|
| 85 | 85 | return \sprintf( |
| 86 | 86 | '%s %s <%s>', |
| 87 | 87 | $user->getFirstname(), |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * |
| 96 | 96 | * @return array |
| 97 | 97 | */ |
| 98 | - $formatterGroup = function (UserGroup $userGroup) use ($formatterUser): array { |
|
| 98 | + $formatterGroup = function(UserGroup $userGroup) use ($formatterUser): array { |
|
| 99 | 99 | return [ |
| 100 | 100 | $userGroup->getId(), |
| 101 | 101 | $userGroup->getName(), |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/CreateUserCommand.php |
| 5 | 5 | * |