diff --git a/src/Application/UI/Component.php b/src/Application/UI/Component.php index cc91e4b41..93a643597 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); }