It seems like $event of type object<Spatie\ServerMoni...\Events\CheckSucceeded> is incompatible with the declared type object<Spatie\ServerMonitor\Events\CheckWarning> of property $event.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.