Skip to content

Commit e374d15

Browse files
committed
UI\Component: removed references returned by getParameters() [Closes nette/nette#703][Closes #69]
1 parent 00b1a9c commit e374d15

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
@@ -210,7 +210,7 @@ final public function getParameter(string $name)
210210
*/
211211
final public function getParameters(): array
212212
{
213-
return $this->params;
213+
return array_map(function ($item) { return $item; }, $this->params);
214214
}
215215

216216

0 commit comments

Comments
 (0)