1 | <?php |
||
22 | abstract class AbstractSingleRequestValueFilter implements FilterInterface |
||
23 | { |
||
24 | use RelationAwareTrait; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $requestField; |
||
30 | |||
31 | /** |
||
32 | * @var array |
||
33 | */ |
||
34 | private $tags = []; |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getState(Request $request) |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getRequestField() |
||
61 | |||
62 | /** |
||
63 | * @param string $requestField |
||
64 | */ |
||
65 | public function setRequestField($requestField) |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getTags() |
||
77 | |||
78 | /** |
||
79 | * @param string $tags |
||
80 | */ |
||
81 | public function setTags($tags) |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function isRelated() |
||
93 | } |
||
94 |
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..