Skip to content

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

Merged
n0nag0n merged 1 commit intomasterfrom
docs/allow-arrays-route-controllers-and-middlewares
Mar 10, 2025
Merged

docs: add array{0: class-string, 1: method} to support phpstan level …#636
n0nag0n merged 1 commit intomasterfrom
docs/allow-arrays-route-controllers-and-middlewares

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