diff --git a/src/Application/UI/Component.php b/src/Application/UI/Component.php index 581c09a16..9d31d6681 100644 --- a/src/Application/UI/Component.php +++ b/src/Application/UI/Component.php @@ -201,7 +201,7 @@ final public function getParameter(string $name): mixed */ final public function getParameters(): array { - return $this->params; + return array_map(fn($item) => $item, $this->params); }