Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #8290 @param bug when description is on its own line
Submitted: 2006-07-25 20:10 UTC
From: none at none dot none Assigned: cellog
Status: Closed Package: PhpDocumentor (version 1.3.0RC6)
PHP Version: 5.1.4 OS: Windows XP SP2
Roadmaps: (Not assigned)    
Subscription  


 [2006-07-25 20:10 UTC] none at none dot none
Description: ------------ If the entire "description" part of a param tag on its own line (i.e., there is nothing or only whitespace after the parameter name until the end of the line), then it is treated as an unlisted parameter with the same name as the listed parameter. So then it looks like there are two of each parameter that is commented in this way, only one of which has a description. Test script: --------------- <?php /** * @param integer $hi * This is the description. */ function test($hi) { } ?> Expected result: ---------------- In the documentation for test(): void test ( integer $hi ) * integer $hi : This is the description. Actual result: -------------- In the documentation for test(): void test ( $hi, integer $hi ) * integer $hi : This is the description. * $hi

Comments

 [2006-08-16 17:38 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.