Skip to content

Commit f81d2de

Browse files
Improve consistency in countBy method description (#10313)
1 parent 29d8413 commit f81d2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ $counted->all();
624624
// [1 => 1, 2 => 3, 3 => 1]
625625
```
626626

627-
You pass a closure to the `countBy` method to count all items by a custom value:
627+
You may pass a closure to the `countBy` method to count all items by a custom value:
628628

629629
```php
630630
$collection = collect(['[email protected]', '[email protected]', '[email protected]']);

0 commit comments

Comments
 (0)