2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace Number ;
5
+ namespace MadeByBob \ Number ;
6
6
7
- use Number \Exception \DecimalExponentError ;
8
- use Number \Exception \DivisionByZeroError ;
9
- use Number \Exception \InvalidNumberInputTypeException ;
10
- use Number \Exception \InvalidRoundingModeException ;
7
+ use MadeByBob \ Number \Exception \DecimalExponentError ;
8
+ use MadeByBob \ Number \Exception \DivisionByZeroError ;
9
+ use MadeByBob \ Number \Exception \InvalidNumberInputTypeException ;
10
+ use MadeByBob \ Number \Exception \InvalidRoundingModeException ;
11
11
12
12
abstract class AbstractNumber
13
13
{
@@ -112,7 +112,7 @@ public function minus($value, int $scale = null): self
112
112
*
113
113
* Example:
114
114
* ```
115
- * $divided = (new Number('200.000'))->divide($value, null, '0.0000')
115
+ * $divided = (new MadeByBob\ Number('200.000'))->divide($value, null, '0.0000')
116
116
* ```
117
117
*
118
118
* @param AbstractNumber|string|float|int $value
@@ -406,7 +406,7 @@ public function parent(): ?self
406
406
}
407
407
408
408
/**
409
- * Converts the current Number instance into a string.
409
+ * Converts the current MadeByBob\ Number instance into a string.
410
410
*/
411
411
public function toString (int $ scale = null ): string
412
412
{
@@ -416,7 +416,7 @@ public function toString(int $scale = null): string
416
416
}
417
417
418
418
/**
419
- * Converts the current Number instance into a string.
419
+ * Converts the current MadeByBob\ Number instance into a string.
420
420
*/
421
421
public function __toString (): string
422
422
{
@@ -432,7 +432,7 @@ protected function get(): string
432
432
}
433
433
434
434
/**
435
- * @internal Provides an instance of Number based on the input. Supports multiple input data types.
435
+ * @internal Provides an instance of MadeByBob\ Number based on the input. Supports multiple input data types.
436
436
*
437
437
* @param AbstractNumber|string|float|int $value
438
438
*/
0 commit comments