Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 4, 2020
1 parent 200fcdb commit de1d159
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Database/Query/Grammars/SqlServerGrammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,7 @@ public function compileExists(Builder $query)
*/
public function compileInsertGetId(Builder $query, $values, $sequence)
{
$sql = $this->compileInsert($query, $values);

return 'set nocount on;'.$sql.';select scope_identity() as '.$this->wrap($sequence ?: 'id');
return 'set nocount on;'.$this->compileInsert($query, $values).';select scope_identity() as '.$this->wrap($sequence ?: 'id');
}

/**
Expand Down

0 comments on commit de1d159

Please sign in to comment.