Skip to content

Commit 0c5fe69

Browse files
committed
Minor fixes after review
1 parent 0055c99 commit 0c5fe69

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

session.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ a Symfony service for the connection to the Redis server:
513513
# uncomment the following if your Redis server requires a password
514514
# - auth:
515515
# - '%env(REDIS_PASSWORD)%'
516-
516+
517517
# uncomment the following if your Redis server requires a user and a password (when user is not default)
518518
# - auth:
519519
# - ['%env(REDIS_USER)%','%env(REDIS_PASSWORD)%']
@@ -677,7 +677,7 @@ To use it, first register a new handler service with your database credentials:
677677
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
678678
679679
<services>
680-
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
680+
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler">
681681
<argument>%env(DATABASE_URL)%</argument>
682682
683683
<!-- you can also use PDO configuration, but requires passing two arguments: -->
@@ -697,8 +697,8 @@ To use it, first register a new handler service with your database credentials:
697697
698698
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
699699
700-
return static function (ContainerConfigurator $container) {
701-
$services = $configurator->services();
700+
return static function (ContainerConfigurator $containerConfiguratorConfigurator) {
701+
$services = $containerConfigurator->services();
702702
703703
$services->set(PdoSessionHandler::class)
704704
->args([
@@ -795,7 +795,7 @@ passed to the ``PdoSessionHandler`` service:
795795
https://symfony.com/schema/dic/services/services-1.0.xsd">
796796
797797
<services>
798-
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
798+
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler">
799799
<argument>%env(DATABASE_URL)%</argument>
800800
<argument type="collection">
801801
<argument key="db_table">customer_session</argument>
@@ -812,8 +812,8 @@ passed to the ``PdoSessionHandler`` service:
812812
813813
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
814814
815-
return static function (ContainerConfigurator $container) {
816-
$services = $configurator->services();
815+
return static function (ContainerConfigurator $containerConfiguratorConfigurator) {
816+
$services = $containerConfigurator->services();
817817
818818
$services->set(PdoSessionHandler::class)
819819
->args([
@@ -972,7 +972,7 @@ the MongoDB connection as argument:
972972
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
973973
974974
<services>
975-
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler" public="false">
975+
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler">
976976
<argument type="service">doctrine_mongodb.odm.default_connection</argument>
977977
</service>
978978
</services>
@@ -985,8 +985,8 @@ the MongoDB connection as argument:
985985
986986
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
987987
988-
return static function (ContainerConfigurator $container) {
989-
$services = $configurator->services();
988+
return static function (ContainerConfigurator $containerConfiguratorConfigurator) {
989+
$services = $containerConfigurator->services();
990990
991991
$services->set(MongoDbSessionHandler::class)
992992
->args([
@@ -1087,7 +1087,7 @@ configure these values with the second argument passed to the
10871087
https://symfony.com/schema/dic/services/services-1.0.xsd">
10881088
10891089
<services>
1090-
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler" public="false">
1090+
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler">
10911091
<argument type="service">doctrine_mongodb.odm.default_connection</argument>
10921092
<argument type="collection">
10931093
<argument key="id_field">_guid</argument>
@@ -1104,8 +1104,8 @@ configure these values with the second argument passed to the
11041104
11051105
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
11061106
1107-
return static function (ContainerConfigurator $container) {
1108-
$services = $configurator->services();
1107+
return static function (ContainerConfigurator $containerConfigurator) {
1108+
$services = $containerConfigurator->services();
11091109
11101110
$services->set(MongoDbSessionHandler::class)
11111111
->args([

0 commit comments

Comments
 (0)