We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623bd99 commit 12ad6faCopy full SHA for 12ad6fa
tests/PhpWord/TemplateProcessorTest.php
@@ -248,7 +248,8 @@ public function getVariableCountCountsHowManyTimesEachPlaceholderIsPresent()
248
$templatePath = 'test.docx';
249
$objWriter->save($templatePath);
250
251
- $variableCount = (new TemplateProcessor($templatePath))->getVariableCount();
+ $templateProcessor = new TemplateProcessor($templatePath);
252
+ $variableCount = $templateProcessor->getVariableCount();
253
unlink($templatePath);
254
255
$this->assertEquals(
0 commit comments