Skip to content

Commit a7cee2f

Browse files
committed
change default writer to PHPExcel_Writer_Excel2007
1 parent 7a9c0d7 commit a7cee2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For now we only provide some usage examples instead of a full documentation.
5757
$file = \Yii::createObject([
5858
'class' => 'codemix\excelexport\ExcelFile',
5959

60-
// Default writer is Excel 5. You can use any other writer available from PHPOffice.
60+
// Default writer is `\PHPExcel_Writer_Excel2007`. You can use any other writer available from PHPOffice.
6161
//'writer' => '\PHPExcel_Writer_Excel5',
6262

6363
'sheets' => [

src/ExcelFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
class ExcelFile extends Object
1212
{
1313
/**
14-
* @var string the writer class to use. Default is `\PHPExcel_Writer_Excel5`.
14+
* @var string the writer class to use. Default is `\PHPExcel_Writer_Excel2007`.
1515
*/
16-
public $writer = '\PHPExcel_Writer_Excel5';
16+
public $writer = '\PHPExcel_Writer_Excel2007';
1717

1818
protected $_workbook;
1919
protected $_sheets;

0 commit comments

Comments
 (0)