Skip to content

Commit

Permalink
adapt bcdiv for PHP8 in stubs (#5401)
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah authored Mar 16, 2021
1 parent ff5a6cb commit 1149050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CoreGenericFunctions.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ function realpath(string $path) {}
*
* @param numeric-string $left_operand
* @param numeric-string $right_operand
* @return ($right_operand is "0" ? null : numeric-string)
* @return (PHP_MAJOR_VERSION is 8 ? numeric-string : ($right_operand is "0" ? null : numeric-string))
*/
function bcdiv(string $left_operand, string $right_operand, int $scale = 0): ?string {}

Expand Down

0 comments on commit 1149050

Please sign in to comment.