| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 3 | public function convertToPHPValue($value, AbstractPlatform $platform): ?array |
|
| 21 | { |
||
| 22 | 3 | if ($value === null) { |
|
| 23 | 1 | return null; |
|
| 24 | } |
||
| 25 | |||
| 26 | 2 | return collect(explode(static::TYPE_SEPARATE, (string) $value)) |
|
|
|
|||
| 27 | 2 | ->map(static function ($value) { |
|
| 28 | 2 | return (int) $value; |
|
| 29 | 2 | }) |
|
| 30 | 2 | ->toArray(); |
|
| 31 | } |
||
| 51 |