Skip to content

Commit e8400b2

Browse files
committed
[#10038] fix minor typos
1 parent 9e5ceb2 commit e8400b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/finder.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ strings or regexes::
202202

203203
$finder->files()->name('/\.php$/');
204204

205-
Multiple files names can be defined by chaining calls or passing an array::
205+
Multiple filenames can be defined by chaining calls or passing an array::
206206

207207
$finder->files()->name('*.php')->name('*.twig');
208208

@@ -213,16 +213,16 @@ The ``notName()`` method excludes files matching a pattern::
213213

214214
$finder->files()->notName('*.rb');
215215

216-
Multiple files names can be excluded by chaining calls or passing an array::
216+
Multiple filenames can be excluded by chaining calls or passing an array::
217217

218218
$finder->files()->notName('*.rb')->notName('*.py');
219219

220220
// same as above
221221
$finder->files()->notName(array('*.rb', '*.py'));
222222

223223
.. versionadded:: 4.2
224-
Passing an array as parameter for method ``name()`` and ``notName()`` was
225-
introduced in Symfony 4.2
224+
Support for passing arrays to ``name()`` and ``notName()`` was introduced
225+
in Symfony 4.2
226226

227227
File Contents
228228
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)