Skip to content

Commit 7014cb8

Browse files
committed
Fixed ECS errors
1 parent f7e1f83 commit 7014cb8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Security/SecurityUser.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ class SecurityUser implements UserInterface, PasswordAuthenticatedUserInterface
3131
*
3232
* @param array<int, string> $roles
3333
*/
34-
public function __construct(User $user, private readonly array $roles = [])
35-
{
34+
public function __construct(
35+
User $user,
36+
private readonly array $roles = [],
37+
) {
3638
$this->identifier = $user->getId();
3739
$this->password = $user->getPassword();
3840
$this->language = $user->getLanguage();

0 commit comments

Comments
 (0)