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...
31
}
32
33
public function getTypeMessage(): string
34
{
35
return 'GetTicket';
36
}
37
38
public function getXmlResponseClass(): string
39
{
40
return GetTicketXmlResponse::class;
41
}
42
43
public function getResponse(): ResponseSendMessage
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..