Skip to content

Commit

Permalink
Incorrect return type
Browse files Browse the repository at this point in the history
Should return array instead of callable
  • Loading branch information
joanmasoletgo authored May 10, 2018
1 parent 6e4b7da commit c36edff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partition.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @param int $size
* @param array|Generator $coll
*
* @return callable
* @return array
*/
function partition($size, $coll)
{
Expand Down

0 comments on commit c36edff

Please sign in to comment.