From f7132eb34f43e124b6dd45a20bac6f96f531ccd8 Mon Sep 17 00:00:00 2001 From: Jeremiah VALERIE Date: Thu, 23 Aug 2018 09:10:10 +0200 Subject: [PATCH] Add undefined property `$promises` --- src/Executor/ExecutionContext.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Executor/ExecutionContext.php b/src/Executor/ExecutionContext.php index f31a444..0a73b1b 100644 --- a/src/Executor/ExecutionContext.php +++ b/src/Executor/ExecutionContext.php @@ -2,6 +2,7 @@ namespace GraphQL\Executor; use GraphQL\Error\Error; +use GraphQL\Executor\Promise\PromiseAdapter; use GraphQL\Language\AST\FragmentDefinitionNode; use GraphQL\Language\AST\OperationDefinitionNode; use GraphQL\Type\Schema; @@ -56,6 +57,11 @@ class ExecutionContext */ public $errors; + /** + * @var PromiseAdapter + */ + public $promises; + public function __construct( $schema, $fragments,