Skip to content

Commit 3ea0737

Browse files
committed
minor. refs #13042
1 parent 280a903 commit 3ea0737

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

components/lock.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,8 @@ PHP process is terminated::
225225
use Symfony\Component\Lock\Store\FlockStore;
226226

227227
// the argument is the path of the directory where the locks are created
228-
$store = new FlockStore(sys_get_temp_dir());
229-
230-
.. note::
231-
232-
If no path is given, ``sys_get_temp_dir`` is used as default value.
228+
// if none is given, sys_get_temp_dir() is used internally.
229+
$store = new FlockStore('/var/stores');
233230

234231
.. caution::
235232

0 commit comments

Comments
 (0)