Skip to content

Commit 990b413

Browse files
committed
Minor formatting tweaks
1 parent af8c0bf commit 990b413

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

components/lock.rst

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ MongoDB Connection String:
473473
PdoStore
474474
~~~~~~~~
475475

476-
The PdoStore saves locks in an SQL database. It is identical to DoctrineDbalStore but requires
477-
a `PDO`_ connection or a `Data Source Name (DSN)`_. This store does not
478-
support blocking, and expects a TTL to avoid stalled locks::
476+
The PdoStore saves locks in an SQL database. It is identical to DoctrineDbalStore
477+
but requires a `PDO`_ connection or a `Data Source Name (DSN)`_. This store does
478+
not support blocking, and expects a TTL to avoid stalled locks::
479479

480480
use Symfony\Component\Lock\Store\PdoStore;
481481

@@ -495,16 +495,17 @@ your code.
495495

496496
.. deprecated:: 5.4
497497

498-
Using ``PdoStore`` with Doctrine DBAL is deprecated in Symfony 5.4. Use ``DoctrineDbalStore`` instead.
498+
Using ``PdoStore`` with Doctrine DBAL is deprecated in Symfony 5.4.
499+
Use ``DoctrineDbalStore`` instead.
499500

500501
.. _lock-store-dbal:
501502

502503
DoctrineDbalStore
503504
~~~~~~~~~~~~~~~~~
504505

505-
The DoctrineDbalStore saves locks in an SQL database. It is identical to PdoStore but requires a
506-
`Doctrine DBAL Connection`_, or a `Doctrine DBAL URL`_. This store does not
507-
support blocking, and expects a TTL to avoid stalled locks::
506+
The DoctrineDbalStore saves locks in an SQL database. It is identical to PdoStore
507+
but requires a `Doctrine DBAL Connection`_, or a `Doctrine DBAL URL`_. This store
508+
does not support blocking, and expects a TTL to avoid stalled locks::
508509

509510
use Symfony\Component\Lock\Store\PdoStore;
510511

@@ -525,8 +526,8 @@ in your code or create this table explicitly by calling the
525526

526527
.. versionadded:: 5.4
527528

528-
The ``DoctrineDbalStore`` was introduced in Symfony 5.4 to replace ``PdoStore`` when
529-
used with Doctrine DBAL.
529+
The ``DoctrineDbalStore`` was introduced in Symfony 5.4 to replace ``PdoStore``
530+
when used with Doctrine DBAL.
530531

531532
.. _lock-store-pgsql:
532533

@@ -553,17 +554,17 @@ store locks and it does not expire.
553554

554555
.. deprecated:: 5.4
555556

556-
Using ``PostgreSqlStore`` with Doctrine DBAL is deprecated in Symfony 5.4. Use ``DoctrineDbalPostgreSqlStore`` instead.
557+
Using ``PostgreSqlStore`` with Doctrine DBAL is deprecated in Symfony 5.4.
558+
Use ``DoctrineDbalPostgreSqlStore`` instead.
557559

558560
.. _lock-store-dbal-pgsql:
559561

560562
DoctrineDbalPostgreSqlStore
561563
~~~~~~~~~~~~~~~~~~~~~~~~~~~
562564

563-
The DoctrineDbalPostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL. It is identical to PostgreSqlStore
564-
but requires a `Doctrine DBAL Connection`_ or a `Doctrine DBAL URL`_.
565-
It supports native blocking, as well as sharing
566-
locks::
565+
The DoctrineDbalPostgreSqlStore uses `Advisory Locks`_ provided by PostgreSQL.
566+
It is identical to PostgreSqlStore but requires a `Doctrine DBAL Connection`_ or
567+
a `Doctrine DBAL URL`_. It supports native blocking, as well as sharing locks::
567568

568569
use Symfony\Component\Lock\Store\PostgreSqlStore;
569570

@@ -576,8 +577,8 @@ store locks and does not expire.
576577

577578
.. versionadded:: 5.4
578579

579-
The ``DoctrineDbalPostgreSqlStore`` was introduced in Symfony 5.4 to replace ``PostgreSqlStore`` when
580-
used with Doctrine DBAL.
580+
The ``DoctrineDbalPostgreSqlStore`` was introduced in Symfony 5.4 to replace
581+
``PostgreSqlStore`` when used with Doctrine DBAL.
581582

582583
.. _lock-store-redis:
583584

0 commit comments

Comments
 (0)