diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index 29e4765f2aca7..67438502207f7 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php @@ -573,6 +573,10 @@ public function touch($path, $mtime = null) { return true; } + /** + * @param string $source + * @param string $target + */ public function copy($source, $target, bool $preserveMtime = false, ?bool $isFile = null): bool { $source = $this->normalizePath($source); $target = $this->normalizePath($target); diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index d779a550d13e6..746c0fc7ccabe 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -519,6 +519,10 @@ public function writeStream(string $path, $stream, int $size = null): int { } } + /** + * @param string $source + * @param string $target + */ public function copy($source, $target, bool $preserveMtime = false): bool { if ($this->is_dir($source) || $this->is_dir($target)) { return parent::copy($source, $target, $preserveMtime); diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php index 6f2e9f1ee1cc8..e5da595ad7d99 100644 --- a/apps/files_external/lib/Lib/Storage/Swift.php +++ b/apps/files_external/lib/Lib/Storage/Swift.php @@ -483,6 +483,10 @@ public function touch($path, $mtime = null) { } } + /** + * @param string $source + * @param string $target + */ public function copy($source, $target, bool $preserveMtime = false): bool { $source = $this->normalizePath($source); $target = $this->normalizePath($target);