Completed
Push — master ( 56c44b...57c31b )
by Songda
05:33 queued 11s
created

RefundPlugin::apply()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 9
Ratio 100 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 3
dl 9
loc 9
rs 9.9666
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yansongda\Pay\Plugin\Alipay\Trade;
6
7
use Yansongda\Pay\Plugin\Alipay\GeneralPlugin;
8
9
class RefundPlugin extends GeneralPlugin
10
{
11
    protected function getMethod(): string
12
    {
13
        return 'alipay.trade.refund';
14
    }
15
}
16