Browse Source

Merge pull request #10007 from robertpustulka/patch-1

Fix docblock in CollectionInterface
José Lorenzo Rodríguez 9 years ago
parent
commit
fff9bbb6ea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Collection/CollectionInterface.php

+ 2 - 2
src/Collection/CollectionInterface.php

@@ -135,8 +135,8 @@ interface CollectionInterface extends Iterator, JsonSerializable
      * ```
      *
      * @param callable $c a callback function
-     * @return bool true if for all elements in this collection the provided
-     * callback returns true, false otherwise
+     * @return bool true if the provided callback returns true for any element in this
+     * collection, false otherwise
      */
     public function some(callable $c);