Completed
Push — master ( b69d36...99d479 )
by Klochok
07:59
created

ReminderQuery::toSite()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 8
ccs 0
cts 7
cp 0
crap 2
rs 9.4285
1
<?php
2
3
namespace hipanel\models;
4
5
use hiqdev\hiart\ActiveQuery;
6
7
class ReminderQuery extends ActiveQuery
8
{
9
    public function toSite()
10
    {
11
        $this->andWhere([
12
            'to_site' => true
13
        ]);
14
15
        return $this;
16
    }
17
}
18