Skip to content

Commit

Permalink
fix abs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosh committed Dec 7, 2021
1 parent 07224e7 commit 9c4187f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/FunctionCallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function fooFoo(array $a = []): void {
$c = $_GET["c"];
$c = is_numeric($c) ? abs($c) : null;',
'assertions' => [
'$a' => 'int',
'$a' => 'int|positive-int',
'$b' => 'float',
'$c' => 'float|int|null',
'$c' => 'float|int|null|positive-int',
],
'error_levels' => ['MixedAssignment', 'MixedArgument'],
],
Expand Down

0 comments on commit 9c4187f

Please sign in to comment.