Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 43bbd49

Browse files
Fix anchor format for toPrettyJson (#10775)
1 parent 038387d commit 43bbd49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎collections.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ For the majority of the remaining collection documentation, we'll discuss each m
230230
[times](#method-times)
231231
[toArray](#method-toarray)
232232
[toJson](#method-tojson)
233-
[toPrettyJson](#method-toprettyjson)
233+
[toPrettyJson](#method-to-pretty-json)
234234
[transform](#method-transform)
235235
[undot](#method-undot)
236236
[union](#method-union)
@@ -3334,7 +3334,7 @@ $collection->toJson();
33343334
// '{"name":"Desk", "price":200}'
33353335
```
33363336

3337-
<a name="method-toprettyjson"></a>
3337+
<a name="method-to-pretty-json"></a>
33383338
#### `toPrettyJson()` {.collection-method}
33393339

33403340
The `toPrettyJson` method converts the collection into a formatted JSON string using the `JSON_PRETTY_PRINT` option:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /