Completed
Push — master ( 5071d1...56b015 )
by Klochok
14:27
created

HubSearch::searchAttributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace hipanel\modules\server\models;
4
5
use hipanel\base\SearchModelTrait;
6
use hipanel\helpers\ArrayHelper;
7
8
class HubSearch extends Hub
9
{
10
    use SearchModelTrait {
11
        searchAttributes as defaultSearchAttributes;
12
    }
13
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function searchAttributes()
18
    {
19
        return ArrayHelper::merge($this->defaultSearchAttributes(), [
20
            'with_bindings',
21
        ]);
22
    }
23
}
24