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 d98fffa commit 9e4d6d6Copy full SHA for 9e4d6d6
tests/PHPStan/Analyser/nsrt/bug-12393b.php
@@ -388,7 +388,7 @@ public function doBar(): void
388
{
389
$i = rand(5, 10);
390
$this->foo = $i;
391
- assertType("'10'|'5'|'6'|'7'|'8'|'9'", $this->foo); // could be numeric-string
+ assertType("'10'|'5'|'6'|'7'|'8'|'9'", $this->foo);
392
}
393
394
@@ -400,7 +400,7 @@ class FooNullableIntString
400
public function doFoo(?int $b): void
401
402
$this->foo = $b;
403
- assertType('lowercase-string&numeric-string&uppercase-string', $this->foo); // could be numeric-string
+ assertType('lowercase-string&numeric-string&uppercase-string', $this->foo);
404
405
406
public function doBar(): void
0 commit comments