Skip to content

Commit

Permalink
Update CollectionInterface.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Jun 22, 2022
1 parent f4f1d28 commit 683f2e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Contract/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public function map(Closure $function): self;

/**
* @template TAccumulator
* @param TAccumulator|null $accumulator
*
* @param null|TAccumulator $accumulator
* @param Closure(TAccumulator,TValue):TAccumulator $function
*
* @return TAccumulator
Expand Down

0 comments on commit 683f2e3

Please sign in to comment.