Skip to content

Commit

Permalink
use ParserInterface in GraphController constructor instead of parser …
Browse files Browse the repository at this point in the history
…classes
  • Loading branch information
Victor Belorus committed Jan 4, 2018
1 parent 2b5fa12 commit 90f7b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/GraphController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down

0 comments on commit 90f7b15

Please sign in to comment.