@@ -147,7 +147,7 @@ |
||
147 | 147 | public function addRandomFunction($seed = null, BuilderInterface $query = null) |
148 | 148 | { |
149 | 149 | $function = [ |
150 | - 'random_score' => $seed ? [ 'seed' => $seed ] : new \stdClass(), |
|
150 | + 'random_score' => $seed ? ['seed' => $seed] : new \stdClass(), |
|
151 | 151 | ]; |
152 | 152 | |
153 | 153 | $this->applyFilter($function, $query); |