Browse Source

Merge pull request #10101 from garethellis36/fix-collectioninterface-reduce-return-annotation

Fix Collectioninterface::reduce() @return in doc block
José Lorenzo Rodríguez 9 years ago
parent
commit
5bc22d763f
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);