Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | 3 | public function __construct( |
|
25 | string $rfc, |
||
26 | ?CustomerType $type = null, |
||
27 | string $certificate = '', |
||
28 | string $privateKey = '', |
||
29 | string $passPhrase = '' |
||
30 | ) { |
||
31 | 3 | $this->rfc = $rfc; |
|
32 | 3 | $this->type = $type ?? CustomerType::ondemand(); |
|
33 | 3 | $this->certificate = $certificate; |
|
34 | 3 | $this->privateKey = $privateKey; |
|
35 | 3 | $this->passPhrase = $passPhrase; |
|
36 | 3 | } |
|
63 |