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 {