aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 17:01:00 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-15 20:42:55 +0000
commit81804c49e045d433a75c4894fa59a14ff95dcdf2 (patch)
treeecb7ecac33dff008f8861468f3ccdf91d56cab0e
parentca474eff1e2239396657eff75dacad2fe9ac75a3 (diff)
downloadnextcloud-server-81804c49e045d433a75c4894fa59a14ff95dcdf2.tar.gz
nextcloud-server-81804c49e045d433a75c4894fa59a14ff95dcdf2.zip
fix(dav): set string type for sanitizeMtimebackport/48045/stable28
Signed-off-by: Anna Larch <anna@nextcloud.com>
-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 c9407b12786..1dd7ba005ef 100644
--- a/apps/dav/lib/Connector/Sabre/Node.php
+++ b/apps/dav/lib/Connector/Sabre/Node.php
@@ -421,7 +421,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);
}
}