mirror of
https://github.com/openvk/openvk
synced 2025-07-07 16:29:50 +03:00
Update TicketComment.php
This commit is contained in:
parent
77908948c6
commit
082ae5503f
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue