[3.4] Minor fixes

This commit is contained in:
Thomas Calvet 2020-03-13 14:33:39 +01:00
parent e29cdb7076
commit 019350022c
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ class MainConfiguration implements ConfigurationInterface
->scalarNode('provider')->end()
->scalarNode('parameter')->defaultValue('_switch_user')->end()
->scalarNode('role')->defaultValue('ROLE_ALLOWED_TO_SWITCH')->end()
->booleanNode('stateless')->defaultValue(false)->end()
->booleanNode('stateless')->defaultFalse()->end()
->end()
->end()
;

View File

@ -23,7 +23,7 @@ use Symfony\Component\Security\Core\Role\Role;
*
* Regardless of how your users are loaded or where they come from (a database,
* configuration, web service, etc.), you will have a class that implements
* this interface. Objects that implement this interface are created and
* this interface. Objects that implement this interface are created and
* loaded by different objects that implement UserProviderInterface.
*
* @see UserProviderInterface