Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Nov 4, 2022
1 parent 968b0ab commit 3a5c041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/PHPStan/Analyser/data/integer-range-types.php
Expand Up @@ -352,6 +352,7 @@ public function zeroIssues($positive, $negative)
assertType('int<0, max>', $positive * $positive);
assertType('0', 0 * $negative);
assertType('int<0, max>', $negative * $negative);
assertType('int<min, 0>', $negative * $positive);
}

}

0 comments on commit 3a5c041

Please sign in to comment.