Merge pull request #48053 from nextcloud/backport/48045/stable30

[stable30] fix(dav): set string type for sanitizeMtime
This commit is contained in:
Anna 2024-09-16 00:19:26 +02:00 committed by GitHub
commit 1abcc9d03a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -392,7 +392,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);
}
}