Skip to content

Commit 8fa5432

Browse files
authored
Fix wrong example result in countBy method
1 parent 4944720 commit 8fa5432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ However, you pass a callback to the `countBy` method to count all items by a cus
359359

360360
$counted->all();
361361

362-
// [1 => 1, 2 => 3, 3 => 1]
362+
// ['gmail.com' => 2, 'yahoo.com' => 1]
363363

364364
<a name="method-crossjoin"></a>
365365
#### `crossJoin()` {#collection-method}

0 commit comments

Comments
 (0)