diff --git a/src/Application/UI/Component.php b/src/Application/UI/Component.php index c9c479b42..cedd1bafa 100644 --- a/src/Application/UI/Component.php +++ b/src/Application/UI/Component.php @@ -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); }