VnPaymentBankWidgetTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A gatewayId() 0 4 1
1
<?php
2
/**
3
 * @link https://github.com/yiiviet/yii2-payment
4
 * @copyright Copyright (c) 2017 Yii Viet
5
 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6
 */
7
8
9
namespace yiiviet\tests\unit\payment;
10
11
/**
12
 * Lớp VnPaymentBankWidgetTest
13
 *
14
 * @author Vuong Minh <[email protected]>
15
 * @since 1.0.3
16
 */
17
class VnPaymentBankWidgetTest extends BankWidgetTest
18
{
19
    /**
20
     * @var \yiiviet\payment\vnpayment\PaymentGateway
21
     */
22
    public $gateway;
23
24
25
    public static function gatewayId(): string
26
    {
27
        return 'VNP';
28
    }
29
30
}
31