Skip to content

Commit 59ee6d5

Browse files
committed
Update stubs
1 parent 289a108 commit 59ee6d5

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Diff for: Php8StubsMap.php

+1
Original file line numberDiff line numberDiff line change
@@ -2803,6 +2803,7 @@ public function __construct(int $phpVersionId)
28032803
'array_find' => 'stubs/ext/standard/array_find.php',
28042804
'array_find_key' => 'stubs/ext/standard/array_find_key.php',
28052805
'bcceil' => 'stubs/ext/bcmath/bcceil.php',
2806+
'bcdivmod' => 'stubs/ext/bcmath/bcdivmod.php',
28062807
'bcfloor' => 'stubs/ext/bcmath/bcfloor.php',
28072808
'bcround' => 'stubs/ext/bcmath/bcround.php',
28082809
'dom\\adjacentposition' => 'stubs/ext/dom/Dom/AdjacentPosition.php',

Diff for: stubs/ext/bcmath/BcMath/Number.php

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public function div(Number|string|int $num, ?int $scale = null): Number
2828
public function mod(Number|string|int $num, ?int $scale = null): Number
2929
{
3030
}
31+
/** @return Number[] */
32+
public function divmod(Number|string|int $num, ?int $scale = null): array
33+
{
34+
}
3135
public function powmod(Number|string|int $exponent, Number|string|int $modulus, ?int $scale = null): Number
3236
{
3337
}

Diff for: stubs/ext/bcmath/bcdivmod.php

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
/**
4+
* @return string[]
5+
* @refcount 1
6+
*/
7+
#[\Since('8.4')]
8+
function bcdivmod(string $num1, string $num2, ?int $scale = null): array
9+
{
10+
}

0 commit comments

Comments
 (0)