@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | $result_cache[$cache_key] = []; |
| 81 | - $ret =& $result_cache[$cache_key]; |
|
| 81 | + $ret = & $result_cache[$cache_key]; |
|
| 82 | 82 | |
| 83 | 83 | if (empty($up)) { |
| 84 | 84 | // TODO: use reflection to see what kind of property this is ? |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | $value_properties = array_unique(array_merge($label_fields, [$keyproperty, 'id'])); |
| 96 | 96 | |
| 97 | - $mc = self::new_collector('up', (int)$up); |
|
| 97 | + $mc = self::new_collector('up', (int) $up); |
|
| 98 | 98 | if ($order_by_score) { |
| 99 | 99 | $mc->add_order('metadata.score', 'DESC'); |
| 100 | 100 | } |