Skip to content

Commit 298b723

Browse files
committed
GraphQl-299: Do not rely on global state in resolvers
1 parent 749c563 commit 298b723

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/code/Magento/CustomerGraphQl/Model/Customer/UpdateCustomerAccount.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public function __construct(
7474
* @throws GraphQlAlreadyExistsException
7575
* @throws GraphQlAuthenticationException
7676
* @throws GraphQlInputException
77-
* @throws \Magento\Framework\GraphQl\Exception\GraphQlNoSuchEntityException
7877
*/
7978
public function execute(CustomerInterface $customer, array $data, int $storeId): void
8079
{

app/code/Magento/UrlRewriteGraphQl/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"require": {
66
"php": "~7.1.3||~7.2.0",
77
"magento/framework": "*",
8-
"magento/module-url-rewrite": "*",
9-
"magento/module-store": "*"
8+
"magento/module-url-rewrite": "*"
109
},
1110
"suggest": {
1211
"magento/module-graph-ql": "*"

0 commit comments

Comments
 (0)