Scrutinizer php fixes

This commit is contained in:
Dennis Eichhorn 2017-11-08 22:00:34 +01:00
parent 457bc6657c
commit 4101314b3f

View File

@ -160,8 +160,8 @@ class KanbanCard implements \JsonSerializable
public function removeComment(int $id) : bool
{
if (isset($this->comment[$id])) {
unset($this->comment[$id]);
if (isset($this->comments[$id])) {
unset($this->comments[$id]);
return true;
}