Skip to content

Commit afe3cb2

Browse files
authored
Merge pull request #8048 from kenjis/fix-Files-Collector-sort
fix: file sort order in Files DebugBar
2 parents a9fa8f0 + 87ea6a9 commit afe3cb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Debug/Toolbar/Collectors/Files.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ public function display(): array
6262

6363
if (strpos($path, 'SYSTEMPATH') !== false) {
6464
$coreFiles[] = [
65-
'name' => basename($file),
6665
'path' => $path,
66+
'name' => basename($file),
6767
];
6868
} else {
6969
$userFiles[] = [
70-
'name' => basename($file),
7170
'path' => $path,
71+
'name' => basename($file),
7272
];
7373
}
7474
}

0 commit comments

Comments
 (0)