| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class VoteNegative extends AbstractVote |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $reason; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 1 | public function getReason(): string |
|
| 28 | { |
||
| 29 | 1 | return $this->reason; |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $reason |
||
| 34 | */ |
||
| 35 | 3 | public function setReason(string $reason) |
|
| 38 | } |
||
| 39 | } |