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 4196932 commit f2252dcCopy full SHA for f2252dc
tests/PHPStan/Analyser/nsrt/bug-13546.php
@@ -63,7 +63,7 @@ function mixedLast(mixed $mixed): void
63
}
64
65
/** @param list<string> $array */
66
-function firstInCondition(array $array): mixed
+function firstInCondition(array $array)
67
{
68
if (($key = array_key_first($array)) !== null) {
69
assertType('list<string>', $array); // could be 'non-empty-list<string>'
0 commit comments