Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | final class JsonSerializableConverter implements ConverterContract |
||
27 | { |
||
28 | /** |
||
29 | * Returns array representation of the object implementing \JsonSerializable interface. |
||
30 | * |
||
31 | 1 | * @param \JsonSerializable $obj Object to be converted |
|
32 | * @param array $config Converter config array to be used for this object (based on exact class |
||
33 | 1 | * name match or inheritance). |
|
34 | * |
||
35 | 1 | * @return array |
|
36 | */ |
||
37 | public function convert(object $obj, /** @scrutinizer ignore-unused */ array $config): array |
||
44 |