Skip to content

Commit 7ff0c26

Browse files
committed
Fixed build errors
1 parent f5ae9ee commit 7ff0c26

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

components/lock.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ object) and ``isExpired()`` (which returns a boolean).
169169
The Owner of The Lock
170170
---------------------
171171

172-
Locks that are acquired for the first time are owned by the ``Lock`` instance that acquired
172+
Locks that are acquired for the first time are owned [1]_ by the ``Lock`` instance that acquired
173173
it. If you need to check whether the current ``Lock`` instance is (still) the owner of
174174
a lock, you can use the ``isAcquired()`` method::
175175

@@ -206,6 +206,11 @@ above), it is possible for an instance to lose the lock it acquired automaticall
206206
you have to use ``acquire()`` for this. The ``isAcquired()`` method is used to check
207207
if the lock has been acquired by the **current process** only!
208208

209+
.. [1] Technically, the true owners of the lock are the ones that share the same instance of ``Key``,
210+
not ``Lock``. But from a user perspective, ``Key`` is internal and you will likely only be working
211+
with the ``Lock`` instance so it's easier to think of the ``Lock`` instance as being the one that
212+
is the owner of the lock.
213+
209214
Available Stores
210215
----------------
211216

form/form_customization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ array).
341341

342342
.. code-block:: html+twig
343343

344-
<option {% if choice is selectedchoice(value) %}selected="selected"{% endif %} ...>
344+
<option {% if choice is selectedchoice(value) %}selected="selected"{% endif %}>
345345

346346
.. _form-twig-rootform:
347347

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ up manually by calling the ``messenger:setup-transports`` command.
910910
.. code-block:: xml
911911
912912
# config/packages/doctrine.xml
913-
<doctrine:dbal schema-filter="~^(?!messenger_messages)~" .../>
913+
<doctrine:dbal schema-filter="~^(?!messenger_messages)~"/>
914914
915915
.. code-block:: php
916916

session/database.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ configure these values with the second argument passed to the
546546
Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler:
547547
arguments:
548548
- '@doctrine_mongodb.odm.default_connection'
549-
- { id_field: '_guid', `expiry_field`: `eol` }
549+
- { id_field: '_guid', 'expiry_field': 'eol' }
550550
551551
.. code-block:: xml
552552

0 commit comments

Comments
 (0)