Skip to content

Commit 87ba587

Browse files
committed
UI\Component: removed references returned by getParameters() [Closes nette/nette#703][Closes #69]
1 parent 1213aef commit 87ba587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Component.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ final public function getParameter(string $name): mixed
200200
*/
201201
final public function getParameters(): array
202202
{
203-
return $this->params;
203+
return array_map(fn($item) => $item, $this->params);
204204
}
205205

206206

0 commit comments

Comments
 (0)