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 64dba66 commit 386d808Copy full SHA for 386d808
tests/PHPStan/Analyser/Generator/data/gnsr.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