Skip to content


DDC-1694: Entity Generator uses wrong DataTypes for docBlocks #2341

doctrinebot opened this Issue · 1 comment

1 participant


Jira issue originally created by user rdohms:

When using the Doctrine\ORM\Tools\EntityGenerator, largely used by Symfony, the wrong data types are used in the docblocks. For example:

@param text $description

Text needs to be converted to "string" in this case. So there needs to be proper Doctrine Data Type to php type as well as the conversion to DBAL that is already done.

smallint => int
bigint => int
text => string
datetime => \DateTime,
datetimetz, => \DateTime


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.