Skip to content

Commit e9a969b

Browse files
committed
Fix CS
1 parent 254b083 commit e9a969b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Authorization/AccessDecisionManager.php

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

Authorization/TraceableAccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(AccessDecisionManagerInterface $manager)
5050
*
5151
* @param bool $allowMultipleAttributes Whether to allow passing multiple values to the $attributes array
5252
*/
53-
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/): bool
53+
public function decide(TokenInterface $token, array $attributes, $object = null/* , bool $allowMultipleAttributes = false */): bool
5454
{
5555
$currentDecisionLog = [
5656
'attributes' => $attributes,

Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getUser()
5050

5151
if (!$user instanceof UserInterface) {
5252
@trigger_error(sprintf('Accessing the user object "%s" that is not an instance of "%s" from "%s()" is deprecated since Symfony 4.2, use "getToken()->getUser()" instead.', \get_class($user), UserInterface::class, __METHOD__), \E_USER_DEPRECATED);
53-
//return null; // 5.0 behavior
53+
// return null; // 5.0 behavior
5454
}
5555

5656
return $user;

Tests/SecurityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getUserTests()
6464

6565
yield ['string_username', null];
6666

67-
//yield [new StringishUser(), null]; // 5.0 behavior
67+
// yield [new StringishUser(), null]; // 5.0 behavior
6868

6969
$user = new User('nice_user', 'foo');
7070
yield [$user, $user];

0 commit comments

Comments
 (0)