Skip to content

Commit 8384c85

Browse files
Merge remote-tracking branch 'origin/jconabree/PWA-2004-gql-contact-newsletter' into jconabree/PWA-2133-cart-qty-error-details
2 parents 4f2283b + 525bf3d commit 8384c85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ContactGraphQlPwa/Model/Resolver/ContactUs.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ContactUs implements ResolverInterface
3838
* @param \Magento\Contact\Model\MailInterface $mail
3939
* @param \Magento\Contact\Model\ConfigInterface $contactConfig
4040
* @param \Psr\Log\LoggerInterface $logger
41+
* @param \Magento\Framework\Validator\EmailAddress $emailValidator
4142
*/
4243
public function __construct(
4344
MailInterface $mail,
@@ -56,7 +57,7 @@ public function __construct(
5657
*/
5758
public function resolve(
5859
Field $field,
59-
$context,
60+
$context,
6061
ResolveInfo $info,
6162
array $value = null,
6263
array $args = null
@@ -87,6 +88,8 @@ public function resolve(
8788
}
8889

8990
/**
91+
* Get default values map
92+
*
9093
* @return string[]
9194
*/
9295
public function getDefaultValues(): array

0 commit comments

Comments
 (0)