Refactor renderHTML method from static to instance method

[MAILPOET-2665]
This commit is contained in:
Rostislav Wolny
2020-01-29 15:41:05 +01:00
committed by Jack Kitterhing
parent b8dd243ec1
commit 087a610be5
3 changed files with 9 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ class Renderer {
return $html;
}
public static function renderHTML($form = []) {
public function renderHTML($form = []) {
if (isset($form['body']) && !empty($form['body'])) {
return static::renderBlocks($form['body']);
}