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 Dec 5, 2022
1 parent 2dc497b commit 8317150
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 @@ -200,7 +200,7 @@ final public function getParameter(string $name): mixed
*/
final public function getParameters(): array
{
return $this->params;
return array_map(fn($item) => $item, $this->params);
}


Expand Down

0 comments on commit 8317150

Please sign in to comment.