@@ -99,7 +99,7 @@ |
||
| 99 | 99 | |
| 100 | 100 | $out = [ |
| 101 | 101 | $this->getPathType() => [ |
| 102 | - $this->getPath() => $out , |
|
| 102 | + $this->getPath() => $out, |
|
| 103 | 103 | ], |
| 104 | 104 | ]; |
| 105 | 105 | |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | public function addRandomFunction($seed = null, BuilderInterface $filter = null) |
| 163 | 163 | { |
| 164 | 164 | $function = [ |
| 165 | - 'random_score' => $seed ? [ 'seed' => $seed ] : new \stdClass(), |
|
| 165 | + 'random_score' => $seed ? ['seed' => $seed] : new \stdClass(), |
|
| 166 | 166 | ]; |
| 167 | 167 | |
| 168 | 168 | $this->applyFilter($function, $filter); |