Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
16 | 1 | public static function serialize(Query $query) |
|
17 | { |
||
18 | 1 | $query->setFilters(self::prepareUnserializableData($query->getFilters())); |
|
19 | 1 | $query->setData(self::prepareUnserializableData($query->getData())); |
|
20 | 1 | $query->setOptions(self::prepareUnserializableData($query->getOptions())); |
|
21 | 1 | } |
|
22 | |||
68 |