Skip to content

Commit 38df004

Browse files
authored
Replace call of SchemaInterface::getRawTableName() to QuoterInterface::getRawTableName() (#339)
1 parent abd6f2b commit 38df004

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Enh #320: Minor refactoring of `DDLQueryBuilder::getColumnDefinition()` method (@Tigrov)
66
- Bug #320: Change visibility of `DDLQueryBuilder::getColumnDefinition()` method to `private` (@Tigrov)
77
- Enh #321: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov)
8+
- Chg #339: Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (@Tigrov)
89

910
## 1.2.0 March 21, 2024
1011

src/Schema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ protected function findViewNames(string $schema = ''): array
415415
*/
416416
protected function getCacheKey(string $name): array
417417
{
418-
return array_merge([self::class], $this->generateCacheKey(), [$this->getRawTableName($name)]);
418+
return array_merge([self::class], $this->generateCacheKey(), [$this->db->getQuoter()->getRawTableName($name)]);
419419
}
420420

421421
/**

0 commit comments

Comments
 (0)