Skip to content

Commit 8108da9

Browse files
committed
use one line
Signed-off-by: pine3ree <[email protected]>
1 parent 8a2c0d4 commit 8108da9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Sql/Statement/Select.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,7 @@ private function getFromSQL(DriverInterface $driver, Params $params, bool $prett
572572
}
573573

574574
if (!empty($this->alias)) {
575-
$from = "{$from} {$driver->quoteAlias($this->alias)}";
576-
$from = trim($from);
575+
$from = trim("{$from} {$driver->quoteAlias($this->alias)}");
577576
}
578577

579578
return "FROM {$from}";

0 commit comments

Comments
 (0)