From 06508895760751357a542668f15ab279cdb94003 Mon Sep 17 00:00:00 2001 From: Rotimi Ade Date: Sun, 6 May 2018 02:45:52 -0600 Subject: [PATCH] Documentation --- docs/QUICKSTART.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/QUICKSTART.md b/docs/QUICKSTART.md index a899d9f..2dbc871 100644 --- a/docs/QUICKSTART.md +++ b/docs/QUICKSTART.md @@ -754,7 +754,7 @@ To check if a key exists in the collection, you can call `isset` like so: } ``` * **`toArray()`:** Returns an array containing all items in the collection object -* **`transform(callable $transformer)`:** Modifies each item in a collection object via a callback with the following signature `function($key, $item)` that returns a value that will replace $item in the collection. The `$key` and `$item` parameters are each key and item pair contained in the collection. +* **`transform(callable $transformer)`:** Modifies each item in a collection object via a callback with the following signature `function($key, $item)` that returns a value that will replace each item in the collection. The `$key` and `$item` parameters are each key and item pairs contained in the collection. ```php $collection_of_ints = new \VersatileCollections\GenericCollection(2, 4, 6, 8);