Askedio / laravel-soft-cascade

Cascade Delete & Restore when using Laravel SoftDeletes
https://medium.com/asked-io/cascading-softdeletes-with-laravel-5-a1a9335a5b4d
MIT License
705 stars 63 forks source link

Missing 2nd Argument #56

Closed kenegade closed 6 years ago

kenegade commented 6 years ago

ErrorException in CascadeDeleteListener.php line 18: Missing argument 2 for Askedio\SoftCascade\Listeners\CascadeDeleteListener::handle()

I'm getting the error above when deleting a model. In debugging, I've removed all the items in the $softCascade array, so I don't think it's a Model code issue, but who knows.

I'm Laravel 5.3. Need more info?

maguilar92 commented 6 years ago

See #42

To use with Laravel 5.3 you need to use Askedio/laravel5-soft-cascade version 1.8.

kenegade commented 6 years ago

That worked perfectly sorry for the duplicated error. I didn't see how to review closed issues, but now I do. Thanks for the uber quick response!

maguilar92 commented 6 years ago

You're welcome and thanks!!