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, ) {