fix namespace for ReflectionObject class
PHP Fatal error: Class 'PhpOffice\PhpSpreadsheet\Writer\ReflectionObject' not found in PhpSpreadsheet/src/PhpSpreadsheet/Writer/Ods.php on line 151
This commit is contained in:
parent
a39d71ec16
commit
a045a446d5
|
@ -148,7 +148,7 @@ class Ods extends BaseWriter implements IWriter
|
|||
|
||||
// Retrieve OVERWRITE and CREATE constants from the instantiated zip class
|
||||
// This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP
|
||||
$ro = new ReflectionObject($objZip);
|
||||
$ro = new \ReflectionObject($objZip);
|
||||
$zipOverWrite = $ro->getConstant('OVERWRITE');
|
||||
$zipCreate = $ro->getConstant('CREATE');
|
||||
|
||||
|
|
Loading…
Reference in New Issue