PHPStorm code cleanup

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-07-24 10:39:57 +02:00 committed by Backportbot
parent 27a6f8020b
commit c7322c7efd
1 changed files with 2 additions and 2 deletions

View File

@ -158,9 +158,9 @@ class Manager implements ICommentsManager {
$comment = $this->get($id);
if ($comment->getParentId() === '0') {
return $comment->getId();
} else {
return $this->determineTopmostParentId($comment->getParentId());
}
return $this->determineTopmostParentId($comment->getParentId());
}
/**