Skip to content

Commit

Permalink
use one line
Browse files Browse the repository at this point in the history
Signed-off-by: pine3ree <[email protected]>
  • Loading branch information
pine3ree committed Oct 19, 2023
1 parent 8a2c0d4 commit 8108da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Sql/Statement/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ private function getFromSQL(DriverInterface $driver, Params $params, bool $prett
}

if (!empty($this->alias)) {
$from = "{$from} {$driver->quoteAlias($this->alias)}";
$from = trim($from);
$from = trim("{$from} {$driver->quoteAlias($this->alias)}");
}

return "FROM {$from}";
Expand Down

0 comments on commit 8108da9

Please sign in to comment.