Skip to content

Commit 23ba36a

Browse files
committed
Avoid trim() call
1 parent 465d8d6 commit 23ba36a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TgDatabase/Criterion/QueryImpl.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,13 @@ public function getSelectClause() {
319319
foreach ($this->projections AS $p) {
320320
$sql[] = $p->toSqlString($this, $this);
321321
}
322-
$rc .= ' '.implode(', ', $sql);
322+
$rc .= implode(', ', $sql);
323323
} else if ($this->alias != NULL) {
324324
$rc .= $this->quoteName($this->alias).'.*';
325325
} else {
326326
$rc .= '*';
327327
}
328-
return trim($rc);
328+
return $rc;
329329
}
330330

331331
public function getFromClause() {

0 commit comments

Comments
 (0)