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:
parent
a663a6c394
commit
59ca29232a
@ -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)
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user