summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-04-20 10:43:00 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-04-20 16:04:21 +0000
commitbec51730f5cf2f85cec7df04989d3c4aac04d747 (patch)
tree17096829ae9764653b87581035face8bda20792d
parente7377a4f2b3fa62b3b1dd1e3ab6cc51f4f3235fc (diff)
downloadnextcloud-server-bec51730f5cf2f85cec7df04989d3c4aac04d747.tar.gz
nextcloud-server-bec51730f5cf2f85cec7df04989d3c4aac04d747.zip
Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--lib/private/Profiler/FileProfilerStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Profiler/FileProfilerStorage.php b/lib/private/Profiler/FileProfilerStorage.php
index d583549332e..b68038a65c4 100644
--- a/lib/private/Profiler/FileProfilerStorage.php
+++ b/lib/private/Profiler/FileProfilerStorage.php
@@ -99,7 +99,7 @@ class FileProfilerStorage {
$iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::CHILD_FIRST);
foreach ($iterator as $file) {
- $file = $file->getPathInfo();
+ $file = (string)$file->getPathInfo();
if (is_file($file)) {
unlink($file);
} else {