From 50e7e62962d264b7485986fe1dc4b16ce2f157be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Andrieu?= Date: Thu, 25 Aug 2016 13:49:19 +0200 Subject: [PATCH] [Finder] document array use for locations --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index 6d77cdedd98..09dae9abf98 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -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::