| 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 | 2 | public function __construct( |
|
| 38 | string $uuid, |
||
| 39 | CancelAnswer $answer, |
||
| 40 | ?DateTimeImmutable $dateTime = null, |
||
| 41 | string $pacRfc = self::DEFAULT_PACRFC |
||
| 42 | ) { |
||
| 43 | 2 | $this->uuid = $uuid; |
|
| 44 | 2 | $this->answer = $answer; |
|
| 45 | 2 | $this->dateTime = $dateTime ?? new DateTimeImmutable(); |
|
| 46 | 2 | $this->pacRfc = $pacRfc ?: static::DEFAULT_PACRFC; |
|
| 47 | } |
||
| 75 |