mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-01-30 20:28:41 +00:00
Scrutinizer php fixes
This commit is contained in:
parent
457bc6657c
commit
4101314b3f
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user