Skip to content

Commit 2a5772d

Browse files
xabbuhLiinkiing
authored andcommitted
[symfony#10038] minor versionadded wording tweaks
1 parent 0870597 commit 2a5772d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/finder.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ Multiple paths can be defined by chaining calls or passing an array::
267267
$finder->path(array('data', 'foo/bar'));
268268

269269
.. versionadded:: 4.2
270-
Passing an array as parameter for method ``path()`` and ``notPath()`` was
271-
introduced in Symfony 4.2
270+
Support for passing arrays to ``path()`` was introduced in Symfony 4.2
272271

273272
Internally, strings are converted into regular expressions by escaping slashes
274273
and adding delimiters:
@@ -290,7 +289,8 @@ Multiple paths can be excluded by chaining calls or passing an array::
290289
$finder->notPath(array('first/dir', 'other/dir'));
291290

292291
.. versionadded:: 4.2
293-
Passing an array as method parameter was introduced in Symfony 4.2
292+
Support for passing arrays to ``notPath()`` was introduced in Symfony
293+
4.2
294294

295295
File Size
296296
~~~~~~~~~
@@ -308,7 +308,7 @@ Restrict by a size range by chaining calls or passing an array::
308308
$finder->files()->size(array('>= 1K', '<= 2K'));
309309

310310
.. versionadded:: 4.2
311-
Passing an array as method parameter was introduced in Symfony 4.2
311+
Support for passing arrays to ``size()`` was introduced in Symfony 4.2
312312

313313
The comparison operator can be any of the following: ``>``, ``>=``, ``<``, ``<=``,
314314
``==``, ``!=``.
@@ -333,7 +333,7 @@ Restrict by a date range by chaining calls or passing an array::
333333
$finder->date(array('>= 2018-01-01', '<= 2018-12-31'));
334334

335335
.. versionadded:: 4.2
336-
Passing an array as method parameter was introduced in Symfony 4.2
336+
Support for passing arrays to ``date()`` was introduced in Symfony 4.2
337337

338338
The comparison operator can be any of the following: ``>``, ``>=``, ``<``, ``<=``,
339339
``==``. You can also use ``since`` or ``after`` as an alias for ``>``, and
@@ -358,7 +358,7 @@ Restrict by a depth range by chaining calls or passing an array::
358358
$finder->depth(array('> 2', '< 5'));
359359

360360
.. versionadded:: 4.2
361-
Passing an array as method parameter was introduced in Symfony 4.2
361+
Support for passing arrays to ``depth()`` was introduced in Symfony 4.2
362362

363363
Custom Filtering
364364
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)