| 1 | <?php |
||
| 8 | class Sender implements SenderInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \Guzzle\Http\Client|null |
||
| 12 | */ |
||
| 13 | protected $client = null; |
||
| 14 | |||
| 15 | public function __construct() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param ClientInterface $client |
||
| 22 | */ |
||
| 23 | public function setClient(ClientInterface $client) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $url |
||
| 30 | * @param string $body |
||
| 31 | * @param string[] $headers |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function send($url, $body, $headers) |
||
| 40 | } |
||
| 41 |
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..