MAPG-191 don't pass data by reference to IContent
This commit is contained in:
4 files changed
+13
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user