1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00
This commit is contained in:
kriss 2024-02-10 17:54:03 +08:00 committed by GitHub
parent 3ade312b58
commit bfa8941060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ class FileStorage implements StorageInterface
//Sort the files, newest first
usort($files, function ($a, $b) {
return $a['time'] <=> $b['time'];
return $a['time'] < $b['time'] ? 1 : -1;
});
//Load the metadata and filter the results.