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
parent 3b334169a8
commit 7d3a349d8f
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
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());
}
/**