Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class Client extends BaseClient |
||
22 | { |
||
23 | /** |
||
24 | * Get agent. |
||
25 | * |
||
26 | * @param int $agentId |
||
27 | * |
||
28 | * @return mixed |
||
29 | * |
||
30 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
31 | */ |
||
32 | 1 | public function get(int $agentId) |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * Set agent. |
||
43 | * |
||
44 | * @param int $agentId |
||
45 | * @param array $attributes |
||
46 | * |
||
47 | * @return mixed |
||
48 | * |
||
49 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
50 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
51 | */ |
||
52 | 1 | public function set(int $agentId, array $attributes) |
|
55 | } |
||
56 | |||
57 | /** |
||
58 | * Get agent list. |
||
59 | * |
||
60 | * @return mixed |
||
61 | * |
||
62 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
63 | */ |
||
64 | 1 | public function list() |
|
69 |