Skip to content

Fix incorrect inheritdoc blocks #5718

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

Merged
merged 1 commit into from
Oct 11, 2012
Merged

Conversation

jonathaningram
Copy link
Contributor

Also add a docblock to stopwatch member variable.

@@ -24,6 +24,9 @@
*/
class TraceableControllerResolver extends ControllerResolver
{
/**
* @var Stopwatch
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Symfony does not put the docblock for private properties

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stof removed and rebased.

FYI, I couldn't see anywhere that it says not to add docblocks to private member variables and there's plenty of code in the library that does so. It allows autocomplete for IDEs, so I don't see why it should be omitted. Anyway, each to their own I've fixed it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stof there is no such rule and the form component uses docblocks for private properties. Why should it hurt?

Also add a docblock to stopwatch member variable.

Remove docblock from private member
fabpot added a commit that referenced this pull request Oct 11, 2012
This PR was merged into the master branch.

Commits
-------

74e2c5e Fix incorrect inheritdoc blocks

Discussion
----------

Fix incorrect inheritdoc blocks

Also add a docblock to stopwatch member variable.
@fabpot fabpot merged commit 74e2c5e into symfony:master Oct 11, 2012
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.

4 participants