diff --git a/phpBB/phpbb/db/doctrine/oracle_platform.php b/phpBB/phpbb/db/doctrine/oracle_platform.php index 7d9e4a7c28..7c011e6e77 100644 --- a/phpBB/phpbb/db/doctrine/oracle_platform.php +++ b/phpBB/phpbb/db/doctrine/oracle_platform.php @@ -154,7 +154,7 @@ class oracle_platform extends OraclePlatform */ private function get_doctrine_autoincrement_identifier_name(Identifier $table): string { - $identifierName = $this->add_doctrine_Suffix($table->getName(), '_AI_PK'); + $identifierName = $this->add_doctrine_suffix($table->getName(), '_AI_PK'); return $table->isQuoted() ? $this->quoteSingleIdentifier($identifierName) @@ -164,7 +164,7 @@ class oracle_platform extends OraclePlatform /** * @see OraclePlatform::addSuffix() */ - private function add_doctrine_Suffix(string $identifier, string $suffix): string + private function add_doctrine_suffix(string $identifier, string $suffix): string { $maxPossibleLengthWithoutSuffix = $this->getMaxIdentifierLength() - strlen($suffix); if (strlen($identifier) > $maxPossibleLengthWithoutSuffix) diff --git a/phpBB/phpbb/db/doctrine/sqlsrv_platform.php b/phpBB/phpbb/db/doctrine/sqlsrv_platform.php index aa7c9bc241..6de896466d 100644 --- a/phpBB/phpbb/db/doctrine/sqlsrv_platform.php +++ b/phpBB/phpbb/db/doctrine/sqlsrv_platform.php @@ -18,7 +18,7 @@ use Doctrine\DBAL\Schema\Identifier; use Doctrine\DBAL\Schema\TableDiff; /** - * Oracle specific schema restrictions for BC. + * SQLServer specific schema restrictions for BC. */ class sqlsrv_platform extends SQLServer2012Platform {