Skip to content

Commit dd4a7a9

Browse files
committed
-
1 parent 1f81dd4 commit dd4a7a9

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
@@ -321,13 +321,13 @@ creates them before appending the contents.
321321
The ``readFile()`` method was introduced in Symfony 7.1.
322322

323323
:method:`Symfony\\Component\\Filesystem\\Filesystem::readFile` returns all the
324-
contents of a file as a string. Unlike :phpfunction:`file_get_contents` function
324+
contents of a file as a string. Unlike the :phpfunction:`file_get_contents` function
325325
from PHP, it throws an exception when the given file path is not readable and
326326
when passing the path to a directory instead of a file::
327327

328328
$contents = $filesystem->readFile('/some/path/to/file.txt');
329329

330-
The ``$contents`` variable contains all the contents of the ``filex.txt`` file.
330+
The ``$contents`` variable now stores all the contents of the ``filex.txt`` file.
331331

332332
Path Manipulation Utilities
333333
---------------------------

0 commit comments

Comments
 (0)