| Total Complexity | 5 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | trait HasWechatEncryption |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @throws \Yansongda\Pay\Exception\ContainerDependencyException |
||
| 14 | * @throws \Yansongda\Pay\Exception\ContainerException |
||
| 15 | * @throws \Yansongda\Pay\Exception\InvalidConfigException |
||
| 16 | * @throws \Yansongda\Pay\Exception\InvalidParamsException |
||
| 17 | * @throws \Yansongda\Pay\Exception\InvalidResponseException |
||
| 18 | * @throws \Yansongda\Pay\Exception\ServiceNotFoundException |
||
| 19 | */ |
||
| 20 | public function loadSerialNo(array $params): array |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @throws \Yansongda\Pay\Exception\ContainerDependencyException |
||
| 38 | * @throws \Yansongda\Pay\Exception\ContainerException |
||
| 39 | * @throws \Yansongda\Pay\Exception\InvalidParamsException |
||
| 40 | * @throws \Yansongda\Pay\Exception\ServiceNotFoundException |
||
| 41 | */ |
||
| 42 | public function getPublicKey(array $params, string $serialNo): string |
||
| 55 |