From 81804c49e045d433a75c4894fa59a14ff95dcdf2 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Sun, 15 Sep 2024 17:01:00 +0200 Subject: [PATCH] fix(dav): set string type for sanitizeMtime Signed-off-by: Anna Larch --- apps/dav/lib/Connector/Sabre/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5