Remove unused local var, function returns void anyway
This commit is contained in:
parent
30e0451bc3
commit
c50814ac4e
|
@ -428,7 +428,7 @@ class Excel5 extends BaseReader implements IReader
|
||||||
$ole = new \PhpSpreadsheet\Shared\OLERead();
|
$ole = new \PhpSpreadsheet\Shared\OLERead();
|
||||||
|
|
||||||
// get excel data
|
// get excel data
|
||||||
$res = $ole->read($pFilename);
|
$ole->read($pFilename);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (\PhpSpreadsheet\Exception $e) {
|
} catch (\PhpSpreadsheet\Exception $e) {
|
||||||
|
@ -1258,7 +1258,7 @@ class Excel5 extends BaseReader implements IReader
|
||||||
// OLE reader
|
// OLE reader
|
||||||
$ole = new \PhpSpreadsheet\Shared\OLERead();
|
$ole = new \PhpSpreadsheet\Shared\OLERead();
|
||||||
// get excel data,
|
// get excel data,
|
||||||
$res = $ole->read($pFilename);
|
$ole->read($pFilename);
|
||||||
// Get workbook data: workbook stream + sheet streams
|
// Get workbook data: workbook stream + sheet streams
|
||||||
$this->data = $ole->getStream($ole->wrkbook);
|
$this->data = $ole->getStream($ole->wrkbook);
|
||||||
// Get summary information data
|
// Get summary information data
|
||||||
|
|
Loading…
Reference in New Issue