Skip to content

Commit 6293420

Browse files
committed
cs: autofix coding standards
1 parent e965f98 commit 6293420

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

src/EuLoginBundle.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@
1313

1414
use Symfony\Component\HttpKernel\Bundle\Bundle;
1515

16-
final class EuLoginBundle extends Bundle
17-
{
18-
}
16+
final class EuLoginBundle extends Bundle {}

src/Security/Core/User/EuLoginUser.php

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,14 @@ final class EuLoginUser implements EuLoginUserInterface
1818
{
1919
public function __construct(
2020
private readonly CasUserInterface $user
21-
) {
22-
}
21+
) {}
2322

2423
public function __toString(): string
2524
{
2625
return $this->user->__toString();
2726
}
2827

29-
public function eraseCredentials(): void
30-
{
31-
}
28+
public function eraseCredentials(): void {}
3229

3330
public function get(string $key, mixed $default = null): mixed
3431
{

src/Security/Core/User/EuLoginUserProvider.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ final class EuLoginUserProvider implements CasUserProviderInterface
2020
{
2121
public function __construct(
2222
private readonly CasUserProviderInterface $casUserProvider
23-
) {
24-
}
23+
) {}
2524

2625
public function loadUserByIdentifier(string $identifier): UserInterface
2726
{

src/Security/EcasAuthenticator.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ final class EcasAuthenticator extends AbstractAuthenticator implements Authentic
2525
{
2626
public function __construct(
2727
private readonly CasAuthenticator $casAuthenticator
28-
) {
29-
}
28+
) {}
3029

3130
public function authenticate(Request $request): Passport
3231
{

0 commit comments

Comments
 (0)