Skip to content

Commit 8acd2fd

Browse files
committed
Misc. fixes
1 parent 6a5957c commit 8acd2fd

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ configurable with the ``verify_peer`` option. Although it's not recommended to
247247
disable this verification for security reasons, it can be useful while developing
248248
the application or when using a self-signed certificate::
249249

250-
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0'
250+
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0';
251251

252252
.. versionadded:: 5.1
253253

reference/dic_tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ is restarted):
316316
317317
$container
318318
->register(SomeService::class)
319-
->addTag('container.preload', ['class' => SomeClass::class)
320-
->addTag('container.preload', ['class' => OtherClass::class)
319+
->addTag('container.preload', ['class' => SomeClass::class])
320+
->addTag('container.preload', ['class' => OtherClass::class])
321321
// ...
322322
;
323323

security.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ important section is ``firewalls``:
368368
<firewall name="main"
369369
anonymous="true"
370370
lazy="true"/>
371-
</firewall>
372371
</config>
373372
</srv:container>
374373

security/access_control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Take the following ``access_control`` entries as an example:
6565
https://symfony.com/schema/dic/security/security-1.0.xsd">
6666
6767
<srv:parameters>
68-
<srv:parameter key="env(TRUSTED_IPS)">10.0.0.1, 10.0.0.2</parameter>
68+
<srv:parameter key="env(TRUSTED_IPS)">10.0.0.1, 10.0.0.2</srv:parameter>
6969
</srv:parameters>
7070
7171
<config>

security/experimental_authenticators.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ You can configure this using the ``entry_point`` setting:
226226
<!-- allow authentication using a form or HTTP basic -->
227227
<form-login/>
228228
<http-basic/>
229+
</firewall>
229230
</config>
230231
</srv:container>
231232

session/database.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ and ``RedisProxy``:
9090
arguments:
9191
- '@Redis'
9292
# you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
93-
# which define the prefix to use for the keys to avoid collision on the Redis server
93+
# which define the prefix to use for the keys to avoid collision on the Redis server
9494
# and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
9595
# - { 'prefix' => 'my_prefix', 'ttl' => 600 }
9696
@@ -101,7 +101,7 @@ and ``RedisProxy``:
101101
<service id="Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler">
102102
<argument type="service" id="Redis"/>
103103
<!-- you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
104-
which define the prefix to use for the keys to avoid collision on the Redis server
104+
which define the prefix to use for the keys to avoid collision on the Redis server
105105
and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
106106
<argument type="collection">
107107
<argument key="prefix">my_prefix</argument>
@@ -119,7 +119,7 @@ and ``RedisProxy``:
119119
->addArgument(
120120
new Reference('Redis'),
121121
// you can optionally pass an array of options. The only options are 'prefix' and 'ttl',
122-
// which define the prefix to use for the keys to avoid collision on the Redis server
122+
// which define the prefix to use for the keys to avoid collision on the Redis server
123123
// and the expiration time for any given entry (in seconds), defaults are 'sf_s' and null:
124124
// ['prefix' => 'my_prefix', 'ttl' => 600],
125125
);
@@ -601,7 +601,7 @@ configure these values with the second argument passed to the
601601
$services->set(MongoDbSessionHandler::class)
602602
->args([
603603
service('doctrine_mongodb.odm.default_connection'),
604-
['id_field' => '_guid', 'expiry_field' => 'eol'],,
604+
['id_field' => '_guid', 'expiry_field' => 'eol'],
605605
])
606606
;
607607
};

0 commit comments

Comments
 (0)