From b76286cc0ade02e027eafe4a9e33c9e735ada7bf Mon Sep 17 00:00:00 2001 From: robertSt7 Date: Thu, 14 Dec 2023 15:49:44 +0100 Subject: [PATCH] Fix: throw error message --- src/GraphQL/DataObjectInputProcessor/ManyToManyRelation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ); } }