Skip to content

Commit

Permalink
Corrects the expected return type
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed Oct 12, 2020
1 parent 0f55cc1 commit 68c2ba9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Core/Comments/CommentManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ public function remove($comment)
*/
public function removeById($id)
{
return $this->commentStorageManager->removeById($id);
$result = $this->commentStorageManager->removeById($id);

return $result->success;
}

/**
Expand All @@ -184,4 +186,4 @@ public function determinePathById($id)
return $this->commentStorageManager->getPathById($id);
}

}
}

0 comments on commit 68c2ba9

Please sign in to comment.