Skip to content

Commit

Permalink
Allow call of prepareImageAttrs as inherited function from TemplatePr…
Browse files Browse the repository at this point in the history
…ocessorCommon
  • Loading branch information
Papoteur committed Mar 8, 2021
1 parent e0fb47a commit 55ab01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpWord/TemplateProcessorCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ private function fixImageWidthHeightRatio(&$width, &$height, $actualWidth, $actu
}
}

private function prepareImageAttrs($replaceImage, $varInlineArgs)
protected function prepareImageAttrs($replaceImage, $varInlineArgs)
{
// get image path and size
$width = null;
Expand Down

0 comments on commit 55ab01e

Please sign in to comment.