| Conditions | 1 |
| Paths | 1 |
| Total Lines | 34 |
| Code Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function attributes() |
||
| 14 | { |
||
| 15 | return [ |
||
| 16 | 'assigned_to' => [ |
||
| 17 | 'default' => '', |
||
| 18 | 'type' => 'string', |
||
| 19 | ], |
||
| 20 | 'category' => [ |
||
| 21 | 'default' => '', |
||
| 22 | 'type' => 'string', |
||
| 23 | ], |
||
| 24 | 'className' => [ |
||
| 25 | 'default' => '', |
||
| 26 | 'type' => 'string', |
||
| 27 | ], |
||
| 28 | 'hide' => [ |
||
| 29 | 'default' => '', |
||
| 30 | 'type' => 'string', |
||
| 31 | ], |
||
| 32 | 'post_id' => [ |
||
| 33 | 'default' => '', |
||
| 34 | 'type' => 'string', |
||
| 35 | ], |
||
| 36 | 'rating' => [ |
||
| 37 | 'default' => '1', |
||
| 38 | 'type' => 'number', |
||
| 39 | ], |
||
| 40 | 'schema' => [ |
||
| 41 | 'default' => false, |
||
| 42 | 'type' => 'boolean', |
||
| 43 | ], |
||
| 44 | 'type' => [ |
||
| 45 | 'default' => '', |
||
| 46 | 'type' => 'string', |
||
| 47 | ], |
||
| 90 |