Skip to content

Commit dac0def

Browse files
Fix
1 parent 321d004 commit dac0def

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

tests/PHPStan/Analyser/Fiber/data/fnsr.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)