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

Incorrect Import in ServiceProvider #437

Open
ghost opened this issue May 23, 2021 · 3 comments
Open

Incorrect Import in ServiceProvider #437

ghost opened this issue May 23, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented May 23, 2021

Caffeinated\Modules\Support\ServiceProvider

Imports a Factory class which does not exist.

use Illuminate\Database\Eloquent\Factory;

Should be

use Illuminate\Database\Eloquent\Factories\Factory;

I would submit a pull request, but you haven't processed any of them in almost a year so I don't imagine that would get any results.

@ghost
Copy link
Author

ghost commented May 23, 2021

Actually I spoke too soon ... that Factory class is an abstract.

I'll leave it up to you guys to figure this out. Too many bugs for me.

@huszerldani
Copy link

Same problem with my project. Do you have any solution?

Thanks

@xin6841414
Copy link

xin6841414 commented Aug 31, 2023

Same problem with my project. Do you have any solution?

Thanks

Same problem with my project. Do you have any solution?

Thanks

The official upgrade extension named laravel/legacy-factories ,I've tried. Look here

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

2 participants