Skip to content

Commit 318d03d

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Update lock.rst Update testing.rst
2 parents 557006f + f3e4c11 commit 318d03d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/lock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ method, the resource will stay locked until the timeout::
165165

166166
.. tip::
167167

168-
To avoid letting the lock in a locking state, it's recommended to wrap the
168+
To avoid leaving the lock in a locked state, it's recommended to wrap the
169169
job in a try/catch/finally block to always try to release the expiring lock.
170170

171171
In case of long-running tasks, it's better to start with a not too long TTL and

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ If you want to test an entire feature of your application (e.g. registering as a
6363
user or generating an invoice), see the section about :ref:`Functional Tests <functional-tests>`.
6464

6565
Writing Symfony unit tests is no different from writing standard PHPUnit
66-
unit tests. Suppose, for example, that you have an class called ``Calculator``
66+
unit tests. Suppose, for example, that you have a class called ``Calculator``
6767
in the ``src/Util/`` directory of the app::
6868

6969
// src/Util/Calculator.php

0 commit comments

Comments
 (0)