We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e6f3d7 + fa29e9e commit b94d2e1Copy full SHA for b94d2e1
src/PhpWebProfiler.php
@@ -48,7 +48,7 @@ private function isTraceable(): bool
48
private function logRotate(): void
49
{
50
$storage = $this->getStorage();
51
- $logs = $storage->find([]);
+ $logs = $storage->find([], $this->keepMaxLogs + 1);
52
53
if ($this->keepMaxLogs < count($logs)) {
54
$storage->clear();
0 commit comments