diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-05-17 13:15:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:15:04 +0200 |
commit | 66b8c94cfb7bed80c400fad3ae699fed98c0fabb (patch) | |
tree | 8ae7dfdeebfe7737a75aa05ede99bbb828760a16 /lib | |
parent | 5ecca4a88d0a21a44d1a47ef5ba5a91a70b1ab1d (diff) | |
parent | 3d5de933001d1718e907a43df162d56ed54b8a54 (diff) | |
download | nextcloud-server-66b8c94cfb7bed80c400fad3ae699fed98c0fabb.tar.gz nextcloud-server-66b8c94cfb7bed80c400fad3ae699fed98c0fabb.zip |
Merge pull request #37850 from nextcloud/backport/37834/stable25
[stable25] Fix TypeError in Profiler
Diffstat (limited to 'lib')
-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 { |