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

[8.x] ModelNotFoundException: ensure that the model class name is properly set #36011

Merged
merged 1 commit into from
Jan 23, 2021
Merged

[8.x] ModelNotFoundException: ensure that the model class name is properly set #36011

merged 1 commit into from
Jan 23, 2021

Conversation

lucasmichot
Copy link
Contributor

Previously the ModelNotFoundException exception was thrown passing the model object in the constructor.
This was surely not the expected intention.

This PR fixes that and ensurew that the model class name is properly set when raising the ModelNotFoundException exception.

@lucasmichot lucasmichot changed the title [8.x] Ensure that the model class name is properly set. [8.x] ModelNotFoundException : ensure that the model class name is properly set. Jan 23, 2021
@taylorotwell taylorotwell merged commit 72a44d3 into laravel:8.x Jan 23, 2021
@GrahamCampbell GrahamCampbell changed the title [8.x] ModelNotFoundException : ensure that the model class name is properly set. [8.x] ModelNotFoundException : ensure that the model class name is properly set Jan 23, 2021
@GrahamCampbell GrahamCampbell changed the title [8.x] ModelNotFoundException : ensure that the model class name is properly set [8.x] ModelNotFoundException: ensure that the model class name is properly set Jan 23, 2021
@lucasmichot lucasmichot deleted the feature/8.x/model-class branch August 6, 2022 13:53
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