Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 15 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
13 | 1 | protected function defaults() |
|
14 | { |
||
15 | return [ |
||
16 | 1 | 'assigned_to' => '', |
|
17 | 1 | 'author' => '', |
|
18 | 1 | 'avatar' => '', |
|
19 | 1 | 'content' => '', |
|
20 | 1 | 'custom' => '', |
|
21 | 1 | 'date' => current_time( 'mysql' ), |
|
22 | 1 | 'email' => '', |
|
23 | 1 | 'ip_address' => glsr( Helper::class )->getIpAddress(), |
|
24 | 'pinned' => false, |
||
25 | 1 | 'rating' => '', |
|
26 | 1 | 'response' => '', |
|
27 | 1 | 'review_id' => md5( time().mt_rand() ), |
|
28 | 1 | 'review_type' => 'local', |
|
29 | 1 | 'title' => '', |
|
30 | 1 | 'url' => '', |
|
31 | ]; |
||
34 |