Skip to content

Commit 9b6dc01

Browse files
Merge pull request #61359 from nextcloud/backport/61332/stable32
[stable32] fix: ensure file names are string-typed
2 parents 478d3fd + f04eb95 commit 9b6dc01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Cache/Scanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ private function handleChildren(string $path, $recursive, int $reuse, int $folde
527527
$removedChildren = \array_diff(array_keys($existingChildren), $newChildNames);
528528
foreach ($removedChildren as $childName) {
529529
$child = $path ? $path . '/' . $childName : $childName;
530-
$this->removeFromCache($child);
530+
$this->removeFromCache((string)$child);
531531
}
532532
if ($this->useTransactions) {
533533
$this->connection->commit();

0 commit comments

Comments
 (0)