PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #8293

Parameter type does not match rest of function description

Details

Submitted2006-07-26 07:57 UTC
Fromjohn dot yeates at edigitalresearch dot com
Assignedcweiske
StatusClosed
PackageSpreadsheet_Excel_Writer
PHP Version4.3.11
OSGentoo
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)