adapt code for php 5.3
This commit is contained in:
parent
623bd993d8
commit
12ad6fa865
|
|
@ -248,7 +248,8 @@ final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
|
|||
$templatePath = 'test.docx';
|
||||
$objWriter->save($templatePath);
|
||||
|
||||
$variableCount = (new TemplateProcessor($templatePath))->getVariableCount();
|
||||
$templateProcessor = new TemplateProcessor($templatePath);
|
||||
$variableCount = $templateProcessor->getVariableCount();
|
||||
unlink($templatePath);
|
||||
|
||||
$this->assertEquals(
|
||||
|
|
|
|||
Loading…
Reference in New Issue