Skip to content

Commit 7de9f36

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Several typo fixes Update console.rst [#6917] some tweaks after review [Finder] document array use for locations
2 parents 70d2dac + 81e4dd6 commit 7de9f36

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

components/finder.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ 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+
// search inside *both* directories
86+
$finder->files()->in(array(__DIR__, '/elsewhere'));
87+
88+
// same as above
89+
$finder->in(__DIR__)->in('/elsewhere');
8690

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

console.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ instead::
177177
}
178178

179179
Now, once you created the required services and logic, the command will execute
180-
the ``generate()`` method of the ``app.user_manager`` service and the user will
180+
the ``create()`` method of the ``app.user_manager`` service and the user will
181181
be created.
182182

183183
Command Lifecycle

0 commit comments

Comments
 (0)