ColumnOrderbyDefaults   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 12
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A defaults() 0 10 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Defaults;
4
5
class ColumnOrderbyDefaults extends DefaultsAbstract
6
{
7
    protected function defaults(): array
8
    {
9
        return [
10
            'author_email' => 'email',
11
            'author_name' => 'name',
12
            'ip_address' => 'ip_address',
13
            'is_pinned' => 'is_pinned',
14
            'is_verified' => 'is_verified',
15
            'rating' => 'rating',
16
            'type' => 'type',
17
        ];
18
    }
19
}
20