Skip to content

Commit 6e88edb

Browse files
rikledsusnux
authored andcommitted
fix: make psalm and rector happy
Signed-off-by: Hendrik Leidinger <hendrik.leidinger@nextcloud.com>
1 parent 33e35af commit 6e88edb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/files_external/lib/Lib/Storage

apps/files_external/lib/Lib/Storage/SFTP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,11 @@ public function fopen(string $path, string $mode) {
357357
}
358358

359359
public function touch(string $path, ?int $mtime = null): bool {
360-
360+
361361
$result = $this->getConnection()->touch($this->absPath($path), $mtime, $mtime);
362362

363363
if ($result) {
364-
$this->getConnection()->clearStatCache($this->absPath($path));
364+
$this->getConnection()->clearStatCache();
365365
if (!is_null($mtime)) {
366366
$this->knownMTimes->set($path, $mtime);
367367
}

0 commit comments

Comments
 (0)