mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #48053 from nextcloud/backport/48045/stable30
[stable30] fix(dav): set string type for sanitizeMtime
This commit is contained in:
commit
1abcc9d03a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue