Skip to content
Snippets Groups Projects
Commit e256796f authored by Simonas Šerlinskas's avatar Simonas Šerlinskas
Browse files

Merge pull request #5 from GrandLTU/optional-parameter

Make modifier argument optional.
parents a08f9247 2b93ee9b
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class FunctionScoreQuery implements BuilderInterface
*
* @return $this
*/
public function addFieldValueFactorFunction($field, $factor, $modifier, BuilderInterface $filter = null)
public function addFieldValueFactorFunction($field, $factor, $modifier = 'none', BuilderInterface $filter = null)
{
$function = [
'field_value_factor' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment