| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | abstract class Report implements ReportInterface |
||
| 11 | { |
||
| 12 | abstract public function buildOn(ReportableInterface $reportable): ReportInterface; |
||
| 13 | |||
| 14 | /** {@inheritdoc} */ |
||
| 15 | 16 | public function __toString(): string |
|
| 19 | } |
||
| 20 | |||
| 21 | abstract protected static function getFormatter(): FormatterInterface; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $expected |
||
| 25 | * @param ReportableInterface $reportable |
||
| 26 | */ |
||
| 27 | 5 | protected function wrongReportable(string $expected, ReportableInterface $reportable): void |
|
| 34 |