Skip to content

Commit 264f159

Browse files
committed
make xmlReplaceBlock public
1 parent 6db2927 commit 264f159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ protected function replaceClonedVariables($variableReplacements, $xmlBlock)
11821182
* @param string $blockType XML tag type of block
11831183
* @return \PhpOffice\PhpWord\TemplateProcessor Fluent interface
11841184
*/
1185-
protected function replaceXmlBlock($macro, $block, $blockType = 'w:p')
1185+
public function replaceXmlBlock($macro, $block, $blockType = 'w:p')
11861186
{
11871187
$where = $this->findContainingXmlBlockForMacro($macro, $blockType);
11881188
if (is_array($where)) {

0 commit comments

Comments
 (0)