Skip to content

Commit f7d4499

Browse files
committed
style: do cs fix.
1 parent 6a29ef3 commit f7d4499

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

system/Database/SQLSRV/Builder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private function getFullName(string $table): string
290290
}
291291

292292
if ($this->db->escapeChar === '"') {
293-
if (str_contains($table, '.') && !str_starts_with($table, '.') && !str_ends_with($table, '.')) {
293+
if (str_contains($table, '.') && ! str_starts_with($table, '.') && ! str_ends_with($table, '.')) {
294294
$dbInfo = explode('.', $table);
295295
$database = $this->db->getDatabase();
296296
$table = $dbInfo[0];
@@ -300,9 +300,8 @@ private function getFullName(string $table): string
300300
$schema = str_replace('"', '', $dbInfo[1]);
301301
$tableName = str_replace('"', '', $dbInfo[2]);
302302

303-
return '"' . $database . '"."' . $schema . '"."' . str_replace('"', '', $tableName) . '"' . $alias;
303+
return '"' . $database . '"."' . $schema . '"."' . str_replace('"', '', $tableName) . '"' . $alias;
304304
}
305-
306305
}
307306

308307
return '"' . $this->db->getDatabase() . '"."' . $this->db->schema . '"."' . str_replace('"', '', $table) . '"' . $alias;

0 commit comments

Comments
 (0)