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

Fixed static magic method calls #1161

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed static magic method calls #1161

wants to merge 2 commits into from

Conversation

DrRoach
Copy link
Contributor

@DrRoach DrRoach commented Feb 4, 2015

If a magic find is called such as first, __callStatic() will be called after __call() doesn't find any results and this will find the first magic method rather than an exception being thrown by __call() saying that the method doesn't exist.

Original issue - #851

If a magic find is called such as first, __callStatic() will be called after __call() doesn't find any results and this will find the first magic method rather than an exception being thrown by __call() saying that the method doesn't exist.
Fixed static magic method calls
@DrRoach
Copy link
Contributor Author

DrRoach commented Feb 4, 2015

I will rewrite the tests so that they match the correct exceptions if this is wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants