From f5df2d79ef75a641975e5ef45e443abfbb08f6aa Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Thu, 25 Apr 2024 15:00:39 +0200 Subject: [PATCH] Update src/Psl/Result/Failure.php Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com> --- src/Psl/Result/Failure.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Psl/Result/Failure.php b/src/Psl/Result/Failure.php index df40d11b..4e57b9a1 100644 --- a/src/Psl/Result/Failure.php +++ b/src/Psl/Result/Failure.php @@ -47,11 +47,11 @@ public function getResult(): void /** * 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 D */ public function unwrapOr(mixed $default): mixed {