We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1605b18 commit db565f1Copy full SHA for db565f1
tests/ArrayFunctionCallTest.php
@@ -1781,9 +1781,12 @@ function getCharPairs(string $line) : array {
1781
'rsort' => [
1782
'<?php
1783
$array = ["foo" => 123, "bar" => 456];
1784
- rsort($array);',
+ rsort($array);
1785
+ $emptyArray = [];
1786
+ rsort($emptyArray);',
1787
'assertions' => [
- '$array' => 'list<int>',
1788
+ '$array' => 'non-empty-list<int>',
1789
+ '$emptyArray' => 'list<empty>',
1790
],
1791
1792
'usort' => [
0 commit comments