diff --git a/src/Psalm/Internal/Clause.php b/src/Psalm/Internal/Clause.php index c4abe33d8..3ba55a0e6 100644 --- a/src/Psalm/Internal/Clause.php +++ b/src/Psalm/Internal/Clause.php @@ -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]); }