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 321d004 commit dac0defCopy full SHA for dac0def
tests/PHPStan/Analyser/Fiber/data/fnsr.php
@@ -96,8 +96,8 @@ public function doBitwiseNot($a, int $b): void
96
{
97
assertType('int', ~$a);
98
assertNativeType('int', ~$b);
99
- assertType('int', ~1);
100
- assertNativeType('int', ~1);
+ assertType('-2', ~1);
+ assertNativeType('-2', ~1);
101
assertType('int', ~$b);
102
103
}
0 commit comments