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,7 +116,6 @@ class TicketComment extends RowModel
|
||||||
function isLikedByUser(): ?bool
|
function isLikedByUser(): ?bool
|
||||||
{
|
{
|
||||||
$mark = $this->getMark();
|
$mark = $this->getMark();
|
||||||
|
|
||||||
switch ($mark) {
|
switch ($mark) {
|
||||||
case 0:
|
case 0:
|
||||||
return false;
|
return false;
|
||||||
|
@ -125,7 +124,7 @@ class TicketComment extends RowModel
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return null;
|
return NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue