| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class Client extends BaseClient |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Client constructor. |
||
| 24 | * |
||
| 25 | * @param \EasyWeChat\Kernel\ServiceContainer $app |
||
| 26 | */ |
||
| 27 | 2 | public function __construct(ServiceContainer $app) |
|
| 30 | 2 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Get session info by code. |
||
| 34 | * |
||
| 35 | * @param string $code |
||
| 36 | * |
||
| 37 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
| 38 | * |
||
| 39 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
||
| 40 | */ |
||
| 41 | 1 | public function session(string $code) |
|
| 51 |