Update TicketComment.php

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

View file

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