1 | <?php |
||
22 | class Bot |
||
23 | { |
||
24 | /** |
||
25 | * @var mixed |
||
26 | */ |
||
27 | private $state; |
||
|
|||
28 | /** |
||
29 | * @var BaseConfig |
||
30 | */ |
||
31 | private $config; |
||
32 | |||
33 | /** |
||
34 | * Bot constructor. |
||
35 | * |
||
36 | * @param null|string $token |
||
37 | * @param array $options |
||
38 | * |
||
39 | * @throws TelegramCoreException |
||
40 | */ |
||
41 | 3 | public function __construct($token = null, $options = []) |
|
54 | |||
55 | /** |
||
56 | * @param string $method |
||
57 | * @param array $params |
||
58 | * |
||
59 | * @return array |
||
60 | */ |
||
61 | 2 | public function call($method, $params = []) |
|
70 | |||
71 | 1 | public function __call($name, $arguments) |
|
75 | |||
76 | 2 | private function prepareResponse(ResponseInterface $response) |
|
85 | |||
86 | 1 | private function buildResponse(array $response) |
|
90 | |||
91 | 1 | public function getMe() |
|
95 | } |
This check marks private properties in classes that are never used. Those properties can be removed.