mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
adapt bcdiv for PHP8 in stubs (#5401)
This commit is contained in:
parent
ff5a6cb297
commit
1149050817
@ -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 {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user