diff options
Diffstat (limited to 'src/Utils/Query.php')
-rw-r--r-- | src/Utils/Query.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Utils/Query.php b/src/Utils/Query.php index 4a9ea01..6aff11d 100644 --- a/src/Utils/Query.php +++ b/src/Utils/Query.php @@ -51,7 +51,7 @@ class Query * @var array */ public static $FUNCTIONS = array( - 'SUM','AVG','STD','STDDEV','MIN','MAX','BIT_OR','BIT_AND' + 'SUM', 'AVG', 'STD', 'STDDEV', 'MIN', 'MAX', 'BIT_OR', 'BIT_AND' ); /** @@ -572,10 +572,10 @@ class Query } elseif (is_string($type)) { if ($clauses[$type] > $clauseIdx) { $firstClauseIdx = $clauseIdx + 1; - $lastClauseIdx = $clauses[$type] - 1 ; + $lastClauseIdx = $clauses[$type] - 1; } else { $firstClauseIdx = $clauses[$type] + 1; - $lastClauseIdx = $clauseIdx - 1 ; + $lastClauseIdx = $clauseIdx - 1; } } |