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:
Roman Kravchuk 2016-12-25 10:07:20 +02:00 committed by Adrien Crivelli
parent a39d71ec16
commit a045a446d5
1 changed files with 1 additions and 1 deletions

View File

@ -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');