| Total Complexity | 3 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ConverterNotFoundException extends RuntimeException |
||
| 11 | { |
||
| 12 | private ?string $format; |
||
| 13 | 1 | public function __construct(?string $format, Throwable $previous = null) |
|
| 14 | { |
||
| 15 | 1 | $this->format = $format; |
|
| 16 | 1 | $format = $format === null ? 'undefined' : "'{$format}'"; |
|
| 17 | 1 | parent::__construct("Converter for {$format} format not found.", 0, $previous); |
|
| 18 | 1 | } |
|
| 19 | public function getFormat(): ?string |
||
| 22 | } |
||
| 23 | } |
||
| 24 |