Browse Source

Updates CollectionInterface::reduce() doc block, changing return type hint to 'mixed'

Gareth Ellis 9 years ago
parent
commit
4b2ca235c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Collection/CollectionInterface.php

+ 1 - 1
src/Collection/CollectionInterface.php

@@ -183,7 +183,7 @@ interface CollectionInterface extends Iterator, JsonSerializable
      *
      * @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);