Skip to content

Commit 7dd2995

Browse files
committed
Minor tweaks
1 parent 6c23a76 commit 7dd2995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/filesystem.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,15 @@ The ``file.txt`` file contains ``Hello World`` now.
311311
contents at the end of some file::
312312

313313
$filesystem->appendToFile('logs.txt', 'Email sent to user@example.com');
314-
// with the third argument set to true you can lock the file when writing to it.
314+
// the third argument tells whether the file should be locked when writing to it
315315
$filesystem->appendToFile('logs.txt', 'Email sent to user@example.com', true);
316316

317317
If either the file or its containing directory doesn't exist, this method
318318
creates them before appending the contents.
319319

320320
.. versionadded:: 5.4
321321

322-
The third argument ``$lock`` was introduced in Symfony 5.4.
322+
The third argument of ``appendToFile()`` was introduced in Symfony 5.4.
323323

324324
Error Handling
325325
--------------

0 commit comments

Comments
 (0)