mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
ca474eff1e
commit
81804c49e0
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,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