Skip to content

Commit

Permalink
[Finder] document array use for locations
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelandrieu authored Aug 25, 2016
1 parent bb0d522 commit 50e7e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/finder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ directory to use for the search::
Search in several locations by chaining calls to
:method:`Symfony\\Component\\Finder\\Finder::in`::

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

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

Expand Down

0 comments on commit 50e7e62

Please sign in to comment.