Skip to content

Conversation

@mtdowling
Copy link
Contributor

Interfaces should describe a contract. The contract is not
specified in the interface unless there is a docblock with
an @return tag to tell implementations what should be
returned. While this information is provided in the docs,
it should also be available on the interfaces.

Interfaces should describe a contract. The contract is not
specified in the interface unless there is a docblock with
an `@return` tag to tell implementations what should be
returned. While this information is provided in the docs,
it should also be available on the interfaces.
jsor added a commit that referenced this pull request Oct 5, 2014
Adding a return tag to interfaces.
@jsor jsor merged commit f1e1063 into reactphp:master Oct 5, 2014
@cboden cboden added this to the v2.2 milestone Dec 9, 2014
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

Successfully merging this pull request may close these issues.

3 participants