File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,15 +311,15 @@ The ``file.txt`` file contains ``Hello World`` now.
311311contents 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
317317If either the file or its containing directory doesn't exist, this method
318318creates 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
324324Error Handling
325325--------------
You can’t perform that action at this time.
0 commit comments