Remove unused local var, function returns void anyway

This commit is contained in:
Synchro 2015-11-09 14:15:29 +01:00 committed by Adrien Crivelli
parent 30e0451bc3
commit c50814ac4e
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 2 additions and 2 deletions

View File

@ -428,7 +428,7 @@ class Excel5 extends BaseReader implements IReader
$ole = new \PhpSpreadsheet\Shared\OLERead();
// get excel data
$res = $ole->read($pFilename);
$ole->read($pFilename);
return true;
} catch (\PhpSpreadsheet\Exception $e) {
@ -1258,7 +1258,7 @@ class Excel5 extends BaseReader implements IReader
// OLE reader
$ole = new \PhpSpreadsheet\Shared\OLERead();
// get excel data,
$res = $ole->read($pFilename);
$ole->read($pFilename);
// Get workbook data: workbook stream + sheet streams
$this->data = $ole->getStream($ole->wrkbook);
// Get summary information data