Refactor renderHTML method from static to instance method
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
b8dd243ec1
commit
087a610be5
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user