From 11c0ac62111d7775415762dcb9c80a47801263a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20PLANCHAT?= Date: Wed, 11 Dec 2024 10:43:50 +0100 Subject: [PATCH] Update RejectionResultBucket.php --- src/RejectionResultBucket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RejectionResultBucket.php b/src/RejectionResultBucket.php index 67e786e..8f13db6 100644 --- a/src/RejectionResultBucket.php +++ b/src/RejectionResultBucket.php @@ -18,7 +18,7 @@ final class RejectionResultBucket implements Contract\RejectionResultBucketInter /** @param Type ...$values */ public function __construct( - private readonly string $reason, + private readonly ?string $reason, private readonly ?\Throwable $exception, ...$values, ) {