| Total Complexity | 1 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class AppPayment extends AbstractAlipay |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Use app to pay for order. |
||
| 14 | * |
||
| 15 | * @param string $gateway |
||
| 16 | * @param array $payload |
||
| 17 | * |
||
| 18 | * @return \Symfony\Component\HttpFoundation\Response |
||
| 19 | * |
||
| 20 | * @throws \InvalidArgumentException |
||
| 21 | * @throws \Nilnice\Payment\Exception\InvalidKeyException |
||
| 22 | */ |
||
| 23 | public function toPay(string $gateway, array $payload) : Response |
||
| 42 |