Skip to content

Commit 862ed13

Browse files
Merge branch '4.4' into 5.0
* 4.4: [PhpUnitBridge] fix bad test [4.4] CS fixes [3.4] CS fixes Disable phpunit verbosity Queue name is a required parameter [FrameworkBundle] display actual target for error in AssetsInstallCommand Remove patches for Doctrine bugs and deprecations [Mime] fix bad method call on "EmailAddressContains" [DI][EventDispatcher] added contract for implementation
2 parents 5945abf + 434c1b2 commit 862ed13

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Authentication/Token/UsernamePasswordToken.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class UsernamePasswordToken extends AbstractToken
2626
/**
2727
* @param string|\Stringable|UserInterface $user The username (like a nickname, email address, etc.) or a UserInterface instance
2828
* @param mixed $credentials
29-
* @param string $providerKey
3029
* @param string[] $roles
3130
*
3231
* @throws \InvalidArgumentException

Authorization/AccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(iterable $voters = [], string $strategy = self::STRA
6060
*/
6161
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/)
6262
{
63-
$allowMultipleAttributes = 3 < func_num_args() && func_get_arg(3);
63+
$allowMultipleAttributes = 3 < \func_num_args() && func_get_arg(3);
6464

6565
// Special case for AccessListener, do not remove the right side of the condition before 6.0
6666
if (\count($attributes) > 1 && !$allowMultipleAttributes) {

0 commit comments

Comments
 (0)