| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 21 | class UpperCaseFormatter implements FormatterInterface |
||
| 22 | { |
||
| 23 | /** @var FormatterInterface */ |
||
| 24 | protected $formatter; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * UpperCaseFormatter constructor. |
||
| 28 | */ |
||
| 29 | 2 | public function __construct() |
|
| 30 | { |
||
| 31 | 2 | $this->formatter = new Formatter('mb_strtoupper'); |
|
| 32 | 2 | } |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param array $data |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | 1 | public function format(array $data): array |
|
| 42 | } |
||
| 43 | } |
||
| 44 |