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