diff -ru src/Symfony/Component/Filesystem/Filesystem.php src/Symfony/Component/Filesystem/Filesystem.php --- src/Symfony/Component/Filesystem/Filesystem.php 2023-01-23 13:23:40.595444481 +0000 +++ src/Symfony/Component/Filesystem/Filesystem.php 2023-01-23 13:23:46.724672139 +0000 @@ -671,7 +671,6 @@ * Appends content to an existing file. * * @param string|resource $content The content to append - * @param bool $lock Whether the file should be locked when writing to it * * @throws IOException If the file is not writable */