Mautic broken after update

I’ve updated Mautic to the latest version with app/console mautic:update:apply

Now Mautic is broken, I cannot run any commands anymore. It says’"

PHP Fatal error: Cannot use Mautic\LeadBundle\Entity\DoNotContact as DoNotContact because the name is already in use in /home/mautic/mautic.sibben.nl/html/app/bundles/LeadBundle/Model/LeadModel.php on line 36

https://github.com/mautic/mautic/issues/6386