Skip to content

Commit

Permalink
Merge pull request #6714 from morozov/identifier-to-sql-casing
Browse files Browse the repository at this point in the history
Rename Identifier::toSql() to Identifier::toSQL()
  • Loading branch information
morozov authored Jan 14, 2025
2 parents 4946758 + 1e08121 commit bc38074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Schema/Name/AbstractName.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(Identifier $firstIdentifier, Identifier ...$otherIde

public function toSQL(AbstractPlatform $platform): string
{
return $this->joinIdentifiers(static fn (Identifier $identifier): string => $identifier->toSql($platform));
return $this->joinIdentifiers(static fn (Identifier $identifier): string => $identifier->toSQL($platform));
}

public function toString(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Name/Identifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function isQuoted(): bool
return $this->isQuoted;
}

public function toSql(AbstractPlatform $platform): string
public function toSQL(AbstractPlatform $platform): string
{
if (! $this->isQuoted) {
$value = $platform->normalizeUnquotedIdentifier($this->value);
Expand Down

0 comments on commit bc38074

Please sign in to comment.