-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Escape annotations in comments #13240
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
Conversation
cmfcmf
commented
Jan 4, 2015
Q | A |
---|---|
Fixed tickets | --- |
Referenced tickets | #13089 |
License | MIT |
@@ -248,7 +248,7 @@ public function getBundle($name, $first = true) | |||
* | |||
* The resource name must follow the following pattern: | |||
* | |||
* @<BundleName>/path/to/a/file.something | |||
* "@BundleName/path/to/a/file.something" | |||
* | |||
* where BundleName is the name of the bundle | |||
* and the remaining part is the relative path in the bundle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this complete doc block should actually be replaced with {@inheritDoc}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This docblock has one RuntimeException more than the docblock in the interface. Shall I still replace it? Shall I add the additional exception to the docblock of the interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/**
* {@inheritDoc}
*
* @throws RuntimeException When ...
*/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I've merged the two docblocks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Fabbot says I should use {@inheritDoc}
with a lower-cased d
. Which one is correct now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmfcmf The lowercased one would have been correct.
Thank you @cmfcmf. |