Completed
Push — master ( 8d88b0...6868b4 )
by Songda
01:30
created

PosGateway   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTradeType() 0 4 1
A pay() 0 4 1
1
<?php
2
3
namespace Yansongda\Pay\Gateways\Wechat;
4
5
/**
6
 * 微信支付 - 刷卡支付.
7
 */
8
class PosGateway extends Wechat
9
{
10
    /**
11
     * [getTradeType description].
12
     *
13
     * @author yansongda <[email protected]>
14
     *
15
     * @version 2017-08-15
16
     *
17
     * @return  [type]     [description]
0 ignored issues
show
Documentation introduced by
The doc-type [type] could not be parsed: Unknown type name "" at position 0. [(view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
18
     */
19
    public function getTradeType()
20
    {
21
        return 'JSAPI';
22
    }
23
24
    public function pay(array $config_biz = [])
25
    {
26
        # code...
27
    }
28
}
29