| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class Comment extends Base |
||
| 19 | { |
||
| 20 | use DaftObjectTraits\UpDownVoteCount; |
||
| 21 | |||
| 22 | const SCHEMA_ORG_TYPE = 'Comment'; |
||
| 23 | |||
| 24 | const PROPERTIES = [ |
||
| 25 | 'downvoteCount', |
||
| 26 | 'parentItem', |
||
| 27 | 'upvoteCount', |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return array<int, Question> |
||
| 32 | */ |
||
| 33 | 11 | public function GetParentItem() : array |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param array<int, Question> $value |
||
| 49 | */ |
||
| 50 | 4 | public function SetParentItem(array $value) : void |
|
| 58 |