From 6f67b8c247841cc516bd0c26c0c6edd75a5ebf88 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 3 Apr 2015 17:04:59 +1030 Subject: [PATCH] Fix attribute serialisation event mutability --- src/Api/Events/SerializeAttributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Events/SerializeAttributes.php b/src/Api/Events/SerializeAttributes.php index 0c44efc11..53faf719f 100644 --- a/src/Api/Events/SerializeAttributes.php +++ b/src/Api/Events/SerializeAttributes.php @@ -12,6 +12,6 @@ class SerializeAttributes { $this->serializer = $serializer; $this->model = $model; - $this->attributes = $attributes; + $this->attributes = &$attributes; } }