From 90f7b153c518685da749deaab0b6604b2bac3e8e Mon Sep 17 00:00:00 2001 From: Victor Belorus Date: Thu, 4 Jan 2018 10:41:07 +0300 Subject: [PATCH] use ParserInterface in GraphController constructor instead of parser classes --- Controller/GraphController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) {