Skip to content

Commit

Permalink
Return with assign
Browse files Browse the repository at this point in the history
Signed-off-by: pine3ree <pine3ree@gmail.com>
  • Loading branch information
pine3ree committed Oct 13, 2023
1 parent 7b1b9df commit 5dfd138
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Sql/Clause/Join.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ public function getSQL(DriverInterface $driver = null, Params $params = null): s
$join = $this->getName();

if (empty($this->specification)) {
$this->sql = "{$join} {$table}";
return $this->sql;
return $this->sql = "{$join} {$table}";
}

$params = $params ?? ($this->params = new Params());
Expand Down

0 comments on commit 5dfd138

Please sign in to comment.