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
@@ -145,9 +145,9 @@ class SharedStringsHelper
|
||||
*/
|
||||
protected function removeSuperfluousTextNodes($parentNode)
|
||||
{
|
||||
$tagsToRemove = [
|
||||
$tagsToRemove = array(
|
||||
'rPh', // Pronunciation of the text
|
||||
];
|
||||
);
|
||||
|
||||
foreach ($tagsToRemove as $tagToRemove) {
|
||||
$xpath = '//ns:' . $tagToRemove;
|
||||
|
||||
@@ -40,7 +40,7 @@ class WorksheetHelper
|
||||
*/
|
||||
public function getWorksheets()
|
||||
{
|
||||
$worksheets = [];
|
||||
$worksheets = array();
|
||||
|
||||
$xmlContents = file_get_contents('zip://' . $this->filePath . '#' . self::CONTENT_TYPES_XML_FILE_PATH);
|
||||
|
||||
|
||||
Reference in new issue
Block a user