diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-04-20 17:54:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 17:54:28 +0200 |
commit | 494ff0c142c1628efa1120b38b9a97f53c20d117 (patch) | |
tree | 4831e9edd785f07540d5289493dc42e6e7a44cc3 | |
parent | 590c202797e6f5018635e45cdb2ed79ecd1c9865 (diff) | |
parent | e91e7bc60f0d112a36907ba7c1895140a90c5d45 (diff) | |
download | nextcloud-server-494ff0c142c1628efa1120b38b9a97f53c20d117.tar.gz nextcloud-server-494ff0c142c1628efa1120b38b9a97f53c20d117.zip |
Merge pull request #37834 from nextcloud/fix/profiler-fix-typeerror
Fix TypeError in Profiler
-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 { |