Skip to content

Commit 7f2e8bd

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/GraphQl/Model/Query/Resolver/Context.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function __construct(
7474
}
7575

7676
/**
77-
* {@inheritdoc}
77+
* @inheritdoc
7878
*
7979
* @return \Magento\Framework\GraphQl\Query\Resolver\ContextExtensionInterface
8080
*/
@@ -84,7 +84,7 @@ public function getExtensionAttributes() : \Magento\Framework\GraphQl\Query\Reso
8484
}
8585

8686
/**
87-
* {@inheritdoc}
87+
* @inheritdoc
8888
*
8989
* @param \Magento\Framework\GraphQl\Query\Resolver\ContextExtensionInterface $extensionAttributes
9090
* @return ContextInterface

app/code/Magento/GraphQl/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"php": "~7.1.3||~7.2.0",
77
"magento/module-authorization": "*",
88
"magento/module-eav": "*",
9+
"magento/module-store": "*",
910
"magento/framework": "*"
1011
},
1112
"suggest": {

0 commit comments

Comments
 (0)