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