diff --git a/src/Result/functions.php b/src/Result/functions.php index 46cbfb0..ba6d72b 100644 --- a/src/Result/functions.php +++ b/src/Result/functions.php @@ -30,8 +30,9 @@ function Err(mixed $err): Err /** * @template T + * @template E of Throwable * @param callable(): T $f - * @return Result + * @return Result */ function attempt(callable $f): Result {