Skip to content

Commit

Permalink
Merge pull request #48052 from nextcloud/backport/48045/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(dav): set string type for sanitizeMtime
  • Loading branch information
miaulalala authored Sep 15, 2024
2 parents 18614e0 + 06523a8 commit 3b606ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public function getNode(): \OCP\Files\Node {
return $this->node;
}

protected function sanitizeMtime($mtimeFromRequest) {
protected function sanitizeMtime(string $mtimeFromRequest): int {
return MtimeSanitizer::sanitizeMtime($mtimeFromRequest);
}
}

0 comments on commit 3b606ff

Please sign in to comment.