Skip to content

Commit 4a56034

Browse files
committed
Minor reword
1 parent f9f737d commit 4a56034

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/filesystem.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,17 @@ exists
8383
presence of one or more files or directories and returns ``false`` if any of
8484
them is missing::
8585

86-
// if this absolute directory exists, return true
86+
// if this absolute directory exists, returns true
8787
$fileSystem->exists('/tmp/photos');
8888

89-
// rabbit.jpg exists, bottle.png does not exist, return false
89+
// if rabbit.jpg exists and bottle.png does not exist, returns false
90+
// non-absolute paths are relative to the directory where the running PHP script is stored
9091
$fileSystem->exists(array('rabbit.jpg', 'bottle.png'));
9192

9293
.. note::
9394

9495
You can pass an array or any :phpclass:`Traversable` object as the first
9596
argument.
96-
97-
.. note::
98-
If you are using non-absolute paths, the paths are relative to
99-
the directory where the running PHP script is stored
10097

10198
copy
10299
~~~~

0 commit comments

Comments
 (0)