| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class CardClient extends BaseClient |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Set shop card coupon delivery information. |
||
| 25 | * |
||
| 26 | * @param array $data |
||
| 27 | * |
||
| 28 | * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 29 | * |
||
| 30 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 31 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 32 | */ |
||
| 33 | 1 | public function set(array $data) |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get shop card coupon delivery information. |
||
| 40 | * |
||
| 41 | * @param int $shopId |
||
| 42 | * |
||
| 43 | * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
||
| 44 | * |
||
| 45 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 46 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 47 | */ |
||
| 48 | 1 | public function get(int $shopId = 0) |
|
| 53 |