diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index 655c6fc..34a05ac 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);