aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-01-30 16:56:48 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-02-13 11:45:33 +0100
commited5b7ae16150cb4fa67563288396a729b5654005 (patch)
treee51862b64322678c6fa4caf26fd64f1f166f6f96 /apps/files_external/lib/Lib
parented9b47462f25937831471ba1aabcc03757e5dee5 (diff)
downloadnextcloud-server-ed5b7ae16150cb4fa67563288396a729b5654005.tar.gz
nextcloud-server-ed5b7ae16150cb4fa67563288396a729b5654005.zip
chore: re-apply current rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_external/lib/Lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php
index aebc61806fc..9907acdc469 100644
--- a/apps/files_external/lib/Lib/Storage/SFTP.php
+++ b/apps/files_external/lib/Lib/Storage/SFTP.php
@@ -327,7 +327,7 @@ class SFTP extends Common {
$context = stream_context_create(['sftp' => ['session' => $connection]]);
$fh = fopen('sftpwrite://' . trim($absPath, '/'), 'w', false, $context);
if ($fh) {
- $fh = CallbackWrapper::wrap($fh, null, null, function () use ($path) {
+ $fh = CallbackWrapper::wrap($fh, null, null, function () use ($path): void {
$this->knownMTimes->set($path, time());
});
}