Skip to content

Commit 27b00c3

Browse files
committed
Update gnsr.php
1 parent 2eb4520 commit 27b00c3

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
@@ -75,7 +75,7 @@ public function doMinus($a, $b, int $c, int $d): void
7575
public function doBitwiseAnd($a, $b, int $c, int $d): void
7676
{
7777
assertType('int', $a & $b);
78-
assertNativeType('(float|int)', $a & $b);
78+
assertNativeType('int', $a & $b);
7979
assertType('1', 1 & 1);
8080
assertNativeType('1', 1 & 1);
8181
assertType('int', $c & $d);
@@ -90,7 +90,7 @@ public function doBitwiseAnd($a, $b, int $c, int $d): void
9090
public function doMul($a, $b, int $c, int $d): void
9191
{
9292
assertType('int', $a * $b);
93-
assertNativeType('int', $a * $b);
93+
assertNativeType('(float|int)', $a * $b);
9494
assertType('1', 1 * 1);
9595
assertNativeType('1', 1 * 1);
9696
assertType('int', $c * $d);

0 commit comments

Comments
 (0)