Skip to content

Commit

Permalink
Fixing a fatal error, match() is declared two times
Browse files Browse the repository at this point in the history
  • Loading branch information
burzum committed May 16, 2018
1 parent af26c6b commit 0687136
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,25 +549,6 @@ public function match($field, $value)
return new Elastica\Query\Match($field, $value);
}

/**
* Returns a Match query object that query documents that have fields containing a match.
*
* ### Example:
*
* {{{
* $builder->match('user.name', 'jose');
* }}}
*
* @param string $field The field to query by.
* @param string $value The match to find in field.
* @return \Elastica\Query\Match
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
*/
public function match($field, $value)
{
return new Elastica\Query\Match($field, $value);
}

/**
* Returns a Term query object that query documents that have fields containing a term.
*
Expand Down

0 comments on commit 0687136

Please sign in to comment.