Skip to content

Commit

Permalink
Allow RoundingMode as param to round
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Feb 25, 2025
1 parent 33022d1 commit 32aba29
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dictionaries/CallMap_84.php
Original file line number Diff line number Diff line change
Expand Up @@ -75355,7 +75355,7 @@
0 => 'float',
'num' => 'float|int',
'precision=' => 'int',
'mode=' => 'int<0, max>',
'mode=' => 'RoundingMode|int<0, max>',
),
'roundingmode::cases' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion dictionaries/override/CallMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -55120,7 +55120,7 @@
0 => 'float',
'num' => 'float|int',
'precision=' => 'int',
'mode=' => 'int<0, max>',
'mode=' => 'RoundingMode|int<0, max>',
),
'rpm_close' =>
array (
Expand Down
17 changes: 17 additions & 0 deletions dictionaries/override/CallMap_84_delta.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,23 @@
'fallback=' => 'bool',
),
),
'round' =>
array (
'old' =>
array (
0 => 'float',
'num' => 'float|int',
'precision=' => 'int',
'mode=' => 'int<0, max>',
),
'new' =>
array (
0 => 'float',
'num' => 'float|int',
'precision=' => 'int',
'mode=' => 'RoundingMode|int<0, max>',
),
),
'splfixedarray::setsize' =>
array (
'old' =>
Expand Down

0 comments on commit 32aba29

Please sign in to comment.