diff --git a/collections.md b/collections.md index dafbc1de412..be8b7f7259f 100644 --- a/collections.md +++ b/collections.md @@ -436,7 +436,7 @@ $collapsed->all(); #### `collapseWithKeys()` {.collection-method} -The `collapseWithKeys` method flattens a collection of arrays or collections into a single collection, keeping the original keys intact: +The `collapseWithKeys` method flattens a collection of arrays or collections into a single collection, keeping the original keys intact. If the collection is already flat, it will return an empty collection: ```php $collection = collect([