diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-20 10:43:00 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-04-20 10:43:00 +0200 |
commit | e91e7bc60f0d112a36907ba7c1895140a90c5d45 (patch) | |
tree | 52273050343b50f387f4fa495370c6f22be2b01d | |
parent | c85c04e4a8495eb04419a27a8e162c03acad6282 (diff) | |
download | nextcloud-server-e91e7bc60f0d112a36907ba7c1895140a90c5d45.tar.gz nextcloud-server-e91e7bc60f0d112a36907ba7c1895140a90c5d45.zip |
Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | lib/private/Profiler/FileProfilerStorage.php | 2 |
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 { |