Skip to content

Commit

Permalink
Fix compatibility with Symfony 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 18, 2019
1 parent 0e58fa0 commit d0cb8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Security/Core/User/EuloginUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function loadUserByResponse(ResponseInterface $response): CasUserInterfac
/**
* {@inheritdoc}
*/
public function loadUserByUsername(string $username)
public function loadUserByUsername($username)
{
throw new UnsupportedUserException(sprintf('Username "%s" does not exist.', $username));
}
Expand All @@ -51,7 +51,7 @@ public function refreshUser(UserInterface $user)
/**
* {@inheritdoc}
*/
public function supportsClass(string $class)
public function supportsClass($class)
{
return EuloginUser::class === $class;
}
Expand Down

0 comments on commit d0cb8c8

Please sign in to comment.