mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-24 15:58:36 +00:00
Remove obsolete $obj prefix in cod sample
This commit is contained in:
@@ -35,8 +35,8 @@ $inputFileType = 'Xls';
|
||||
$inputFileName = './sampleData/example1.xls';
|
||||
|
||||
echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory with a defined reader type of ',$inputFileType,'<br />';
|
||||
$objReader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
|
||||
$spreadsheet = $objReader->load($inputFileName);
|
||||
$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
|
||||
$spreadsheet = $reader->load($inputFileName);
|
||||
|
||||
echo '<hr />';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user