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

ReminderQuery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 7
cp 0
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A toSite() 0 8 1
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