Skip to content

Commit 434c1b2

Browse files
[4.4] CS fixes
1 parent fc84e94 commit 434c1b2

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
@@ -59,7 +59,7 @@ public function __construct(iterable $voters = [], string $strategy = self::STRA
5959
*/
6060
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/)
6161
{
62-
$allowMultipleAttributes = 3 < func_num_args() && func_get_arg(3);
62+
$allowMultipleAttributes = 3 < \func_num_args() && func_get_arg(3);
6363

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

0 commit comments

Comments
 (0)