Skip to content

Commit b49543e

Browse files
cia-2.4.8-develop-2.4-develop-sync-02212025: Fix PHP 8.4 deprecation
1 parent 4ec5d38 commit b49543e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/GiftMessageGraphQl/Model/Resolver/Product/GiftMessage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function resolve(
3333
Field $field,
3434
$context,
3535
ResolveInfo $info,
36-
array $value = null,
37-
array $args = null
36+
?array $value = null,
37+
?array $args = null
3838
): bool {
3939
if (!isset($value['model']) || !$value['model'] instanceof ProductInterface) {
4040
throw new LocalizedException(__('The product model is not available.'));

0 commit comments

Comments
 (0)