Skip to content

Commit 5c08542

Browse files
committed
addjusted the return types in phpdoc
1 parent 1d9fb34 commit 5c08542

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/ExcelFile.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ExcelFile extends BaseObject
1313
{
1414
/**
1515
* @var string the writer class to use. Default is
16-
* `\PHPExcel_Writer_Excel2007`.
16+
* `\PhpOffice\PhpSpreadsheet\Writer\Xlsx`.
1717
*/
1818
public $writerClass = '\PhpOffice\PhpSpreadsheet\Writer\Xlsx';
1919

@@ -33,7 +33,7 @@ class ExcelFile extends BaseObject
3333
protected $_sheetsCreated = false;
3434

3535
/**
36-
* @return PHPExcel_Writer_Abstract the writer instance
36+
* @return \PhpOffice\PhpSpreadsheet\Writer\BaseWriter the writer instance
3737
*/
3838
public function getWriter()
3939
{
@@ -45,7 +45,7 @@ public function getWriter()
4545
}
4646

4747
/**
48-
* @return PHPExcel the workbook instance
48+
* @return \PhpOffice\PhpSpreadsheet\Spreadsheet the workbook instance
4949
*/
5050
public function getWorkbook()
5151
{

src/ExcelSheet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ExcelSheet extends Component
3535
protected $_row;
3636

3737
/**
38-
* @param PHPExcel_WorkSheet $sheet
38+
* @param \PhpOffice\PhpSpreadsheet\Worksheet $sheet
3939
* @param array $config
4040
*/
4141
public function __construct($sheet, $config = [])
@@ -45,7 +45,7 @@ public function __construct($sheet, $config = [])
4545
}
4646

4747
/**
48-
* @return PHPExcel_WorkSheet
48+
* @return \PhpOffice\PhpSpreadsheet\Worksheet
4949
*/
5050
public function getSheet()
5151
{

0 commit comments

Comments
 (0)