Skip to content

Commit 4d89cf9

Browse files
committed
StyleCI
1 parent bbb2de6 commit 4d89cf9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Query/Grammars/MySqlGrammar.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ protected function compileFrom(Builder $query, $table)
2020
// Check for cross database query to attach database name
2121
if (strpos($table, '<-->') !== false) {
2222
list($table, $database) = explode('<-->', $table);
23+
2324
return 'from '.$this->wrap($database).'.'.$this->wrapTable($table);
2425
}
26+
2527
return 'from '.$this->wrapTable($table);
2628
}
2729
}

src/Query/Grammars/PostgresGrammar.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ protected function compileFrom(Builder $query, $table)
2020
// Check for cross database query to attach database name
2121
if (strpos($table, '<-->') !== false) {
2222
list($table, $database) = explode('<-->', $table);
23+
2324
return 'from '.$this->wrap($database).'.'.$this->wrapTable($table);
2425
}
26+
2527
return 'from '.$this->wrapTable($table);
2628
}
2729
}

0 commit comments

Comments
 (0)