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 1044f11 commit 975c37cCopy full SHA for 975c37c
tests/PHPStan/Analyser/nsrt/get-debug-type.php
@@ -37,7 +37,7 @@ function doFoo(bool $b, int $i, float $f, $d, $r, string $s, array $a, $intOrStr
37
assertType("string", get_debug_type($std));
38
assertType("'GetDebugType\\\\A'", get_debug_type($A));
39
assertType("string", get_debug_type($r));
40
- assertType("'bool'|string", get_debug_type($resource));
+ assertType("string", get_debug_type($resource));
41
assertType("'null'", get_debug_type($null));
42
assertType("'int'|'string'", get_debug_type($intOrString));
43
assertType("'array'|'GetDebugType\\\\A'", get_debug_type($arrayOrObject));
0 commit comments