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 4ec5d38 commit b49543eCopy full SHA for b49543e
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