| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class ArticleComment extends BaseArticleComment implements ArticleCommentInterface |
||
| 14 | { |
||
| 15 | /** @var ShopUserInterface|null */ |
||
| 16 | protected $author; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function getAuthor(): ?ShopUserInterface |
||
| 22 | { |
||
| 23 | return $this->author; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function setAuthor(?ShopUserInterface $author): void |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function getUsername() |
||
| 46 |