Posted by R. Rajesh Jeba Anbiah on 10/15/05 08:46
Umberto Salsi wrote:
> Colin McKinnon <colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com> wrote:
<snip>
> /**
> * Adds a "Cc" address. Note: this function works
> * with the SMTP mailer on win32, not with the "mail"
> * mailer.
> * @param string $address <-- REDUNDANT
> * @param string $name <-- REDUNDANT
> * @return void <-- REDUNDANT
> */
<snip>
> to be declared formally. Also the type of the returned value (void) is
> detected automatically by PHPLint. Note too that the declarations of the
> PHPDocumentator (@param, @return) are now redundant
<snip>
As said earlier, your PHPLint is great. But, I don't think, the
declaration you mentioned will turn it redudnant--as usually the
practice is to provide description for the variable like:
@param string $address Email address of the recipient
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[Back to original message]
|