Skip to content

Commit c77a8f5

Browse files
authored
Conform to Codestyle Guidelines
* Update Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists() to conform to code style guidelines (multi-line function calls, line length)
1 parent 2d67fdd commit c77a8f5

File tree

1 file changed

+2
-1
lines changed
  • lib/internal/Magento/Framework/DB/Adapter/Pdo

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,8 @@ public function isTableExists($tableName, $schemaName = null)
26702670
$fromDbName = $this->quote($schemaName);
26712671
}
26722672

2673-
$sql = sprintf('SELECT COUNT(1) AS tbl_exists FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = %s AND TABLE_SCHEMA = %s',
2673+
$sql = sprintf(
2674+
'SELECT COUNT(1) AS tbl_exists FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = %s AND TABLE_SCHEMA = %s',
26742675
$this->quote($tableName),
26752676
$fromDbName
26762677
);

0 commit comments

Comments
 (0)