Doctrine cache generator doesn't report the nullable option : check the following print screen :

public function getPhone(): ?string
become
public function getPhone(): string
which is a problem.
Thanks for taking care of that, and thanks for the great job done with doctrine !
Make sure that you re-generate the proxies once you upgraded to doctrine/common 2.7.*. This was already fixed ;-)
Hey, thanks for the answer. I use doctrine with symfony but I can't see a doctrine/common in my composer.json. Is it this that I should change ?
"doctrine/orm" : "^2.5"
Just run a composer update and check your composer.lock for the installed doctrine/common version.
I don't have anything updated for now, based on composer.lock I stick with "version": "v2.6.2".
I guess I just should wait.
Please do check the version you have installed, before reporting an issue ;-)
Yes sorry.