Skip to content

Commit 54b142c

Browse files
committed
Use single quotes for string literal
1 parent 47219b9 commit 54b142c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Driver/MySql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getPrimaryKey($tableName)
3535
if (!isset($this->primaryKeys[$tableName])) {
3636
$primaryKey = [];
3737
$stmt = $this->getDbh()->query(
38-
'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . ' WHERE Key_name = "PRIMARY"'
38+
'SHOW KEYS FROM ' . $this->getQuotedName($tableName) . " WHERE Key_name = 'PRIMARY'"
3939
);
4040
$columns = $stmt->fetchAll(\PDO::FETCH_ASSOC);
4141

0 commit comments

Comments
 (0)