Skip to content

Commit 1c0e415

Browse files
authored
Update collections.md
1 parent e83ade7 commit 1c0e415

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
@@ -944,7 +944,7 @@ The `isNotEmpty` method returns `true` if the collection is not empty; otherwise
944944
The `join` method joins the collection's values with a string:
945945

946946
collect(['a', 'b', 'c'])->join(', '); // 'a, b, c'
947-
collect(['a', 'b', 'c'])->join(', ', ' and '); // 'a, b and c'
947+
collect(['a', 'b', 'c'])->join(', ', ', and '); // 'a, b, and c'
948948
collect(['a', 'b'])->join(', ', ' and '); // 'a and b'
949949
collect(['a'])->join(', ', ' and '); // 'a'
950950
collect([])->join(', ', ' and '); // ''

0 commit comments

Comments
 (0)