Skip to content

Commit

Permalink
Return with assignment
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 b6b461f commit 7b1b9df
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 @@ -168,8 +168,7 @@ public function getSQL(DriverInterface $driver = null, Params $params = null): s
$specification_sql = $this->getConditionalClauseSQL('specification', $driver, $params);
}

$this->sql = rtrim("{$join} {$table} {$specification_sql}");
return $this->sql;
return $this->sql = rtrim("{$join} {$table} {$specification_sql}");
}

protected function getName(): string
Expand Down

0 comments on commit 7b1b9df

Please sign in to comment.