Skip to content

Commit 16ec1c0

Browse files
kalessilfabpot
authored andcommitted
SCA with Php Inspections (EA Extended): 2.7
1 parent 7eeb407 commit 16ec1c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Authorization/AccessDecisionManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ private function decideConsensus(TokenInterface $token, array $attributes, $obje
144144
{
145145
$grant = 0;
146146
$deny = 0;
147-
$abstain = 0;
148147
foreach ($this->voters as $voter) {
149148
$result = $voter->vote($token, $object, $attributes);
150149

@@ -160,7 +159,6 @@ private function decideConsensus(TokenInterface $token, array $attributes, $obje
160159
break;
161160

162161
default:
163-
++$abstain;
164162

165163
break;
166164
}

0 commit comments

Comments
 (0)