| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ArticleComment extends BaseArticleComment implements ArticleCommentInterface |
||
| 11 | { |
||
| 12 | /** @var ShopUserInterface|null */ |
||
| 13 | private $author; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | */ |
||
| 18 | public function getAuthor(): ?ShopUserInterface |
||
| 19 | { |
||
| 20 | return $this->author; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function setAuthor(?ShopUserInterface $author): void |
||
| 27 | { |
||
| 28 | $this->author = $author; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function getUsername(): ?string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |