1
0
mirror of synced 2025-02-20 22:23:14 +03:00

#1178 - adding note about ClassMetadataInfo#getTypeOfColumn() being unreliable/dangerous

This commit is contained in:
Marco Pivetta 2015-01-17 04:08:12 +01:00
parent 41900dca76
commit 1e606d1ed3

View File

@ -1998,7 +1998,10 @@ class ClassMetadataInfo implements ClassMetadata
*
* @param string $columnName
*
* @return \Doctrine\DBAL\Types\Type
* @return \Doctrine\DBAL\Types\Type|string|null
*
* @deprecated this method is bogous and unreliable, since it cannot resolve the type of a column that is
* derived by a referenced field on a different entity.
*/
public function getTypeOfColumn($columnName)
{