AbdullahShublaq/Films

deleted instead of deleting

Opened this issue · 0 comments

static::deleting(function (Actor $actor) {

I suppose u need to use deleted instead of deleting .
the reason is you cant be sure the Actor model will be deleted, maybe some kind of an error would stop Actor be deleted .