Skip to content

Commit 7e6a734

Browse files
committed
UI\Component: removed references returned by getParameters() [Closes nette/nette#703][Closes #69]
1 parent 18a18c6 commit 7e6a734

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
@@ -201,7 +201,7 @@ final public function getParameter(string $name): mixed
201201
*/
202202
final public function getParameters(): array
203203
{
204-
return $this->params;
204+
return array_map(fn($item) => $item, $this->params);
205205
}
206206

207207

0 commit comments

Comments
 (0)