From d375a8e292235295b2b460f4a9f5df98de282a8b Mon Sep 17 00:00:00 2001 From: Bram Gerritsen Date: Tue, 5 Aug 2025 13:22:53 +0200 Subject: [PATCH] fix: explicit nullable type php 8.4 Fix 8.4 deprecation warning --- src/Plugin/HandleQueueMessageRejectPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/HandleQueueMessageRejectPlugin.php b/src/Plugin/HandleQueueMessageRejectPlugin.php index 32c47e1..8b0d891 100644 --- a/src/Plugin/HandleQueueMessageRejectPlugin.php +++ b/src/Plugin/HandleQueueMessageRejectPlugin.php @@ -28,7 +28,7 @@ public function aroundReject( callable $proceed, EnvelopeInterface $envelope, bool $requeue = true, - string $rejectionMessage = null + ?string $rejectionMessage = null ): void { if (!$rejectionMessage) { $proceed($envelope, $requeue, $rejectionMessage);