Skip to content

Commit 896e9c7

Browse files
committed
context has the navigator, not visitor.
1 parent 30a6e53 commit 896e9c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Serializer/CompositeSObjectHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function deserializeCompositeSObjectFromjson(
130130

131131
if (is_array($value) && array_key_exists('hasErrors', $value) && array_key_exists('records', $value)
132132
&& is_array($value['records'])) {
133-
$sobject->$field = $visitor->getNavigator()->accept(
133+
$sobject->$field = $context->getNavigator()->accept(
134134
$value,
135135
['name' => CompositeCollection::class]
136136
)

0 commit comments

Comments
 (0)