| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | abstract class AbstractAlipay implements PaymentInterface |
||
| 11 | { |
||
| 12 | use SecurityTrait; |
||
| 13 | use RequestTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Illuminate\Config\Repository |
||
| 17 | */ |
||
| 18 | protected $config; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * AbstractAlipay constructor. |
||
| 22 | * |
||
| 23 | * @param \Illuminate\Config\Repository $config |
||
| 24 | */ |
||
| 25 | 3 | public function __construct(Repository $config) |
|
| 28 | 3 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Check order arguments. |
||
| 32 | * |
||
| 33 | * @param array $order |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | * |
||
| 37 | * @throws \InvalidArgumentException |
||
| 38 | */ |
||
| 39 | 3 | public static function check(array $order) : void |
|
| 49 |