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