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

Change::find()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
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