mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Applied ListToArrayDestructRector
This commit is contained in:
parent
b8240e293a
commit
83f1d52528
@ -164,7 +164,7 @@ class CustomTraverser extends NodeTraverser
|
||||
}
|
||||
|
||||
if (!empty($doNodes)) {
|
||||
while (list($i, $replace) = array_pop($doNodes)) {
|
||||
while ([$i, $replace] = array_pop($doNodes)) {
|
||||
array_splice($nodes, $i, 1, $replace);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user