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