Skip to content

Commit 386d808

Browse files
Fix
1 parent 64dba66 commit 386d808

File tree

1 file changed

+2
-2
lines changed
  • tests/PHPStan/Analyser/Generator/data

1 file changed

+2
-2
lines changed

tests/PHPStan/Analyser/Generator/data/gnsr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public function doBitwiseNot($a, int $b): void
9696
{
9797
assertType('int', ~$a);
9898
assertNativeType('int', ~$b);
99-
assertType('int', ~1);
100-
assertNativeType('int', ~1);
99+
assertType('-2', ~1);
100+
assertNativeType('-2', ~1);
101101
assertType('int', ~$b);
102102
assertNativeType('int', ~$b);
103103
}

0 commit comments

Comments
 (0)