Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
12 | abstract class AbstractCounterReport extends Report |
||
13 | { |
||
14 | use SimpleCounterFields; |
||
15 | |||
16 | 4 | protected static function getFormatter(): FormatterInterface |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param ReportableInterface $counter |
||
23 | * @return ReportInterface |
||
24 | * @throws \RuntimeException |
||
25 | * @throws \Exception |
||
26 | */ |
||
27 | 43 | public function buildOn(ReportableInterface $counter): ReportInterface |
|
42 |