We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b0f97 commit eacbb4cCopy full SHA for eacbb4c
src/Symfony/Component/Finder/Finder.php
@@ -435,11 +435,10 @@ public function sort(\Closure $closure): static
435
*/
436
public function sortByName(bool $useNaturalSort = false, bool $useCaseInsensitive = false): static
437
{
438
- if($useCaseInsensitive) {
+ if ($useCaseInsensitive) {
439
$this->sort = $useNaturalSort ? Iterator\SortableIterator::SORT_BY_NAME_NATURAL_CASE_INSENSITIVE :
440
Iterator\SortableIterator::SORT_BY_NAME_CASE_INSENSITIVE;
441
- }
442
- else {
+ } else {
443
$this->sort = $useNaturalSort ? Iterator\SortableIterator::SORT_BY_NAME_NATURAL : Iterator\SortableIterator::SORT_BY_NAME;
444
}
445
0 commit comments