Skip to content

Commit cb7c1d5

Browse files
aipheeaiphee
authored andcommitted
Repair for type checking
1 parent 832696a commit cb7c1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Caching/Storages/FileStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function clean(array $conditions): void
295295
if (is_dir($dir)) {
296296
$items = Nette\Utils\Finder::findFiles('')->from($dir);
297297
foreach ($items as $item) {
298-
$this->delete($item);
298+
$this->delete((string)$item);
299299
}
300300
@rmdir($dir);
301301
}

0 commit comments

Comments
 (0)