From 8328efa062b26c02b0e82168e8b309bbb76755ad Mon Sep 17 00:00:00 2001 From: Hendrik Leidinger Date: Thu, 26 Mar 2026 10:18:49 -0700 Subject: [PATCH] fix: make psalm and rector happy Signed-off-by: Hendrik Leidinger --- apps/files_external/lib/Lib/Storage/SFTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index 62a4a5174ee..4ac6b28b9fc 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -357,11 +357,11 @@ class SFTP extends Common { } public function touch(string $path, ?int $mtime = null): bool { - + $result = $this->getConnection()->touch($this->absPath($path), $mtime, $mtime); if ($result) { - $this->getConnection()->clearStatCache($this->absPath($path)); + $this->getConnection()->clearStatCache(); if (!is_null($mtime)) { $this->knownMTimes->set($path, $mtime); }