laravel-auditing icon indicating copy to clipboard operation
laravel-auditing copied to clipboard

Type hinting failed

Open robov opened this issue 2 years ago • 2 comments

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

robov avatar Jul 08 '22 16:07 robov

Alright. Acknowledged. I do not know what it means though. Does it cause an issue i can proof?

MortenDHansen avatar Jul 15 '22 20:07 MortenDHansen

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

robov avatar Jul 16 '22 15:07 robov

hi @robov, feel free to make a PR for that, thanks

parallels999 avatar Mar 09 '23 15:03 parallels999