Add undefined property $promises

This commit is contained in:
Jeremiah VALERIE 2018-08-23 09:10:10 +02:00
parent 3da424dacf
commit f7132eb34f
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244

View File

@ -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,