Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rivaros committed May 5, 2012
1 parent 46061fe commit ab215e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
Expand Up @@ -620,7 +620,7 @@ public function getSmallIntTypeDeclarationSQL(array $field)
}

/**
* Decleration for a UNIQUEIDENTIFIER (GUID) field in SQL Server
* Decleration for a UUID field in PostgreSQL
*
* @param array $field
* @return string
Expand Down
13 changes: 0 additions & 13 deletions lib/Doctrine/DBAL/Types/GuidType.php
Expand Up @@ -38,18 +38,5 @@ public function getName()
{
return Type::GUID;
}

/**
* Converts a value from its database representation to its PHP representation
* of this type.
*
* @param mixed $value The value to convert.
* @param AbstractPlatform $platform The currently used database platform.
* @return mixed The PHP representation of the value.
*/
public function convertToPHPValue($value, AbstractPlatform $platform)
{
return (null === $value) ? null : str_replace("-","", $value);
}
}

0 comments on commit ab215e7

Please sign in to comment.