Is it really necessary do something like this:
/**
* ...
*
* @return void
*/
I have quite a few methods that don’t have a return value, and it seems really redundant to put something like this in the comment. Would it be considered bad form to leave it out?
If it makes it clear for the documentation, then leave it in, but it isn’t strictly necessary. It’s an entirely subjective decision.
Personally, I would leave it out.
EDIT
I stand corrected. After a little googling, the wikipedia page says:
The phpdoc.org website says:
Sooo… Based on that, I would say leave out the void. It’s non-standard, at least.