Skip to content

Conversation

@milwad-dev
Copy link
Contributor

@milwad-dev milwad-dev commented May 15, 2025

This pull request introduces parameter type hints for the assertJsonStructure and assertExactJsonStructure methods in Laravel’s testing framework. The $structure parameter exactly determines the type.

This change is backward-compatible and non-breaking. It aligns with Laravel’s continuous improvement of type safety

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@milwad-dev milwad-dev marked this pull request as ready for review May 15, 2025 12:21
@taylorotwell taylorotwell merged commit f43f238 into laravel:12.x May 15, 2025
61 checks passed
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.

2 participants