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 86f68d6 commit 59364e5Copy full SHA for 59364e5
tests/PHPStan/Analyser/nsrt/discussion-9134.php
@@ -6,7 +6,7 @@
6
7
$var = $_GET["data"];
8
$res = filter_var($var, FILTER_VALIDATE_INT, FILTER_REQUIRE_ARRAY);
9
-assertType('array<int>|false', $res);
+assertType('array<int|false>|false', $res);
10
if (is_array($res) === false) {
11
throw new \RuntimeException();
12
}
0 commit comments