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 5ea5679 commit 98d5990Copy full SHA for 98d5990
tests/PHPStan/Analyser/nsrt/getopt.php
@@ -7,4 +7,4 @@
7
8
$opts = getopt("ab:c::", ["longopt1", "longopt2:", "longopt3::"], $restIndex);
9
assertType('(array<string, list<mixed>|string|false>|false)', $opts);
10
-assertType('int', $restIndex);
+assertType('int<1, max>', $restIndex);
0 commit comments