It seems like $this->address->toArray() of type array is incompatible with the declared type object<WeDevBr\Bankly\Types\Card\Address> of property $address.
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..
Loading history...
35
}
36
37
return (array) $this;
38
}
39
40
/**
41
* This function validate the data for duplicate card
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..