Commit 7a657fa8 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-338' into 2.3

parents a880baf3 29f29d81
...@@ -237,7 +237,7 @@ abstract class AbstractPlatform ...@@ -237,7 +237,7 @@ abstract class AbstractPlatform
* *
* @return string * @return string
*/ */
public function getGuidTypeDeclartionSQL(array $field) public function getGuidTypeDeclarationSQL(array $field)
{ {
return $this->getVarcharTypeDeclarationSQL($field); return $this->getVarcharTypeDeclarationSQL($field);
} }
......
...@@ -578,7 +578,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -578,7 +578,7 @@ class PostgreSqlPlatform extends AbstractPlatform
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public function getGuidTypeDeclartionSQL(array $field) public function getGuidTypeDeclarationSQL(array $field)
{ {
return 'UUID'; return 'UUID';
} }
......
...@@ -605,7 +605,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -605,7 +605,7 @@ class SQLServerPlatform extends AbstractPlatform
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public function getGuidTypeDeclartionSQL(array $field) public function getGuidTypeDeclarationSQL(array $field)
{ {
return 'UNIQUEIDENTIFIER'; return 'UNIQUEIDENTIFIER';
} }
......
...@@ -31,7 +31,7 @@ class GuidType extends StringType ...@@ -31,7 +31,7 @@ class GuidType extends StringType
{ {
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{ {
return $platform->getGuidTypeDeclartionSQL($fieldDeclaration); return $platform->getGuidTypeDeclarationSQL($fieldDeclaration);
} }
public function getName() public function getName()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment