These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Elastica\Query; |
||
4 | |||
5 | /** |
||
6 | * Match all query. Returns all results. |
||
7 | * |
||
8 | * @author Nicolas Ruflin <[email protected]> |
||
9 | * |
||
10 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html |
||
11 | */ |
||
12 | class MatchAll extends AbstractQuery |
||
13 | { |
||
14 | /** |
||
15 | * Creates match all query. |
||
16 | */ |
||
17 | public function __construct() |
||
18 | { |
||
19 | $this->_params = new \stdClass(); |
||
0 ignored issues
–
show
|
|||
20 | } |
||
21 | } |
||
22 |
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..