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