Fix is null condition

This commit is contained in:
Ilya Shaydullin 2018-05-07 17:12:21 +07:00
parent c7f114d90b
commit 06490cae8b

View File

@ -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);