| 1 | <?php |
||
| 14 | abstract class DriversAbstract |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Client Adapter |
||
| 18 | */ |
||
| 19 | protected $clientAdapter; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var HTTP Client instance |
||
| 23 | */ |
||
| 24 | protected $client; |
||
| 25 | |||
| 26 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param $httpClient |
||
| 33 | */ |
||
| 34 | public function setClient($httpClient) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | public function getClient() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param $url |
||
| 49 | * @param $parameters |
||
| 50 | * |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function fetchUrl($url, $parameters) |
||
| 57 | } |
||
| 58 |
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..