mirror of
https://github.com/HDInnovations/UNIT3D.git
synced 2026-01-31 01:35:31 +01:00
@@ -87,9 +87,7 @@ class NewComment extends Notification
|
||||
// the expression will return false.
|
||||
return ! \in_array($this->comment->user->group_id, $notifiable->notification?->json_request_groups ?? [], true);
|
||||
case Ticket::class:
|
||||
return ! ($this->model->staff_id === $this->comment->id && $this->model->staff_id !== null)
|
||||
;
|
||||
|
||||
return $notifiable->id !== $this->comment->user_id;
|
||||
case Playlist::class:
|
||||
case Article::class:
|
||||
break;
|
||||
|
||||
@@ -582,12 +582,6 @@ parameters:
|
||||
count: 1
|
||||
path: app/Models/User.php
|
||||
|
||||
-
|
||||
message: '#^Strict comparison using \!\=\= between int and null will always evaluate to true\.$#'
|
||||
identifier: notIdentical.alwaysTrue
|
||||
count: 1
|
||||
path: app/Notifications/NewComment.php
|
||||
|
||||
-
|
||||
message: '#^Cannot access offset ''validator'' on Illuminate\\Contracts\\Foundation\\Application\.$#'
|
||||
identifier: offsetAccess.nonOffsetAccessible
|
||||
|
||||
Reference in New Issue
Block a user