From b652b6c60f1b35d860e29a62ea5f52a14f8f3578 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 1d3773220f890..3ca542fee73ed 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -392,7 +392,7 @@ public function getNode(): \OCP\Files\Node { return $this->node; } - protected function sanitizeMtime($mtimeFromRequest) { + protected function sanitizeMtime(string $mtimeFromRequest): int { return MtimeSanitizer::sanitizeMtime($mtimeFromRequest); } }