Skip to content

Commit 338f919

Browse files
Merge branch '5.0' into 5.1
* 5.0: Allow email message to have "To", "Cc", or "Bcc" header to be valid [FrameworkBundle] Removed detection of Serializer < 3.2 Update pull request template for 5.1. [Security/Core] fix PHP8 deprecation
2 parents 0f4504b + afe9bbf commit 338f919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authentication/Token/SwitchUserToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SwitchUserToken extends UsernamePasswordToken
2828
*
2929
* @throws \InvalidArgumentException
3030
*/
31-
public function __construct($user, $credentials, string $providerKey, array $roles = [], TokenInterface $originalToken)
31+
public function __construct($user, $credentials, string $providerKey, array $roles, TokenInterface $originalToken)
3232
{
3333
parent::__construct($user, $credentials, $providerKey, $roles);
3434

0 commit comments

Comments
 (0)