Completed
Push — master ( 441ca2...ee333a )
by Dmitry
04:29
created

AbstractServerPurchase::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 7
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 7
loc 7
ccs 0
cts 6
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
3
/*
4
 * Server module for HiPanel
5
 *
6
 * @link      https://github.com/hiqdev/hipanel-module-server
7
 * @package   hipanel-module-server
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hipanel\modules\server\cart;
13
14
/**
15
 * Abstract class AbstractServerPurchase.
16
 */
17
abstract class AbstractServerPurchase extends \hipanel\modules\finance\cart\AbstractPurchase
18
{
19
    use \hipanel\base\ModelTrait;
20
21
    /** {@inheritdoc} */
22
    public static function type()
23
    {
24
        return 'server';
25
    }
26
}
27