mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix bcdiv nullable scale stub
This commit is contained in:
parent
a69eddda24
commit
313267082b
@ -1359,9 +1359,10 @@ function realpath(string $path) {}
|
|||||||
*
|
*
|
||||||
* @param numeric-string $num1
|
* @param numeric-string $num1
|
||||||
* @param numeric-string $num2
|
* @param numeric-string $num2
|
||||||
|
* @param int|null $scale
|
||||||
* @return (PHP_MAJOR_VERSION is 8 ? numeric-string : ($num2 is "0" ? null : numeric-string))
|
* @return (PHP_MAJOR_VERSION is 8 ? numeric-string : ($num2 is "0" ? null : numeric-string))
|
||||||
*/
|
*/
|
||||||
function bcdiv(string $num1, string $num2, int $scale = 0): ?string {}
|
function bcdiv(string $num1, string $num2, ?int $scale = null): ?string {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @psalm-pure
|
* @psalm-pure
|
||||||
|
Loading…
Reference in New Issue
Block a user