File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ method, the resource will stay locked until the timeout::
165
165
166
166
.. tip ::
167
167
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
169
169
job in a try/catch/finally block to always try to release the expiring lock.
170
170
171
171
In case of long-running tasks, it's better to start with a not too long TTL and
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ If you want to test an entire feature of your application (e.g. registering as a
63
63
user or generating an invoice), see the section about :ref: `Functional Tests <functional-tests >`.
64
64
65
65
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 ``
67
67
in the ``src/Util/ `` directory of the app::
68
68
69
69
// src/Util/Calculator.php
You can’t perform that action at this time.
0 commit comments