aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2024-09-16 00:19:26 +0200
committerGitHub <noreply@github.com>2024-09-16 00:19:26 +0200
commit1abcc9d03ae5d56c78c79b2cdea4d7835788bded (patch)
tree577d83e203a06cfdd643a8f90d2db9a533e78681
parent3ab5bdc3f168bace6e4031f42b3ccbc699b290b5 (diff)
parentb652b6c60f1b35d860e29a62ea5f52a14f8f3578 (diff)
downloadnextcloud-server-1abcc9d03ae5d56c78c79b2cdea4d7835788bded.tar.gz
nextcloud-server-1abcc9d03ae5d56c78c79b2cdea4d7835788bded.zip
Merge pull request #48053 from nextcloud/backport/48045/stable30
[stable30] fix(dav): set string type for sanitizeMtime
-rw-r--r--apps/dav/lib/Connector/Sabre/Node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php
index 1d3773220f8..3ca542fee73 100644
--- a/apps/dav/lib/Connector/Sabre/Node.php
+++ b/apps/dav/lib/Connector/Sabre/Node.php
@@ -392,7 +392,7 @@ abstract class Node implements \Sabre\DAV\INode {
return $this->node;
}
- protected function sanitizeMtime($mtimeFromRequest) {
+ protected function sanitizeMtime(string $mtimeFromRequest): int {
return MtimeSanitizer::sanitizeMtime($mtimeFromRequest);
}
}