|
@@ -346,11 +346,11 @@ |
|
|
block discarded – undo |
|
346
|
346
|
|
|
347
|
347
|
public function returnTypeIsLeaf(ResolveInfo $info): bool |
|
348
|
348
|
{ |
|
349
|
|
- $returnType = $info->returnType instanceof WrappingType |
|
|
349
|
+ $returnType = $info->returnType instanceof WrappingType |
|
350
|
350
|
? $info->returnType->getWrappedType(true) |
|
351
|
351
|
: $info->returnType; |
|
352
|
352
|
|
|
353
|
|
- return $returnType instanceof LeafType; |
|
|
353
|
+ return $returnType instanceof LeafType; |
|
354
|
354
|
} |
|
355
|
355
|
|
|
356
|
356
|
public function decorateResponse(array $data): array |
Please login to merge, or discard this patch.