Skip to content

Commit

Permalink
cs: autofix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 6, 2023
1 parent e965f98 commit 6293420
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
4 changes: 1 addition & 3 deletions src/EuLoginBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

final class EuLoginBundle extends Bundle
{
}
final class EuLoginBundle extends Bundle {}
7 changes: 2 additions & 5 deletions src/Security/Core/User/EuLoginUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ final class EuLoginUser implements EuLoginUserInterface
{
public function __construct(
private readonly CasUserInterface $user
) {
}
) {}

public function __toString(): string
{
return $this->user->__toString();
}

public function eraseCredentials(): void
{
}
public function eraseCredentials(): void {}

public function get(string $key, mixed $default = null): mixed
{
Expand Down
3 changes: 1 addition & 2 deletions src/Security/Core/User/EuLoginUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ final class EuLoginUserProvider implements CasUserProviderInterface
{
public function __construct(
private readonly CasUserProviderInterface $casUserProvider
) {
}
) {}

public function loadUserByIdentifier(string $identifier): UserInterface
{
Expand Down
3 changes: 1 addition & 2 deletions src/Security/EcasAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ final class EcasAuthenticator extends AbstractAuthenticator implements Authentic
{
public function __construct(
private readonly CasAuthenticator $casAuthenticator
) {
}
) {}

public function authenticate(Request $request): Passport
{
Expand Down

0 comments on commit 6293420

Please sign in to comment.