Skip to content

Commit afe9bbf

Browse files
Merge branch '4.4' into 5.0
* 4.4: 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 0a6a38c + 7fc8a7a commit afe9bbf

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)