Skip to content

Commit 2b17481

Browse files
codedgegnievesj
authored andcommitted
#165: Return proper interface
1 parent 7e659a1 commit 2b17481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/Symfony/SessionAssertionsTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ protected function getSymfonyMajorVersion(): int
204204
}
205205

206206
/**
207-
* @return UsernamePasswordToken|PostAuthenticationGuardToken|PostAuthenticationToken
207+
* @return TokenInterface
208208
*/
209-
protected function createAuthenticationToken(UserInterface $user, string $firewallName, array $roles)
209+
public function createAuthenticationToken(UserInterface $user, string $firewallName, array $roles)
210210
{
211211
if ($this->getSymfonyMajorVersion() < 6) {
212212
return $this->config['guard']

0 commit comments

Comments
 (0)