Completed
Push — master ( d3d4f1...87596f )
by Klochok
05:46
created

Blocking::rules()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace hipanel\models;
4
5
use hiqdev\hiart\ActiveRecord;
6
7
class Blocking extends ActiveRecord
8
{
9
    public function rules()
10
    {
11
        return [
12
            [['client_id', 'seller_id'], 'integer'],
13
            [['reason', 'reason_label', 'comment', 'time', 'client', 'seller'], 'string'],
14
        ];
15
    }
16
}
17
18
19