Skip to content

Commit 6bb99d3

Browse files
committed
Update Services
1 parent 71b4ea1 commit 6bb99d3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/Services/AdminAuditLogService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function log(
3131
'type' => $type,
3232
'value' => $value,
3333
'activity_type' => $activity ? get_class($activity) : null,
34-
'activity_id' => $activity?->id, // @phpstan-ignore-line
34+
'activity_id' => $activity?->id,
3535
'action_msg' => $actionMsg,
3636
'visibility' => $visibility,
3737
]);

app/Services/NotificationService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ public static function create($uid, $type, $itemClass, $itemId, $meta = false)
9393
$n = new Notification;
9494
$n->user_id = $uid;
9595
$n->type = $type;
96-
$n->item_type = $itemClass; // @phpstan-ignore-line
97-
$n->item_id = $itemId; // @phpstan-ignore-line
96+
$n->item_type = $itemClass;
97+
$n->item_id = $itemId;
9898

9999
if ($meta) {
100100
$n->meta = $meta;

app/Services/UserAuditLogService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function log(
3030
'type' => $type,
3131
'value' => $value,
3232
'activity_type' => $activity ? get_class($activity) : null,
33-
'activity_id' => $activity?->id, // @phpstan-ignore-line
33+
'activity_id' => $activity?->id,
3434
'ip_address' => $this->getIpAddress(),
3535
'client_id' => $this->getClientId(),
3636
]);

0 commit comments

Comments
 (0)