1 | <?php |
||
8 | class Mail extends BaseSender |
||
9 | { |
||
10 | /** @var \Illuminate\Contracts\Mail\Mailer */ |
||
11 | protected $mailer; |
||
12 | |||
13 | /** @var array */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * @param \Illuminate\Contracts\Mail\Mailer $mailer |
||
18 | * @param \Illuminate\Contracts\Config\Repository $config |
||
19 | */ |
||
20 | public function __construct($mailer, $config) |
||
26 | |||
27 | public function send() |
||
37 | } |
||
38 |
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..