Skip to content

Commit 5d92515

Browse files
Merge branch '4.2' into 4.3
* 4.2: [github] Implement the new security policy. [Finder] fix wrong method call casing Make tempfile path unique minor: fix phpdocs in the ldap component [Process] Fix infinite waiting for stopped process Use absolute URL for when the profiler's domain differs from the controller's domain which initialises the profiler. fix phpdoc [DI] fix using bindings with locators of service subscribers
2 parents 4702ed4 + f810c09 commit 5d92515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Iterator/SortableIterator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(\Traversable $iterator, $sort, bool $reverseOrder =
4242

4343
if (self::SORT_BY_NAME === $sort) {
4444
$this->sort = function ($a, $b) use ($order) {
45-
return $order * strcmp($a->getRealpath() ?: $a->getPathname(), $b->getRealpath() ?: $b->getPathname());
45+
return $order * strcmp($a->getRealPath() ?: $a->getPathname(), $b->getRealPath() ?: $b->getPathname());
4646
};
4747
} elseif (self::SORT_BY_NAME_NATURAL === $sort) {
4848
$this->sort = function ($a, $b) use ($order) {
@@ -56,7 +56,7 @@ public function __construct(\Traversable $iterator, $sort, bool $reverseOrder =
5656
return $order;
5757
}
5858

59-
return $order * strcmp($a->getRealpath() ?: $a->getPathname(), $b->getRealpath() ?: $b->getPathname());
59+
return $order * strcmp($a->getRealPath() ?: $a->getPathname(), $b->getRealPath() ?: $b->getPathname());
6060
};
6161
} elseif (self::SORT_BY_ACCESSED_TIME === $sort) {
6262
$this->sort = function ($a, $b) use ($order) {

0 commit comments

Comments
 (0)