mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Compare commits
1 commit
ac1e831dea
...
6a1013ddf0
Author | SHA1 | Date | |
---|---|---|---|
|
6a1013ddf0 |
1 changed files with 1 additions and 4 deletions
|
@ -5,11 +5,8 @@ use openvk\Web\Models\Entities\User;
|
|||
|
||||
trait TIgnorable
|
||||
{
|
||||
function isIgnoredBy(User $user = NULL): bool
|
||||
function isIgnoredBy(User $user): bool
|
||||
{
|
||||
if(!$user)
|
||||
return false;
|
||||
|
||||
$ctx = DatabaseConnection::i()->getContext();
|
||||
$data = [
|
||||
"owner" => $user->getId(),
|
||||
|
|
Loading…
Reference in a new issue