caffeinated/modules

Incorrect Import in ServiceProvider

Opened this issue · 3 comments

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.

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.

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

Thanks

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