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