We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c699c20 commit 776cfabCopy full SHA for 776cfab
app/code/Magento/GiftMessageGraphQl/Model/Resolver/Product/GiftMessage.php
@@ -33,8 +33,8 @@ public function resolve(
33
Field $field,
34
$context,
35
ResolveInfo $info,
36
- array $value = null,
37
- array $args = null
+ ?array $value = null,
+ ?array $args = null
38
): bool {
39
if (!isset($value['model']) || !$value['model'] instanceof ProductInterface) {
40
throw new LocalizedException(__('The product model is not available.'));
0 commit comments