This commit is contained in:
Yuri Kuznetsov
2023-04-26 12:25:57 +03:00
parent b20a4e768e
commit 18cd794fe1
2 changed files with 2 additions and 3 deletions
@@ -46,7 +46,7 @@ class EntityPrinter implements EntityPrinterInterface
public function print(Template $template, Entity $entity, Params $params, Data $data): Contents
{
$pdf = $this->dompdfInitializer->initialize($template, $entity);
$pdf = $this->dompdfInitializer->initialize($template);
$headHtml = $this->htmlComposer->composeHead($template, $entity);
$headerFooterHtml = $this->htmlComposer->composeHeaderFooter($template, $entity, $params, $data);