Doc #10223 [NEW]: there's a typo in the function declaration
| From: | clemente dot biondo at gmail dot it | Date: | Wed, 28 Feb 2007 14:23:41 +0000 |
| Subject: | Doc #10223 [NEW]: there's a typo in the function declaration | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9482@lists.php.net to get a copy of this message | ||
From: clemente dot biondo at gmail dot it
Operating system:
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Documentation Problem
Bug description: there's a typo in the function declaration
Description:
------------
the declaration
void Format::setNumFormat (integer $num_format)
^^^^^^^
is incorrect. The correct declaration is
void Format::setNumFormat (string $num_format)
^^^^^^
it can be easily verified by checking the example
in the same page...
$date_format->setNumFormat('D-MMM-YYYY');
Bye and thank you very much for the good work!
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=10223&edit=1
--