Yes I know. I'm just an alternative approach could be something like
```
$resolver->setOptional($resolver->getOptions());
$resolver->resolve(...)
```