diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index 702e033..97d3ae3 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -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);