File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/QuoteGraphQl/Model Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Framework \Exception \LocalizedException ;
12
12
use Magento \Framework \GraphQl \Config \Element \Field ;
13
13
use Magento \Framework \GraphQl \Exception \GraphQlAuthorizationException ;
14
+ use Magento \Framework \GraphQl \Query \Resolver \ContextInterface ;
14
15
use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
15
16
use Magento \GraphQl \Helper \Error \AggregateExceptionMessageFormatter ;
16
17
@@ -27,17 +28,19 @@ public function __construct(
27
28
}
28
29
29
30
/**
31
+ * Process exception thrown by ordering process
32
+ *
30
33
* @param LocalizedException $exception
31
34
* @param Field $field
32
- * @param $context
35
+ * @param ContextInterface $context
33
36
* @param ResolveInfo $info
34
37
* @throws GraphQlAuthorizationException
35
38
* @throws QuoteException
36
39
*/
37
40
public function execute (
38
41
LocalizedException $ exception ,
39
42
Field $ field ,
40
- $ context ,
43
+ ContextInterface $ context ,
41
44
ResolveInfo $ info
42
45
): void {
43
46
if ($ exception instanceof AuthorizationException) {
You can’t perform that action at this time.
0 commit comments