1 | <?php declare(strict_types=1); |
||
12 | final class Client implements ClientInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var LoopInterface |
||
16 | */ |
||
17 | protected $loop; |
||
18 | |||
19 | /** |
||
20 | * @var AsyncClient |
||
21 | */ |
||
22 | protected $client; |
||
23 | |||
24 | /** |
||
25 | * @var StreamingClient |
||
26 | */ |
||
27 | protected $streamingClient; |
||
28 | |||
29 | public function __construct( |
||
36 | |||
37 | public function withAccessToken(string $accessToken, string $accessTokenSecret): Client |
||
43 | |||
44 | public function withOutAccessToken(): Client |
||
50 | |||
51 | public function stream(): StreamingClient |
||
63 | |||
64 | public function tweet(string $tweet): TweetInterface |
||
71 | |||
72 | public function profile(): ProfileInterface |
||
79 | |||
80 | public function user(string $tweet): UserInterface |
||
87 | } |
||
88 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.