Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | abstract class ReportFormatter implements FormatterInterface, Strings |
||
11 | { |
||
12 | /** {@inheritdoc} */ |
||
13 | abstract public function process(ReportInterface $report): string; |
||
14 | |||
15 | /** |
||
16 | * @param string $expected |
||
17 | * @param ReportInterface $report |
||
18 | * @throws \RuntimeException |
||
19 | */ |
||
20 | 2 | protected function wrongReportType(string $expected, ReportInterface $report): void |
|
27 |