mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 22:36:02 +03:00
parent
63b04df6ef
commit
78e2862e3b
@ -311,7 +311,7 @@ class Executor
|
|||||||
return null;
|
return null;
|
||||||
})
|
})
|
||||||
->then(function ($data) {
|
->then(function ($data) {
|
||||||
if ($data === null){
|
if ($data !== null){
|
||||||
$data = (array) $data;
|
$data = (array) $data;
|
||||||
}
|
}
|
||||||
return new ExecutionResult($data, $this->exeContext->errors);
|
return new ExecutionResult($data, $this->exeContext->errors);
|
||||||
|
Loading…
Reference in New Issue
Block a user