| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 15 | public function __construct( |
|
| 17 | public ?string $tax_number = null, |
||
| 18 | public ?string $country = null |
||
| 19 | ) { |
||
| 20 | 15 | $filteredTaxNumber = preg_replace_array('/[^\d\w]/', [], (string) $this->tax_number); |
|
| 21 | 15 | $this->tax_number = Str::upper($filteredTaxNumber); |
|
| 22 | 15 | $this->country = Str::upper((string) $this->country); |
|
| 23 | } |
||
| 64 |