From 4101314b3f511ea7f2df66ed9007445bf22eaae0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Nov 2017 22:00:34 +0100 Subject: [PATCH] Scrutinizer php fixes --- Models/KanbanCard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index b61ec06..a771f1a 100644 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -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; }