Skip to content

Commit 6950a82

Browse files
committed
Use short array deconstruction syntax.
1 parent d10e36f commit 6950a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Authorization/TraceableAccessDecisionManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testDecideLog(array $expectedLog, array $attributes, $object, ar
4040
->with($token, $attributes, $object)
4141
->willReturnCallback(function ($token, $attributes, $object) use ($voterVotes, $adm, $result) {
4242
foreach ($voterVotes as $voterVote) {
43-
list($voter, $vote) = $voterVote;
43+
[$voter, $vote] = $voterVote;
4444
$adm->addVoterVote($voter, $attributes, $vote);
4545
}
4646

0 commit comments

Comments
 (0)