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

Fix Laravel 9 PHPStan generic check #749

Merged
merged 1 commit into from
Apr 25, 2022
Merged

Conversation

kayw-geek
Copy link
Contributor

PHPStan error : Method App\Http\Controllers\Resource\DemoController::withQuery() has parameter $query with generic class Illuminate\Database\Eloquent\Builder but does not specify its types: TModelClass

@freekmurze freekmurze merged commit fceb1e1 into spatie:main Apr 25, 2022
@freekmurze
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.

2 participants