Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codedge authored and gnievesj committed Mar 12, 2024
1 parent 2b17481 commit 6d66135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/Symfony/SessionAssertionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function amLoggedInWithToken(TokenInterface $token, string $firewallName
$this->loginWithToken($token, $firewallName, $firewallContext);
}

private function loginWithToken(TokenInterface $token, string $firewallName = 'main', string $firewallContext = null): void
protected function loginWithToken(TokenInterface $token, string $firewallName, ?string $firewallContext): void
{
$this->getTokenStorage()->setToken($token);

Expand Down

0 comments on commit 6d66135

Please sign in to comment.