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

docs: add array{0: class-string, 1: method} to support phpstan level … #636

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

fadrian06
Copy link
Contributor

@fadrian06 fadrian06 commented Mar 9, 2025

…6 in any project that uses [MyController::class, 'myInstanceMethod'] (phpstan marks that as an invalid callable)

fix #633

…6 in any project that uses [MyController::class, 'myInstanceMethod'] (phpstan marks that as an invalid callable)
@n0nag0n n0nag0n merged commit a0a2b7c into master Mar 10, 2025
6 checks passed
@n0nag0n n0nag0n deleted the docs/allow-arrays-route-controllers-and-middlewares branch March 10, 2025 14:51
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.

Add array{0: class-string, 1: string} to Router class mapping methods too
2 participants