Completed
Push — master ( f7c1ef...22cb37 )
by Andrii
02:59
created

CustomerQuery::initSelect()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php
2
3
namespace hiqdev\billing\hiapi\query;
4
5
class CustomerQuery extends \hiapi\query\Query
6
{
7
    public function initSelect()
8
    {
9
        return $this->select(['zc.obj_id as id', 'zc.login'])
10
            ->from('zclient zc')
11
        ;
12
    }
13
}
14