| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class Client extends BaseClient |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @param string|Message $message |
||
| 26 | * |
||
| 27 | * @return Messenger |
||
| 28 | * |
||
| 29 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException |
||
| 30 | */ |
||
| 31 | 1 | public function message($message) |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $key |
||
| 38 | * @param array $message |
||
| 39 | * |
||
| 40 | * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 41 | * |
||
| 42 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 43 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 44 | */ |
||
| 45 | 1 | public function send(string $key, array $message) |
|
| 52 |