Skip to content

Commit 5be312d

Browse files
committed
Use method Connection::quoteSingleIdentifier instead of quoteIdentifier as the latter is deprecated
1 parent 9a6d778 commit 5be312d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Storage/DoctrineStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public function __construct(Connection $conn, StorageKeyGeneratorInterface $stor
5252
$this->storageKeyGenerator = $storageKeyGenerator;
5353
// TODO just call `createSchemaManager()` as soon as DBAL >= 3.1 is required
5454
$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);
55+
$this->keyColumn = $this->conn->quoteSingleIdentifier(self::KEY_COLUMN);
56+
$this->valueColumn = $this->conn->quoteSingleIdentifier(self::VALUE_COLUMN);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)