Skip to content

Commit

Permalink
Merge pull request #266 from vbelorus/graphcontroller-constructor-fix
Browse files Browse the repository at this point in the history
use ParserInterface in GraphController constructor instead of parser classes
  • Loading branch information
mcg-web authored Jan 4, 2018
2 parents 2b5fa12 + 90f7b15 commit c96e89b
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 c96e89b

Please sign in to comment.