Skip to content

Commit 7fae953

Browse files
committed
Minor tweak
1 parent 92cae4b commit 7fae953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/finder.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ default when looking for files and directories, but you can change this with the
145145

146146
$finder->ignoreVCS(false);
147147

148-
If your project defines a ``.gitignore`` file, you can reuse those rules to
149-
exclude files and directories from the results with the
148+
If the search directory contains a ``.gitignore`` file, you can reuse those
149+
rules to exclude files and directories from the results with the
150150
:method:`Symfony\\Component\\Finder\\Finder::ignoreVCSIgnored` method::
151151

152152
// excludes files/directories matching the .gitignore patterns

0 commit comments

Comments
 (0)