Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class AbstractQueryWithFilter extends AbstractQuery implements DynamicQuery |
||
9 | { |
||
10 | // Uses Filter classes for applying queries |
||
11 | use ApplyFilter; |
||
12 | |||
13 | /** |
||
14 | * Array of attribute/form input name keys and Filter class values. |
||
15 | * |
||
16 | * @var array |
||
17 | */ |
||
18 | public $attribute_filters; |
||
19 | |||
20 | /** |
||
21 | * Filter values to be passed to Filer classes. |
||
22 | * |
||
23 | * @var array |
||
24 | */ |
||
25 | public $filter; |
||
26 | |||
27 | /** |
||
28 | * QueryWithFilter constructor. |
||
29 | * |
||
30 | * @param string $filter name of the bucket to filter by |
||
31 | */ |
||
32 | public function __construct($filter) |
||
37 |
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..