MAPG-191 don't pass data by reference to IContent

This commit is contained in:
bence committed 2020-07-05 00:25:34 +02:00
1 parent 091afb0aab
commit e17cf68007
4 files changed
+13 -6

No files matched your search

+2 -2
View File
@@ -2,9 +2,9 @@
class JsonContent extends ContentBase
{
public function __construct(array &$data = [])
public function __construct(array $data = [])
{
$this->data = &$data;
$this->data = $data;
}
public function render(): void