mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +03:00
Fix is null condition
This commit is contained in:
parent
c7f114d90b
commit
06490cae8b
@ -311,7 +311,7 @@ class Executor
|
||||
return null;
|
||||
})
|
||||
->then(function ($data) {
|
||||
if ($data === null){
|
||||
if ($data !== null){
|
||||
$data = (array) $data;
|
||||
}
|
||||
return new ExecutionResult($data, $this->exeContext->errors);
|
||||
|
Loading…
Reference in New Issue
Block a user