Navigation Menu

Skip to content

Commit

Permalink
Updates CollectionInterface::reduce() doc block, changing return type…
Browse files Browse the repository at this point in the history
… hint to 'mixed'
  • Loading branch information
garethellis36 committed Jan 24, 2017
1 parent ca96417 commit 4b2ca23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/CollectionInterface.php
Expand Up @@ -183,7 +183,7 @@ public function map(callable $c);
*
* @param callable $c The callback function to be called
* @param mixed $zero The state of reduction
* @return void
* @return mixed
*/
public function reduce(callable $c, $zero = null);

Expand Down

0 comments on commit 4b2ca23

Please sign in to comment.