Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 7a5392a

Browse files
committed
Fix HumanReadable
1 parent 48b7b61 commit 7a5392a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DataCollector/CacheCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function collect(Request $request, Response $response, \Exception $except
4141
}
4242
$this->data = [
4343
'caches' => $this->cache->getInstances(),
44-
'size' => $this->cache->size_format($size),
44+
'size' => $size,
4545
];
4646
}
4747

Twig/HumanReadableExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function getFilters()
1818
);
1919
}
2020
/**
21-
* @param $bytes
21+
* @param int $bytes
2222
* @param int $decimals
2323
*
2424
* @return string

0 commit comments

Comments
 (0)