Home » File Formats » Spreadsheet_Excel_Writer » Bug #8293
Parameter type does not match rest of function description
Details
| Submitted | 2006-07-26 07:57 UTC |
|---|---|
| From | john dot yeates at edigitalresearch dot com |
| Assigned | cweiske |
| Status | Closed |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 4.3.11 |
| OS | Gentoo |
| Roadmaps | (Not assigned) |
Comments
[2006-07-26 07:57 UTC] john dot yeates at edigitalresearch dot com
Description:
------------
Documentation for Spreadsheet_Excel_Writer::Format::setNumFormat has parameter $num_format described as integer, but the rest of the doc (including the example code) implies it should be string.
Test script:
---------------
http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.spreadsheet-excel-writer-format.setnumformat.php
Expected result:
----------------
void Format::setNumFormat (string $num_format)
Actual result:
--------------
void Format::setNumFormat (integer $num_format)