Update TicketComment.php

This commit is contained in:
n1rwana 2021-12-14 21:27:14 +03:00
parent 77908948c6
commit 082ae5503f

View file

@ -116,16 +116,15 @@ class TicketComment extends RowModel
function isLikedByUser(): ?bool
{
$mark = $this->getMark();
switch ($mark) {
case 0 :
case 0:
return false;
break;
case 1 :
case 1:
return true;
break;
default :
return null;
default:
return NULL;
break;
}
}