From f9833e39535f45eb6810f3f5a57dfe2e329d0617 Mon Sep 17 00:00:00 2001 From: TonsiTT <50301560+TonsiTT@users.noreply.github.com> Date: Thu, 13 Nov 2025 13:29:32 +0500 Subject: [PATCH] add null check to setReport --- src/Debouncers/JobDebouncer.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Debouncers/JobDebouncer.php b/src/Debouncers/JobDebouncer.php index cf77139..ab0264b 100644 --- a/src/Debouncers/JobDebouncer.php +++ b/src/Debouncers/JobDebouncer.php @@ -23,7 +23,10 @@ public function __construct( public function execute(): void { if ($this->isDebounceable($this->queuable)) { - $this->queuable->setReport($this->getReport()); + $report = $this->getReport(); + if ($report !== null) { + $this->queuable->setReport($report); + } } if ($this->sync) {