From 650fd2a5b4f5b93adeaaef70c9e9362f59533610 Mon Sep 17 00:00:00 2001 From: Reza Date: Sat, 23 Sep 2017 22:28:30 +1000 Subject: [PATCH] Update finder.rst --- components/finder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/finder.rst b/components/finder.rst index c0c03b1306d..a93f96851d7 100644 --- a/components/finder.rst +++ b/components/finder.rst @@ -83,7 +83,7 @@ Search in several locations by chaining calls to :method:`Symfony\\Component\\Finder\\Finder::in`:: // search inside *both* directories - $finder->files()->in(array(__DIR__, '/elsewhere')); + $finder->in(array(__DIR__, '/elsewhere')); // same as above $finder->in(__DIR__)->in('/elsewhere');