diff --git a/src/GraphQL/DataObjectInputProcessor/ManyToManyRelation.php b/src/GraphQL/DataObjectInputProcessor/ManyToManyRelation.php index b09499ad..16d9e7ef 100644 --- a/src/GraphQL/DataObjectInputProcessor/ManyToManyRelation.php +++ b/src/GraphQL/DataObjectInputProcessor/ManyToManyRelation.php @@ -48,7 +48,7 @@ public function process($object, $newValue, $args, $context, ResolveInfo $info) $result[] = $element; } else { throw new NotFoundException( - "Doesn't found element: " . $newValueItemValue['fullpath'] ?? $newValueItemValue['id'] + "Doesn't found element: " . $newValueItemValue['fullpath'] ); } }