| 1 | <?php |
||
| 9 | class Slack extends BaseSender |
||
| 10 | { |
||
| 11 | /** @var \Maknz\Slack\Client */ |
||
| 12 | protected $client; |
||
| 13 | |||
| 14 | /** @var array */ |
||
| 15 | protected $config; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param \Maknz\Slack\Client $client |
||
| 19 | * @param Repository $config |
||
| 20 | */ |
||
| 21 | public function __construct(Client $client, Repository $config) |
||
| 30 | |||
| 31 | public function send() |
||
| 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..