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 @@ -153,7 +153,7 @@ method, the resource will stay locked until the timeout::
153
153
154
154
.. tip ::
155
155
156
- To avoid letting the lock in a locking state, it's recommended to wrap the
156
+ To avoid leaving the lock in a locked state, it's recommended to wrap the
157
157
job in a try/catch/finally block to always try to release the expiring lock.
158
158
159
159
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