Skip to content
Snippets Groups Projects
Commit 9406d9ba authored by Hendrik Söbbing's avatar Hendrik Söbbing Committed by Simonas Šerlinskas
Browse files

Allow more scalar values in TermQuery (#275)

parent d81261f4
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,9 @@ class TermQuery implements BuilderInterface
private $value;
/**
* @param string $field
* @param string $value
* @param array $parameters
* @param string $field
* @param string|int|float|bool $value
* @param array $parameters
*/
public function __construct($field, $value, array $parameters = [])
{
......
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