| 1 | <?php declare(strict_types=1); |
||
| 11 | class Client |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var LoopInterface |
||
| 15 | */ |
||
| 16 | protected $loop; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var AsyncClient |
||
| 20 | */ |
||
| 21 | protected $client; |
||
| 22 | |||
| 23 | public function __construct( |
||
| 30 | |||
| 31 | public function withAccessToken(string $accessToken, string $accessTokenSecret): Client |
||
| 37 | |||
| 38 | public function withOutAccessToken(): Client |
||
| 44 | |||
| 45 | public function tweet(string $tweet): TweetInterface |
||
| 52 | |||
| 53 | public function user(string $tweet): UserInterface |
||
| 60 | } |
||
| 61 |
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.