Total Complexity | 9 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class Mongo |
||
13 | { |
||
14 | /** |
||
15 | * Check if id have a valid length |
||
16 | * @param string $id |
||
17 | * @return bool |
||
18 | */ |
||
19 | public static function checkId(string $id): bool |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Cleanup result of query |
||
28 | * @param array|object $array |
||
29 | */ |
||
30 | public static function resultFix(&$array) |
||
46 |