1 | <?php |
||
13 | class Retriever implements SmokeRetriever |
||
14 | { |
||
15 | private $apiKey; |
||
16 | private $systems; |
||
17 | private $project; |
||
18 | |||
19 | /** |
||
20 | * @var HttpAdapterInterface |
||
21 | */ |
||
22 | private $client; |
||
23 | |||
24 | const ENDPOINT_SYSTEMS = 'http://www.koalamon.com/rest/#project#/systems/?api_key=#api_key#'; |
||
25 | |||
26 | public function init($apiKey, $project) |
||
31 | |||
32 | public function setHttpClient(Client $httpClient) |
||
37 | |||
38 | public function getSystems(HttpClient $httpClient) |
||
46 | |||
47 | private function prepareUrl($url) |
||
54 | |||
55 | public function next() |
||
68 | |||
69 | public function getComingFrom(UriInterface $uri) |
||
73 | |||
74 | public function getOriginUri(UriInterface $uri) |
||
78 | |||
79 | public function setSessionContainer(SessionContainer $sessionContainer) |
||
82 | |||
83 | public function getOccuredExceptions() |
||
87 | } |
||
88 |
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..