Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | abstract class AbstractFormatter implements FormatterInterface |
||
8 | { |
||
9 | /** @var int */ |
||
10 | protected $options = 0; |
||
11 | |||
12 | /** |
||
13 | * @param mixed $options |
||
14 | */ |
||
15 | 9 | public function __construct($options = null) |
|
18 | 7 | } |
|
19 | |||
20 | /** |
||
21 | * @param mixed $options |
||
22 | */ |
||
23 | 9 | protected function assertOptions($options): void |
|
32 |