hmm at this point it's better to replace the whole switch to 

```php
$mission->setStatus($missionStatus);
$mission->setFinished(true);
$this->dm->persist($mission);

$this->dm->flush()
```