From 335428351249e214f55d3ad931daedd6e6c2cb43 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Thu, 25 Apr 2024 15:00:50 +0200 Subject: [PATCH] Update src/Psl/Result/Success.php Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com> --- src/Psl/Result/Success.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Psl/Result/Success.php b/src/Psl/Result/Success.php index c6b3f622..a2846b77 100644 --- a/src/Psl/Result/Success.php +++ b/src/Psl/Result/Success.php @@ -47,11 +47,11 @@ public function getResult(): mixed /** * Unwrap the Result if it is succeeded or return $default value. * - * @param D $default + * @template D * - * @return T|D + * @param D $default * - * @template D + * @return T */ public function unwrapOr(mixed $default): mixed {