diff --git a/src/Schema/Quoter.php b/src/Schema/Quoter.php index 1c130a9d6..7ec65b4eb 100644 --- a/src/Schema/Quoter.php +++ b/src/Schema/Quoter.php @@ -99,7 +99,7 @@ public function getTableNameParts(string $name): array { $parts = array_slice(explode('.', $name), -2, 2); - return array_map($this->unquoteSimpleTableName(...), $parts); + return array_map([$this, 'unquoteSimpleTableName'], $parts); } public function ensureNameQuoted(string $name): string