Skip to content

Commit c26f3f5

Browse files
committed
Fixed potential issue with Files Stats
1 parent 89474d0 commit c26f3f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/phpFastCache/Drivers/Files/Driver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ public function getStats()
277277

278278
$total = 0;
279279
$removed = 0;
280+
$content = [];
280281
while ($file = readdir($dir)) {
281282
if ($file != '.' && $file != '..' && is_dir($path . '/' . $file)) {
282283
// read sub dir

0 commit comments

Comments
 (0)