1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Clause sort should be normal, not reversed

This commit is contained in:
Matthew Brown 2022-03-14 10:38:42 -04:00
parent 8d5664d539
commit 040122403d

View File

@ -106,7 +106,7 @@ class Clause
$possibility_strings = [];
foreach ($possibilities as $i => $_) {
krsort($possibilities[$i]);
ksort($possibilities[$i]);
$possibility_strings[$i] = array_keys($possibilities[$i]);
}