Skip to content

Commit

Permalink
Merge pull request #12990 from rhynodesigns/patch-1
Browse files Browse the repository at this point in the history
[5.2] Remove duplicate 'just'
  • Loading branch information
taylorotwell committed Apr 3, 2016
2 parents e3d644e + 4ef3588 commit 4000d14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Query/Grammars/Grammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ protected function compileJoins(Builder $query, $joins)

$type = $join->type;

// Cross joins generate a cartesian product between the first table and the joined
// table. Since they don't expect any "on" clauses to perform the join, we just
// just append the SQL statement and jump to the next iteration of this loop.
// Cross joins generate a cartesian product between the first table and the
// joined table. Since they don't expect any "on" clauses to perform the
// join, we append the SQL and jump to the next iteration of the loop.
if ($type === 'cross') {
$sql[] = "cross join $table";

Expand Down

0 comments on commit 4000d14

Please sign in to comment.