Skip to content

Commit

Permalink
make xmlReplaceBlock public
Browse files Browse the repository at this point in the history
  • Loading branch information
troosan committed Feb 8, 2021
1 parent 6db2927 commit 264f159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpWord/TemplateProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ protected function replaceClonedVariables($variableReplacements, $xmlBlock)
* @param string $blockType XML tag type of block
* @return \PhpOffice\PhpWord\TemplateProcessor Fluent interface
*/
protected function replaceXmlBlock($macro, $block, $blockType = 'w:p')
public function replaceXmlBlock($macro, $block, $blockType = 'w:p')
{
$where = $this->findContainingXmlBlockForMacro($macro, $blockType);
if (is_array($where)) {
Expand Down

0 comments on commit 264f159

Please sign in to comment.