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 Jan 17, 2023
1 parent 8e66bbb commit 4fddab4
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 4fddab4

Please sign in to comment.