Browse Source

typo in API docs example

antograssiot 10 years ago
parent
commit
4075c3d934
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Collection/CollectionInterface.php

+ 1 - 1
src/Collection/CollectionInterface.php

@@ -458,7 +458,7 @@ interface CollectionInterface extends Iterator, JsonSerializable
      *
      * // Total: 300
      *
-     * $total = (new Colletion([1, 2, 3]))->sumOf();
+     * $total = (new Collection([1, 2, 3]))->sumOf();
      * // Total: 6
      * ```
      *