SP
Size: a a a
SP
АГ
АГ
a
АГ
SP
АГ
SP
SP
SP
АГ
a
АГ
АГ
АГ
˸A
JS
СП
class Thread {
...
public function addComment(
CommentRepositoryInterface $commentRepository,
int $authorId,
string $body
): void {
$comment = new Comment($this->getId(), $authorId, $body);
$commentRepository->save($comment);
}
...
}
Д
DT
class Thread {
...
public function addComment(
CommentRepositoryInterface $commentRepository,
int $authorId,
string $body
): void {
$comment = new Comment($this->getId(), $authorId, $body);
$commentRepository->save($comment);
}
...
}