Skip to content

Commit 6f797df

Browse files
committed
B2B-2677: [MediaGallery]Implement data caching for GraphQL results on resolver level
- Add return type declaration
1 parent a00fba8 commit 6f797df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -132,7 +132,7 @@ public function preProcessParentValue(array &$value): void
132132
* @param array $value
133133
* @return void
134134
*/
135-
private function hydrateData(array &$value)
135+
private function hydrateData(array &$value): void
136136
{
137137
// the parent value is always a single object that contains currently resolved value
138138
$reference = $this->defaultFlagGetter->getFlagFromValue($value) ?? null;

0 commit comments

Comments
 (0)