The first argument of the Closure must be typehinted as `Symfony\Component\OptionsResolver\Options`, otherwise it is considered as the value.