Need to support PHP5.3 for a client unfortunately
This commit is contained in:
1 parent
6eef69634b
commit
31482fc622
7 files changed
+11
-10
No files matched your search
@@ -185,7 +185,7 @@ class XLSX extends AbstractReader
|
||||
}
|
||||
|
||||
$isInsideRowTag = false;
|
||||
$rowData = [];
|
||||
$rowData = array();
|
||||
|
||||
while ($this->xmlReader->read()) {
|
||||
if ($this->xmlReader->nodeType == \XMLReader::ELEMENT && $this->xmlReader->name === 'dimension') {
|
||||
@@ -230,7 +230,7 @@ class XLSX extends AbstractReader
|
||||
}
|
||||
|
||||
// no data means "end of file"
|
||||
return ($rowData !== []) ? $rowData : null;
|
||||
return ($rowData !== array()) ? $rowData : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user