From f32eb884c29a9f040d3a806afbd614fda10e6300 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 27 Oct 2025 16:55:15 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Listeners/MarkNotificationsRead.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Listeners/MarkNotificationsRead.php b/app/Listeners/MarkNotificationsRead.php index bed99d54343d..a855940a472b 100644 --- a/app/Listeners/MarkNotificationsRead.php +++ b/app/Listeners/MarkNotificationsRead.php @@ -33,11 +33,11 @@ public function handle(UserCreated $event): void ->from('notifications_attribs') ->whereRaw('notifications.notifications_id = notifications_attribs.notifications_id') ->where('notifications_attribs.user_id', $user->user_id))->get()->map(fn ($notif) => [ - 'notifications_id' => $notif->notifications_id, - 'user_id' => $user->user_id, - 'key' => 'read', - 'value' => 1, - ])->toArray()); + 'notifications_id' => $notif->notifications_id, + 'user_id' => $user->user_id, + 'key' => 'read', + 'value' => 1, + ])->toArray()); \Log::info('Marked all notifications as read for user ' . $user->username); }