Add typehints to form block renderers
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
268fe0f2ad
commit
f959be13dd
@@ -17,7 +17,7 @@ class Checkbox {
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
||||
public function render($block) {
|
||||
public function render(array $block): string {
|
||||
$html = '';
|
||||
|
||||
$fieldName = 'data[' . $this->baseRenderer->getFieldName($block) . ']';
|
||||
|
Reference in New Issue
Block a user