| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | final class UpdateComment |
||
| 29 | { |
||
| 30 | use Helper\DonorAwareTrait; |
||
| 31 | |||
| 32 | /** @var string */ |
||
| 33 | private $newComment; |
||
| 34 | |||
| 35 | public function __construct(Donor $donor, string $newComment) |
||
| 36 | { |
||
| 37 | $this->setDonor($donor); |
||
| 38 | $this->newComment = $newComment; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getNewComment(): string |
||
| 44 | } |
||
| 45 | } |
||
| 46 |