diff --git a/src/DebugBar/Storage/FileStorage.php b/src/DebugBar/Storage/FileStorage.php index 98923e2..41c2be5 100644 --- a/src/DebugBar/Storage/FileStorage.php +++ b/src/DebugBar/Storage/FileStorage.php @@ -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']; }); //Load the metadata and filter the results.