We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Connection::quoteSingleIdentifier
quoteIdentifier
1 parent 9a6d778 commit 5be312dCopy full SHA for 5be312d
1 file changed
Storage/DoctrineStorage.php
@@ -52,8 +52,8 @@ public function __construct(Connection $conn, StorageKeyGeneratorInterface $stor
52
$this->storageKeyGenerator = $storageKeyGenerator;
53
// TODO just call `createSchemaManager()` as soon as DBAL >= 3.1 is required
54
$this->schemaManager = \method_exists($this->conn, 'createSchemaManager') ? $this->conn->createSchemaManager() : $this->conn->getSchemaManager();
55
- $this->keyColumn = $this->conn->quoteIdentifier(self::KEY_COLUMN);
56
- $this->valueColumn = $this->conn->quoteIdentifier(self::VALUE_COLUMN);
+ $this->keyColumn = $this->conn->quoteSingleIdentifier(self::KEY_COLUMN);
+ $this->valueColumn = $this->conn->quoteSingleIdentifier(self::VALUE_COLUMN);
57
}
58
59
/**
0 commit comments