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

[7.x] Fixed instance style callable routes #34989

Closed
wants to merge 3 commits into from
Closed

Conversation

GrahamCampbell
Copy link
Member

PHP no longer considers ['Foo', 'bar'] callable when Foo is a class and bar is and instance method. It only considers it callable when bar is a static method. For the purposes of Laravel routing, we want to still allow instance methods even though they are not strictly "callable", since we're never gonna invoke them as "callables".

@GrahamCampbell GrahamCampbell deleted the routing-callable branch October 27, 2020 19:15
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