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

WapShortcut   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPlugins() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yansongda\Pay\Plugin\Alipay\Shortcut;
6
7
use Yansongda\Pay\Plugin\Alipay\Trade\WapPayPlugin;
8
9
class WapShortcut extends WebShortcut
10
{
11
    public function getPlugins(): array
12
    {
13
        return [
14
            WapPayPlugin::class,
15
            $this->buildHtmlResponse(),
16
        ];
17
    }
18
}
19