| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public static function convertValues(array $row, array $columnDefinitions): array { |
||
| 11 | $result = []; |
||
| 12 | foreach($row as $key => $value) { |
||
| 13 | if($value !== null) { |
||
| 14 | $result[$key] = self::convertValue($value, $columnDefinitions[$key]); |
||
| 15 | } else { |
||
| 16 | $result[$key] = $value; |
||
| 17 | } |
||
| 18 | } |
||
| 19 | return $result; |
||
| 20 | } |
||
| 35 |