sebdesign/laravel-state-machine

Illuminate\Contracts\Container\BindingResolutionException : Unresolvable dependency resolving [Parameter #0 [ <required> array $configs ]] in class SM\Factory\Factory

GonzaloGPF opened this issue · 1 comments

Hello!
FIrst of all, thx for this package, I really like it!
However, some days ago, it started failing... I don't know why.
When I try to instantiate with dependency injection, in my controller it throws an Exception about binding resolution.

Illuminate\Contracts\Container\BindingResolutionException : Unresolvable dependency resolving [Parameter #0 [ <required> array $configs ]] in class SM\Factory\Factory

I cannot use the Facade either, when I placeStateMachine::get() It says that 'get()' method does not exist.

I would like to keep using thiss nice pakage but I dont know how to solve this.
Thx!

Just was a problem with my ide-helper:generate... Sorry.
I Just clean up everythinh running php artisan ide-helper:generate and all works fine again.