Skip to content

Commit a119662

Browse files
committed
Add phpdoc annotations 📚
1 parent 1c7da47 commit a119662

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Collection/Primitive/Number.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@
2929
* @method static static from(int|string $number, int $scale = 2)
3030
* @method static static makeOrNull(int|string|null $number, int $scale = 2)
3131
*
32+
* @method string abs()
33+
* @method string add(float|int|string $value)
34+
* @method string divide(float|int|string $value)
35+
* @method string multiply(float|int|string $value)
36+
* @method string mod(float|int|string $value)
37+
* @method string pow(int|string $value)
38+
* @method string sqrt()
39+
* @method string subtract(float|int|string $value)
40+
*
41+
* @see \PHP\Math\BigNumber\BigNumber
42+
*
3243
* @extends ValueObject<TKey, TValue>
3344
*/
3445
class Number extends ValueObject

0 commit comments

Comments
 (0)