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
@@ -171,10 +171,10 @@ class Spreadsheet_Excel_Writer_Workbook extends Spreadsheet_Excel_Writer_BIFFwri
* @param string filename for storing the workbook. "-" for writing to stdout.
* @access public
*/
function Spreadsheet_Excel_Writer_Workbook($filename)
function __construct($filename)
{
// It needs to call its parent's constructor explicitly
$this->Spreadsheet_Excel_Writer_BIFFwriter();
parent::__construct();
$this->_filename = $filename;
$this->_parser = new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);