Skip to content

Commit 6011b51

Browse files
kane-menicoujaviereguiluz
authored andcommitted
Fixes unclear sentence in finder.rst
1 parent 11ca468 commit 6011b51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/finder.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ And it also works with user-defined streams::
144144
Files or Directories
145145
~~~~~~~~~~~~~~~~~~~~
146146

147-
By default, the Finder returns files and directories; but the
148-
:method:`Symfony\\Component\\Finder\\Finder::files` and
149-
:method:`Symfony\\Component\\Finder\\Finder::directories` methods control that::
147+
By default, the Finder returns both files and directories. If you need to find either files or directories only, use the :method:`Symfony\\Component\\Finder\\Finder::files` and :method:`Symfony\\Component\\Finder\\Finder::directories` methods::
150148

151149
$finder->files();
152150

0 commit comments

Comments
 (0)