File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/GraphQl/Controller Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \App \FrontControllerInterface ;
11
11
use Magento \Framework \App \Request \Http ;
12
12
use Magento \Framework \App \RequestInterface ;
13
+ use Magento \Framework \App \ResponseInterface ;
13
14
use Magento \Framework \GraphQl \Exception \ExceptionFormatter ;
14
15
use Magento \Framework \GraphQl \Query \QueryProcessor ;
15
16
use Magento \Framework \GraphQl \Query \Resolver \ContextInterface ;
@@ -121,9 +122,9 @@ public function __construct(
121
122
* Handle GraphQL request
122
123
*
123
124
* @param RequestInterface $request
124
- * @return Response
125
+ * @return ResponseInterface
125
126
*/
126
- public function dispatch (RequestInterface $ request ) : HttpResponse
127
+ public function dispatch (RequestInterface $ request ) : ResponseInterface
127
128
{
128
129
$ statusCode = 200 ;
129
130
$ jsonResult = $ this ->jsonFactory ->create ();
You can’t perform that action at this time.
0 commit comments