Skip to content

Commit

Permalink
Reuse template when rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Feb 20, 2025
1 parent a8a9a5c commit 288de59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function render(): void
}

/** @var DefaultTemplate */
$template = $this->createTemplate();
$template = $this->getTemplate();
$template->setFile($this->getTemplateFile());
$template->setTranslator($this->getTranslator());

Expand Down

0 comments on commit 288de59

Please sign in to comment.