Skip to content

Commit 09cd3e9

Browse files
committed
Tweaks
1 parent aeefc87 commit 09cd3e9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

components/finder.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ Sort the results by name, extension, size or type (directories first, then files
346346

347347
.. versionadded:: 6.2
348348

349-
The ``sortByCaseInsensitiveName()``, ``sortByExtension()`` and ``sortBySize()`` methods were introduced in Symfony 6.2.
349+
The ``sortByCaseInsensitiveName()``, ``sortByExtension()`` and ``sortBySize()``
350+
methods were introduced in Symfony 6.2.
350351

351352
.. tip::
352353

@@ -355,8 +356,10 @@ Sort the results by name, extension, size or type (directories first, then files
355356
as its argument to use PHP's `natural sort order`_ algorithm instead (e.g.
356357
``file1.txt``, ``file2.txt``, ``file10.txt``).
357358

358-
The ``sortByCaseInsensitiveName()`` method uses the case insensitive :phpfunction:`strcasecmp` PHP function.
359-
Pass ``true`` as its argument to use PHP's case insensitive `natural sort order`_ algorithm instead (the :phpfunction:`strnatcasecmp` PHP function)
359+
The ``sortByCaseInsensitiveName()`` method uses the case insensitive
360+
:phpfunction:`strcasecmp` PHP function. Pass ``true`` as its argument to use
361+
PHP's case insensitive `natural sort order`_ algorithm instead (i.e. the
362+
:phpfunction:`strnatcasecmp` PHP function)
360363

361364
Sort the files and directories by the last accessed, changed or modified time::
362365

0 commit comments

Comments
 (0)