mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-16 20:33:14 +03:00
Fix is null condition
(cherry picked from commit 06490ca)
This commit is contained in:
parent
63b04df6ef
commit
78e2862e3b
@ -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…
x
Reference in New Issue
Block a user