Fixed PHP7 Depecated Warnings

This commit is contained in:
Andreas Oesterreicher
2017-06-07 18:16:11 +02:00
parent 45b4c84764
commit 60ab8fdd1b
15 changed files with 83 additions and 83 deletions
+2 -2
View File
@@ -364,14 +364,14 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
* @param mixed &$parser The formula parser created for the Workbook
* @access private
*/
function Spreadsheet_Excel_Writer_Worksheet($BIFF_version, $name,
function __construct($BIFF_version, $name,
$index, &$activesheet,
&$firstsheet, &$str_total,
&$str_unique, &$str_table,
&$url_format, &$parser)
{
// It needs to call its parent's constructor explicitly
$this->Spreadsheet_Excel_Writer_BIFFwriter();
parent::__construct();
$this->_BIFF_version = $BIFF_version;
$rowmax = 65536; // 16384 in Excel 5
$colmax = 256;