Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
47 | public function hydrate($value) |
||
48 | { |
||
49 | if ($value === null) { |
||
50 | if (null == ($value = $this->schema->getDefault())) { |
||
51 | return null; |
||
52 | } |
||
53 | } |
||
54 | |||
55 | return array_map(function ($value) { |
||
56 | return $this->itemsProcessor->hydrate($value); |
||
57 | }, $value); |
||
58 | } |
||
59 | |||
71 |