| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 37.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class WapPayment extends AbstractWechat |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * To pay. |
||
| 11 | * |
||
| 12 | * @param string $gateway |
||
| 13 | * @param array $payload |
||
| 14 | * |
||
| 15 | * @throws \InvalidArgumentException |
||
| 16 | * @throws \Nilnice\Payment\Exception\GatewayException |
||
| 17 | * @throws \Nilnice\Payment\Exception\InvalidKeyException |
||
| 18 | * @throws \Nilnice\Payment\Exception\InvalidSignException |
||
| 19 | * @throws \RuntimeException |
||
| 20 | */ |
||
| 21 | 3 | public function toPay(string $gateway, array $payload) |
|
| 35 |