Skip to content
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

[9.x] Add extra type checks for model factories #41305

Merged
merged 3 commits into from Mar 3, 2022
Merged

[9.x] Add extra type checks for model factories #41305

merged 3 commits into from Mar 3, 2022

Conversation

axlon
Copy link
Contributor

@axlon axlon commented Mar 3, 2022

This PR is a followup to #40902, previously some type assertions were not possible due to a limitation in PHPStan, this has now been fixed (since PHPStan 1.4.7, in phpstan/phpstan-src#1019) so these assertions can be added in.

@driesvints
Copy link
Member

@axlon can you also bump PHPStan to this new minimum?

@nunomaduro nunomaduro marked this pull request as draft March 3, 2022 08:44
@axlon axlon marked this pull request as ready for review March 3, 2022 09:48
@axlon
Copy link
Contributor Author

axlon commented Mar 3, 2022

@driesvints done!

@driesvints driesvints merged commit 5b113da into laravel:9.x Mar 3, 2022
@driesvints
Copy link
Member

Thanks 👍

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.

None yet

2 participants