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 c66bb4a commit 3dc3d3eCopy full SHA for 3dc3d3e
tests/PHPStan/Analyser/nsrt/bug-12393b.php
@@ -144,7 +144,7 @@ public function getMixed()
144
145
}
146
147
-class Foo
+class FooStringInt
148
{
149
150
public int $foo;
@@ -195,6 +195,8 @@ public function doBar(): void
195
196
$this->foo = true;
197
assertType('string', $this->foo);
198
+ $this->foo = false;
199
+ assertType('string', $this->foo);
200
201
202
0 commit comments