Conditions | 2 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | 1 | public function __construct( |
|
38 | string $uuid, |
||
39 | CancelAnswer $answer, |
||
40 | ?DateTimeImmutable $dateTime = null, |
||
41 | string $pacRfc = self::DEFAULT_PACRFC |
||
42 | ) { |
||
43 | 1 | $this->uuid = $uuid; |
|
44 | 1 | $this->answer = $answer; |
|
45 | 1 | $this->dateTime = $dateTime ?? new DateTimeImmutable(); |
|
46 | 1 | $this->pacRfc = $pacRfc ?: static::DEFAULT_PACRFC; |
|
47 | 1 | } |
|
75 |