From 8dd8586ca77379451f1f64299dda0a099d3db090 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Mon, 4 Mar 2024 09:01:38 +1100 Subject: [PATCH] Nullable `failed` method --- queues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queues.md b/queues.md index 26bd1166556..5044e4c55bf 100644 --- a/queues.md +++ b/queues.md @@ -1897,7 +1897,7 @@ When a particular job fails, you may want to send an alert to your users or reve /** * Handle a job failure. */ - public function failed(Throwable $exception): void + public function failed(?Throwable $exception): void { // Send user notification of failure, etc... }