Skip to content

Commit 397dc03

Browse files
committed
Pluggable executor implementations; new faster executor using coroutines
1 parent 392b567 commit 397dc03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+5145
-2426
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
composer.phar
1+
.phpcs-cache
22
composer.lock
3+
composer.phar
34
phpcs.xml
45
vendor/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"config": {
2121
"preferred-install": "dist",
2222
"sort-packages": true
23-
},
23+
},
2424
"autoload": {
2525
"psr-4": {
2626
"GraphQL\\": "src/"

src/Executor/ExecutionResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ExecutionResult implements \JsonSerializable
5757
* @param Error[] $errors
5858
* @param mixed[] $extensions
5959
*/
60-
public function __construct(?array $data = null, array $errors = [], array $extensions = [])
60+
public function __construct($data = null, array $errors = [], array $extensions = [])
6161
{
6262
$this->data = $data;
6363
$this->errors = $errors;

0 commit comments

Comments
 (0)