| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function __construct(Client $client, Repository $config) |
||
| 22 | { |
||
| 23 | $this->config = $config->get('server-monitor.notifications.slack'); |
||
|
|
|||
| 24 | |||
| 25 | $client->setDefaultUsername($this->config['username']); |
||
| 26 | $client->setDefaultIcon($this->config['icon']); |
||
| 27 | |||
| 28 | $this->client = $client; |
||
| 29 | } |
||
| 30 | |||
| 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..