laravel-auditing
laravel-auditing copied to clipboard
Type hinting failed
When I run this static analyser : https://github.com/imanghafoori1/laravel-microscope
I get: The type hint on the listener: OwenIt\Auditing\Listeners\RecordCustomAudit does not match the event class path
The RecordCustomAudits::handle accepts a \OwenIt\Auditing\Contracts\Auditable
but the event is not derived not implemeting this contract
Alright. Acknowledged. I do not know what it means though. Does it cause an issue i can proof?
I have not used that custom section, so I cannot say if an how it can produce a bug. But it might suddenly pop up somewhere
hi @robov, feel free to make a PR for that, thanks