Skip to content

Commit

Permalink
Merge pull request #48053 from nextcloud/backport/48045/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(dav): set string type for sanitizeMtime
  • Loading branch information
miaulalala authored Sep 15, 2024
2 parents 3ab5bdc + b652b6c commit 1abcc9d
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 @@ -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);
}
}

0 comments on commit 1abcc9d

Please sign in to comment.