chan-sccp / PAMI

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
http://marcelog.github.com/PAMI
Apache License 2.0
26 stars 21 forks source link

Fixed incorrectly named class in return type declaration #20

Closed Vantomas closed 2 years ago

Vantomas commented 2 years ago

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.

dkgroot commented 2 years ago

@Vantomas Thanks for your PR !