Skip to content

Commit

Permalink
[BUGFIX] User1Element render() returns array
Browse files Browse the repository at this point in the history
Compat with v13.

Releases: main, 12
  • Loading branch information
lolli42 committed Jun 16, 2023
1 parent b24ca7d commit adf8e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Form/Element/User1Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class User1Element extends AbstractFormElement
/**
* @return array<string, array<int, string|JavaScriptModuleInstruction>|string> As defined in initializeResultArray() of AbstractNode
*/
public function render()
public function render(): array
{
$result = $this->initializeResultArray();
$parameters = $this->data['parameterArray'];
Expand Down

0 comments on commit adf8e41

Please sign in to comment.