Completed
Push — master ( da2fc1...7aff44 )
by Razon
02:48
created

ArticleComment   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 8
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 9
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A fields() 0 9 1
1
<?php
2
namespace App\Http\Api\Model;
3
4
use App\Model\ArticleComment as Model;
5
use Yii;
6
7
class ArticleComment extends Model
8
{
9
    public function fields()
10
    {
11
        return [
12
            'id',
13
            'is_deleted',
14
            'username',
15
            'content',
16
            'create_time',
17
            'update_time',
18
        ];
19
    }
20
}
21