Add typehints to form block renderers
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
268fe0f2ad
commit
f959be13dd
@@ -11,7 +11,7 @@ class Text {
|
||||
$this->baseRenderer = $baseRenderer;
|
||||
}
|
||||
|
||||
public function render($block) {
|
||||
public function render(array $block): string {
|
||||
$type = 'text';
|
||||
$automationId = ' ';
|
||||
if ($block['id'] === 'email') {
|
||||
|
Reference in New Issue
Block a user