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

ModelNotFoundException->getModel() returns ReflectionClass instead of string #20888

Closed
frdrk opened this issue Aug 31, 2017 · 1 comment
Closed

Comments

@frdrk
Copy link

frdrk commented Aug 31, 2017

  • Laravel Version: 5.5.0
  • PHP Version: 7.1.0
  • Database Driver & Version: MySQL 5.5.42

Description:

In 5.4 $exception->getModel() on an error of type ModelNotFoundException would return a string as per the documentation. Now a ReflectionClass containing a bunch of stuff I don't quite understand is returned instead.

Steps To Reproduce:

@devcircus
Copy link
Contributor

Should be fixed via #20896

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

No branches or pull requests

3 participants