File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/PhpSpreadsheet/Reader/Ods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ public function load(\SimpleXMLElement $xml, $namespacesMeta)
2020 $ officeProperty = $ xml ->children ($ namespacesMeta ['office ' ]);
2121 foreach ($ officeProperty as $ officePropertyData ) {
2222 /** @var \SimpleXMLElement $officePropertyData */
23- $ officePropertiesDC = [];
23+ $ officePropertiesDC = ( object ) [];
2424 if (isset ($ namespacesMeta ['dc ' ])) {
2525 $ officePropertiesDC = $ officePropertyData ->children ($ namespacesMeta ['dc ' ]);
2626 }
2727 $ this ->setCoreProperties ($ docProps , $ officePropertiesDC );
2828
29- $ officePropertyMeta = [];
29+ $ officePropertyMeta = ( object ) [];
3030 if (isset ($ namespacesMeta ['dc ' ])) {
3131 $ officePropertyMeta = $ officePropertyData ->children ($ namespacesMeta ['meta ' ]);
3232 }
You can’t perform that action at this time.
0 commit comments