10000 [Finder] document array use for locations · symfony/symfony-docs@50e7e62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50e7e62

Browse files
[Finder] document array use for locations
1 parent bb0d522 commit 50e7e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/finder.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ directory to use for the search::
8282
Search in several locations by chaining calls to
8383
:method:`Symfony\\Component\\Finder\\Finder::in`::
8484

85-
$finder->files()->in(__DIR__)->in('/elsewhere');
85+
$finder->files()->in(array(__DIR__, '/elsewhere'));
8686

8787
Use wildcard characters to search in the directories matching a pattern::
8888

0 commit comments

Comments
 (0)
0