These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | namespace Elastica\Query; |
||
3 | |||
4 | /** |
||
5 | * Match none query. Returns no results. |
||
6 | * |
||
7 | * @author David Causse |
||
8 | * |
||
9 | * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html#query-dsl-match-none-query |
||
10 | */ |
||
11 | class MatchNone extends AbstractQuery |
||
12 | { |
||
13 | /** |
||
14 | * Creates match none query. |
||
15 | */ |
||
16 | public function __construct() |
||
17 | { |
||
18 | $this->_params = new \stdClass(); |
||
0 ignored issues
–
show
|
|||
19 | } |
||
20 | } |
||
21 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..