mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-28 04:00:43 +02:00
Added array reverse to find results (#297)
The OpenHandler modal returns results in oldest first order by default, changed storage find method so newest entries are at the top.
This commit is contained in:
committed by
Barry vd. Heuvel
parent
afee79a236
commit
60a7809366
@@ -68,6 +68,7 @@ class MemcachedStorage implements StorageInterface
|
||||
}
|
||||
}
|
||||
}
|
||||
$results = array_reverse($results);
|
||||
return array_slice($results, $offset, $max);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user