PHPStorm code cleanup
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
27a6f8020b
commit
c7322c7efd
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue