diff --git a/Controller/GraphController.php b/Controller/GraphController.php index 5022e2bdd..a56e696d0 100644 --- a/Controller/GraphController.php +++ b/Controller/GraphController.php @@ -35,9 +35,9 @@ class GraphController private $graphQLBatchingMethod; public function __construct( - GraphQLRequest\BatchParser $batchParser, + GraphQLRequest\ParserInterface $batchParser, GraphQLRequest\Executor $requestExecutor, - GraphQLRequest\Parser $requestParser, + GraphQLRequest\ParserInterface $requestParser, $shouldHandleCORS, $graphQLBatchingMethod ) {