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 1111use Magento \Framework \Exception \LocalizedException ;
1212use Magento \Framework \GraphQl \Config \Element \Field ;
1313use Magento \Framework \GraphQl \Exception \GraphQlAuthorizationException ;
14+ use Magento \Framework \GraphQl \Query \Resolver \ContextInterface ;
1415use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
1516use Magento \GraphQl \Helper \Error \AggregateExceptionMessageFormatter ;
1617
@@ -27,17 +28,19 @@ public function __construct(
2728 }
2829
2930 /**
31+ * Process exception thrown by ordering process
32+ *
3033 * @param LocalizedException $exception
3134 * @param Field $field
32- * @param $context
35+ * @param ContextInterface $context
3336 * @param ResolveInfo $info
3437 * @throws GraphQlAuthorizationException
3538 * @throws QuoteException
3639 */
3740 public function execute (
3841 LocalizedException $ exception ,
3942 Field $ field ,
40- $ context ,
43+ ContextInterface $ context ,
4144 ResolveInfo $ info
4245 ): void {
4346 if ($ exception instanceof AuthorizationException) {
You can’t perform that action at this time.
0 commit comments