Skip to content

Commit 518e070

Browse files
Update the output of dd and dump methods (#10422)
1 parent 9995b1a commit 518e070

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

‎collections.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,10 @@ $collection = collect(['John Doe', 'Jane Doe']);
697697
$collection->dd();
698698

699699
/*
700-
Collection {
701-
#items: array:2 [
702-
0 => "John Doe"
703-
1 => "Jane Doe"
704-
]
705-
}
700+
array:2 [
701+
0 => "John Doe"
702+
1 => "Jane Doe"
703+
]
706704
*/
707705
```
708706

@@ -871,12 +869,10 @@ $collection = collect(['John Doe', 'Jane Doe']);
871869
$collection->dump();
872870

873871
/*
874-
Collection {
875-
#items: array:2 [
876-
0 => "John Doe"
877-
1 => "Jane Doe"
878-
]
879-
}
872+
array:2 [
873+
0 => "John Doe"
874+
1 => "Jane Doe"
875+
]
880876
*/
881877
```
882878

0 commit comments

Comments
 (0)