Skip to content

Commit e055985

Browse files
committed
chore: add box docblock
1 parent 4f109b3 commit e055985

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tempest/Support/src/functions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ function tap(mixed $value, Closure $callback): mixed
5151
}
5252

5353
/**
54+
* Returns a tuple containing the result of the `$callback` as the first element and the error message as the second element if there was an error.
55+
*
5456
* @template T
5557
*
5658
* @param (Closure(): T) $callback

0 commit comments

Comments
 (0)