aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 17:01:00 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-15 21:32:55 +0200
commit160866c52dce5ee2148ed8c2ba62a1de65c67b45 (patch)
tree3569d57b2ecc6fe53a6e2eef61a757f628352925 /apps/dav/lib
parent3fe3f8d1f65002a39713e313fcec6c8c0e12b817 (diff)
downloadnextcloud-server-160866c52dce5ee2148ed8c2ba62a1de65c67b45.tar.gz
nextcloud-server-160866c52dce5ee2148ed8c2ba62a1de65c67b45.zip
fix(dav): set string type for sanitizeMtimefix/add-function-type-for-mimetype-sanitizer
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-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);
}
}