From ced1afd3a1bafd89f8614038a08efa3365bd8f3d Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Fri, 10 May 2024 17:51:09 +0700 Subject: [PATCH] Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (#308) --- CHANGELOG.md | 1 + src/Schema.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 031ba323..846332f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Enh #293: Implement `SqlParser` and `ExpressionBuilder` driver classes (@Tigrov) - Chg #306: Remove parameter `$withColumn` from `Quoter::getTableNameParts()` method (@Tigrov) +- Chg #308: Replace call of `SchemaInterface::getRawTableName()` to `QuoterInterface::getRawTableName()` (@Tigrov) ## 1.2.0 March 21, 2024 diff --git a/src/Schema.php b/src/Schema.php index 109fb07a..5695c59e 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -907,7 +907,7 @@ private function loadTableConstraints(string $tableName, string $returnType): mi */ protected function getCacheKey(string $name): array { - return array_merge([self::class], $this->generateCacheKey(), [$this->getRawTableName($name)]); + return array_merge([self::class], $this->generateCacheKey(), [$this->db->getQuoter()->getRawTableName($name)]); } /**