1 | <?php |
||
10 | class Mail extends BaseSender |
||
11 | { |
||
12 | /** @var Mailer */ |
||
13 | protected $mailer; |
||
14 | |||
15 | /** @var array */ |
||
16 | protected $config; |
||
17 | |||
18 | /** |
||
19 | * @param Mailer $mailer |
||
20 | * @param Repository $config |
||
21 | */ |
||
22 | public function __construct(Mailer $mailer, Repository $config) |
||
28 | |||
29 | public function send() |
||
39 | } |
||
40 |
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..