1 | <?php |
||
15 | abstract class AbstractService implements ServiceInterface |
||
16 | { |
||
17 | /** @var Credentials */ |
||
18 | protected $credentials; |
||
19 | |||
20 | /** @var ClientInterface */ |
||
21 | protected $httpClient; |
||
22 | |||
23 | /** @var TokenStorageInterface */ |
||
24 | protected $storage; |
||
25 | |||
26 | /** |
||
27 | * @param CredentialsInterface $credentials |
||
28 | * @param ClientInterface $httpClient |
||
29 | * @param TokenStorageInterface $storage |
||
30 | */ |
||
31 | public function __construct( |
||
40 | |||
41 | /** |
||
42 | * @param UriInterface|string $path |
||
43 | * @param UriInterface $baseApiUri |
||
44 | * |
||
45 | * @return UriInterface |
||
46 | * |
||
47 | * @throws Exception |
||
48 | */ |
||
49 | protected function determineRequestUriFromPath($path, UriInterface $baseApiUri = null) |
||
79 | |||
80 | /** |
||
81 | * Accessor to the storage adapter to be able to retrieve tokens |
||
82 | * |
||
83 | * @return TokenStorageInterface |
||
84 | */ |
||
85 | public function getStorage() |
||
89 | |||
90 | /** |
||
91 | * @return string |
||
92 | */ |
||
93 | public function service() |
||
100 | } |
||
101 |
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..