Skip to content

[12.x] Fix anchor format for toPrettyJson #10775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 25, 2025

Conversation

AhmedAlaa4611
Copy link
Contributor

Description

This PR updates the recently added toPrettyJson link to use the slug format.

In the past, I attempted a full unification, but that PR was closed due to the broad impact on existing links across the web. This PR limits the change to only this new method, which was just merged a few hours ago.

Currently, the documentation contains a mix of anchor formats. I think we can stick with the slug format for new methods to ensure future consistency.

@shaedrich
Copy link
Contributor

I don't really see why one link on that particular page should look different from all the others.

@AhmedAlaa4611
Copy link
Contributor Author

I don't really see why one link on that particular page should look different from all the others.

As I said:

Currently, the documentation contains a mix of anchor formats ...

See the following links:

[firstOrFail](#method-first-or-fail)

[firstWhere](#method-first-where)

[reduceSpread](#method-reduce-spread)

[countBy](#method-countBy)

[containsStrict](#method-containsstrict)

I just try to unify the newly introduced links.

@taylorotwell taylorotwell merged commit 43bbd49 into laravel:12.x Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants