1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-14 03:25:37 +02:00

[ticket/16741] Fix coding style issues

PHPBB3-16741
This commit is contained in:
Máté Bartus 2021-12-05 21:35:34 +01:00
parent a663a6c394
commit 59ca29232a
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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
{