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
@@ -49,10 +49,10 @@ class Spreadsheet_Excel_Writer extends Spreadsheet_Excel_Writer_Workbook
* @param string $filename The optional filename for the Workbook.
* @return Spreadsheet_Excel_Writer_Workbook The Workbook created
*/
function Spreadsheet_Excel_Writer($filename = '')
function __construct($filename = '')
{
$this->_filename = $filename;
$this->Spreadsheet_Excel_Writer_Workbook($filename);
parent::__construct($filename);
}
/**