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

Doc Bug #14180 Typo in $modulo variable description
Submitted: 2008-06-18 18:40 UTC
From: phpcoder Assigned: amir
Status: Closed Package: Validate (version 0.8.1)
PHP Version: 5.2.5 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 - 41 = ?

 
 [2008-06-18 18:40 UTC] phpcoder (Slava Semushin)
Description: ------------ In comment (Validation.php, line 949) which describe _checkControlNumber() function I found typo in $modulo variable description: * @param int $modulo (optionsl) number There should be "optional", not "optionsl".

Comments

 [2008-06-18 18:52 UTC] phpcoder (Slava Semushin)
And even more: I found another typo at next line: * @param int $subtract (optional) numbier s/numbier/number/ You can see these typos here: http://pear.php.net/package/Validate/docs/latest/Validate/Validate.html#method_checkControlNumber
 [2008-06-19 07:32 UTC] amir (Amir Mohammad Saied)
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.