Passed
Push — master ( 8a0962...507d84 )
by Paul
03:52
created

ReviewsDefaults::defaults()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 12
nc 1
nop 0
dl 0
loc 14
ccs 0
cts 14
cp 0
crap 2
rs 9.8666
c 0
b 0
f 0
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Defaults;
4
5
use GeminiLabs\SiteReviews\Defaults\DefaultsAbstract as Defaults;
6
7
class ReviewsDefaults extends Defaults
8
{
9
	/**
10
	 * @return array
11
	 */
12
	protected function defaults()
13
	{
14
		return [
15
			'assigned_to' => '',
16
			'category' => '',
17
			'count' => 10,
18
			'offset' => '',
19
			'order' => 'DESC',
20
			'orderby' => 'date',
21
			'pagination' => false,
22
			'post__in' => [],
23
			'post__not_in' => [],
24
			'rating' => '',
25
			'type' => '',
26
		];
27
	}
28
}
29