Skip to content

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