It seems like new \Egulias\EmailValida...tion\Error\SpoofEmail() of type object<Egulias\EmailVali...ation\Error\SpoofEmail> is incompatible with the declared type object<Egulias\EmailVali...alidation\InvalidEmail> of property $error.
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..
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..