Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Both Psr7Trait and JsonResponseTrait define the same $response property. #2

Closed
crynobone opened this issue May 10, 2016 · 2 comments

Comments

@crynobone
Copy link
Contributor

exception 'ErrorException' with message 'Nexmo\Entity\Psr7Trait and Nexmo\Entity\JsonResponseTrait define the same property ($response) in the composition of Nexmo\Message\Message. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed

@crynobone
Copy link
Contributor Author

screen shot 2016-05-13 at 9 25 25 pm

@tjlytle
Copy link
Contributor

tjlytle commented May 13, 2016

Good catch, the traits are a bit fluid at this point, should solidify soon. Trying to bridge compatibility with the existing APIs, and more REST-like future APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants