From cac7499c3393862a5e0c30e096cb8f95b33e2f40 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 6 Feb 2026 17:37:21 +0100 Subject: [PATCH] wip --- .../Commands/Services/Tasks/NotifyAlarms.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Console/Commands/Services/Tasks/NotifyAlarms.php b/app/Console/Commands/Services/Tasks/NotifyAlarms.php index a0c27385..50e5cb96 100644 --- a/app/Console/Commands/Services/Tasks/NotifyAlarms.php +++ b/app/Console/Commands/Services/Tasks/NotifyAlarms.php @@ -58,10 +58,10 @@ class NotifyAlarms if (! $send) { $send = PersonalNotificationSend::create([ - 'event_id' => $event_id, - 'user_id' => $user_id, - 'bookmaker_id' => $bookmaker_id, - 'alarm_level_id' => $alarm_level_id, + 'event_id' => (int) $event_id, + 'user_id' => (int) $user_id, + 'bookmaker_id' => (int) $bookmaker_id, + 'alarm_level_id' => (int) $alarm_level_id, 'fieldname' => $fieldname, 'notify_by_mail' => 1, ]); @@ -102,10 +102,10 @@ class NotifyAlarms if (! $send) { $send = PersonalNotificationSend::create([ - 'event_id' => $event_id, - 'user_id' => $user_id, - 'bookmaker_id' => $bookmaker_id, - 'alarm_level_id' => $alarm_level_id, + 'event_id' => (int) $event_id, + 'user_id' => (int) $user_id, + 'bookmaker_id' => (int) $bookmaker_id, + 'alarm_level_id' => (int) $alarm_level_id, 'fieldname' => $fieldname, 'notify_by_system' => 1, ]);