1
0
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:
Jeremy Coates
2017-01-19 22:01:49 +00:00
committed by Barry vd. Heuvel
parent afee79a236
commit 60a7809366

View File

@@ -68,6 +68,7 @@ class MemcachedStorage implements StorageInterface
}
}
}
$results = array_reverse($results);
return array_slice($results, $offset, $max);
}