Skip to content

Commit

Permalink
Update src/Psl/Result/Failure.php
Browse files Browse the repository at this point in the history
Co-authored-by: Saif Eddin Gmati <29315886+azjezz@users.noreply.github.com>
  • Loading branch information
simPod and azjezz authored Apr 25, 2024
1 parent 9d6bebf commit f5df2d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Psl/Result/Failure.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit f5df2d7

Please sign in to comment.