| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class AbstractDictionary implements DictionaryInterface |
||
| 8 | { |
||
| 9 | abstract public function getAsArray(): array; |
||
| 10 | |||
| 11 | 5 | public function getJsonData(): array |
|
| 12 | { |
||
| 13 | 5 | return JsonConverter::encodeDictionary($this); |
|
| 14 | } |
||
| 15 | |||
| 16 | 9 | protected static function removeNullValues(array $map): array |
|
| 20 | 9 | }); |
|
| 21 | } |
||
| 23 |