Fork of PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc
Hello,
I encountered incorrect behavior when hinting the return type when calling $client->send().
The problem was in the wrong definition of the return type, where PAMI\Message\Response\ResponseMessage was incorrectly defined and should be PAMI\Message\Response\Response.
Hello, I encountered incorrect behavior when hinting the return type when calling $client->send().
The problem was in the wrong definition of the return type, where PAMI\Message\Response\ResponseMessage was incorrectly defined and should be PAMI\Message\Response\Response.
This PR fix these definitions.