Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of fulopattila122:
I was using the EntityGenerator to create class files from yaml when I realized php warnings like PHP Warning: Illegal string offset 'name' on the console. Warnings have also been emitted for the type and length fields.
PHP Warning: Illegal string offset 'name'
The generated php file also contained a wrong annotation for the discriminator column:
* @ORM\DiscriminatorColumn(name="s", type="s", length=s)
The single change in this pull request resolves the problem, so even the warnings disappear and the generated file contains the proper annotation.
An example yaml:
Comment created by @doctrinebot:
A related Github Pull-Request [GH-770] was closed:
Issue was closed with resolution "Fixed"