Merge pull request #48045 from nextcloud/fix/add-function-type-for-mimetype-sanitizer

This commit is contained in:
Kate 2024-09-15 22:42:01 +02:00 committed by GitHub
commit 876631435e
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);
}
}