Completed
Push — master ( 72b2e1...1d671f )
by Dmitry
13:59
created

Change   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A find() 0 6 1
1
<?php
2
3
/*
4
 * Finance module for HiPanel
5
 *
6
 * @link      https://github.com/hiqdev/hipanel-module-finance
7
 * @package   hipanel-module-finance
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hipanel\modules\server\models;
13
14
use Yii;
15
16
class Change extends \hipanel\modules\finance\models\Change
17
{
18
    public static function find()
19
    {
20
        $query = parent::find();
21
        $query->andWhere(['class' => 'serverBuy']);
22
        return $query;
23
    }
24
}
25