| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ComplexNumbers |
||
| 10 | { |
||
| 11 | |||
| 12 | public const IMMUTABLE = ImmutableComplexNumber::class; |
||
| 13 | public const MUTABLE = MutableComplexNumber::class; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param $type |
||
| 17 | * @param $value |
||
| 18 | * |
||
| 19 | * @return Types\ComplexNumber |
||
| 20 | * @throws IntegrityConstraint |
||
| 21 | */ |
||
| 22 | public static function make($type, $value) |
||
| 35 | } |