1 | <?php |
||
8 | class CompositeVoter implements PermissionVoterInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var PermissionVoterInterface[] |
||
12 | */ |
||
13 | private $voters; |
||
14 | |||
15 | /** |
||
16 | * @param PermissionVoterInterface[] ...$voters |
||
17 | */ |
||
18 | public function __construct(PermissionVoterInterface ...$voters) |
||
22 | |||
23 | /** |
||
24 | * @param Permission $permission |
||
25 | * @param StringLiteral $offerId |
||
26 | * @param StringLiteral $userId |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function isAllowed( |
||
41 | } |
||
42 |
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..