Completed
Push — master ( cfc549...9f2fda )
by Klochok
14:31
created

MonitoringSettings::rules()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace hipanel\modules\server\models;
4
5
class MonitoringSettings extends \hipanel\base\Model
6
{
7
    public function rules()
8
    {
9
        return [
10
            [['id', 'server', 'emails', 'minutes', 'nic_media', 'channel_load', 'watch_trafdown', 'vcdn_only', 'comment'], 'safe'],
11
        ];
12
    }
13
}
14