diff --git a/framework/core/src/Api/Events/SerializeAttributes.php b/framework/core/src/Api/Events/SerializeAttributes.php index 0c44efc11..53faf719f 100644 --- a/framework/core/src/Api/Events/SerializeAttributes.php +++ b/framework/core/src/Api/Events/SerializeAttributes.php @@ -12,6 +12,6 @@ class SerializeAttributes { $this->serializer = $serializer; $this->model = $model; - $this->attributes = $attributes; + $this->attributes = &$attributes; } }