Skip to content

Commit b291b2b

Browse files
committed
B2B-2658: Implement GraphQL Resolver Cache for Customer query
- class method must correspond interface
1 parent 9a37d85 commit b291b2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/GraphQlResolverCache/Model/Resolver/Result/ValueProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function processCachedValueAfterLoad(ResolverInterface $resolver, string
6969
/**
7070
* @inheritdoc
7171
*/
72-
public function preProcessParentValue(&$value): void
72+
public function preProcessParentValue(array &$value): void
7373
{
7474
$this->hydrateData($value);
7575
}

app/code/Magento/GraphQlResolverCache/Model/Resolver/Result/ValueProcessorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface ValueProcessorInterface
2525
public function processCachedValueAfterLoad(ResolverInterface $resolver, string $cacheKey, &$value): void;
2626

2727
/**
28-
* Preprocess parent resolver resolved array for currently executed resolver.
28+
* Preprocess parent resolver resolved array for currently executed array-element resolver.
2929
*
3030
* @param array $value
3131
* @return void

0 commit comments

Comments
 (0)