Completed
Push — master ( f40dd5...077f63 )
by Andrii
06:09
created

SearchCommand::rules()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 7
ccs 0
cts 0
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
3
namespace hiapi\commands;
4
5
class SearchCommand extends BaseCommand
6
{
7
    public $select;
8
    public $where;
9
10
    public function rules()
11
    {
12
        return [
13
            ['select', 'safe'],
14
            ['where', 'safe'],
15
        ];
16
    }
17
}
18