From 3d8c6ba02c78cdfafbb0e1cb313db89563ae634e Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 24 Aug 2017 18:11:37 +0300 Subject: [PATCH] Fixed Processor::__construct parameter Type error: Argument 1 passed to Youshido\GraphQL\Execution\Processor::__construct() must implement interface Youshido\GraphQL\Execution\Context\ExecutionContextInterface, instance of AppBundle\GraphQL\Schema given, called in /home/big_shark/work/aa_rebuild/vendor/youshido/graphql-bundle/Execution/Processor.php on line 45 --- Execution/Processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Execution/Processor.php b/Execution/Processor.php index 24977d0..78d27f0 100644 --- a/Execution/Processor.php +++ b/Execution/Processor.php @@ -42,7 +42,7 @@ public function __construct(ExecutionContextInterface $executionContext, EventDi $this->executionContext = $executionContext; $this->eventDispatcher = $eventDispatcher; - parent::__construct($executionContext->getSchema()); + parent::__construct($executionContext); } /**