Skip to content

Commit

Permalink
UI\Component: removed references returned by getParameters() [Closes n…
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 24, 2022
1 parent 612d41c commit d6fabf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/UI/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ final public function getParameter(string $name)
*/
final public function getParameters(): array
{
return $this->params;
return array_map(function ($item) { return $item; }, $this->params);
}


Expand Down

0 comments on commit d6fabf9

Please sign in to comment.