It seems like simplexml_load_string($t...>getXmlResponseClass()) of type SimpleXMLElement is incompatible with the declared type Fns\Contracts\ResponseSendMessage of property $xmlResponse.
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...
46
}
47
48
public function getTypeMessage(): string
49
{
50
return 'CheckTicket';
51
}
52
53
public function getXmlResponseClass(): string
54
{
55
return CheckTicketXmlResponse::class;
56
}
57
58
public function getResponse(): ResponseSendMessage