Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 05c1c8a

Browse files
author
Valeriy Nayda
committed
GraphQL-202: Products: Email to a Friend
-- fix static tests
1 parent b6d9ade commit 05c1c8a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/SendFriendGraphQl/Model/Resolver/SendEmailToFriend.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
7373

7474
if ($sendFriend->getMaxSendsToFriend() && $sendFriend->isExceedLimit()) {
7575
throw new GraphQlInputException(
76-
__('You can\'t send messages more than %1 times an hour.',
77-
$sendFriend->getMaxSendsToFriend()
78-
));
76+
__('You can\'t send messages more than %1 times an hour.', $sendFriend->getMaxSendsToFriend())
77+
);
7978
}
8079

8180
$product = $this->getProduct($args['input']['product_id']);

0 commit comments

Comments
 (0)