From 7d3a349d8f906507212977ace8eb30164c69ec8e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 24 Jul 2019 10:39:57 +0200 Subject: [PATCH] PHPStorm code cleanup Signed-off-by: Joas Schilling --- lib/private/Comments/Manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 5b256c379b..e54218509d 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -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()); } /**