Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
Iter\apply
(Closure(T): void)
$function
to `(Closure(T): …
…mixed)` (#471) If the return type is not going to be used, it does not make sense to enforce it. For example, there are cases like arrow functions that are incompatible, and force to use longer versions just because of the implicit return, for example: ```php Psl\Iter\apply( $items, fn (Item $item) => $q($item)->then($this->processItem(...)) ); ```
- Loading branch information