From 04dd977843673826d3fcaa807451bc143709bb74 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 18 Nov 2014 16:21:23 +0300 Subject: [PATCH] return fix --- Query.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Query.php b/Query.php index b73ff79..eaf3299 100644 --- a/Query.php +++ b/Query.php @@ -551,11 +551,7 @@ class Query extends Component implements QueryInterface $names = ''; foreach ($columns as $name => $column) { - if (is_int($name)) { - $names .= $column . ', '; - } else { - $names .= "\"$name\": $this->from.$column, "; - } + $names .= "\"$name\": $this->from.$column, "; } return 'RETURN {' . trim($names, ', ') . '}';