Open Pr3d4dor opened 3 months ago
I'm assuming that fixing these tests also makes sense as well as correcting the listener
@willpower232 There is a strange behavior, maybe there is a bug in the Laravel core.
This does not work:
Event::dispatch(AuditCustom::class, [$this]);
But this works:
Event::dispatch(new AuditCustom($this));
This pull request fixes this problem: