| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait KickMethodTrait |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param $method |
||
| 15 | * @param $type |
||
| 16 | * |
||
| 17 | * @throws ResponseException |
||
| 18 | * @throws NormalizationException |
||
| 19 | * |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | abstract public function call($method, $type = null); |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param KickChatMemberMethod $method |
||
| 26 | * |
||
| 27 | * @throws ResponseException |
||
| 28 | * @throws NormalizationException |
||
| 29 | * |
||
| 30 | * @return bool |
||
| 31 | */ |
||
| 32 | 1 | public function kickChatMember(KickChatMemberMethod $method): bool |
|
| 37 |