diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-15 17:01:00 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-15 20:44:00 +0000 |
commit | 06523a8a6f6ae4fabfdaff6de516c44d3cf2e4d9 (patch) | |
tree | fd648f4734adcf025baa70c61ca199c86e73172a | |
parent | 038eff0b60eb4bac73519f99ec01d71f90a3b400 (diff) | |
download | nextcloud-server-06523a8a6f6ae4fabfdaff6de516c44d3cf2e4d9.tar.gz nextcloud-server-06523a8a6f6ae4fabfdaff6de516c44d3cf2e4d9.zip |
fix(dav): set string type for sanitizeMtimebackport/48045/stable29
Signed-off-by: Anna Larch <anna@nextcloud.com>
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Node.php | 2 |
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 2b77dc08e8d..7fa69867086 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); } } |