diff options
author | Anna <anna@nextcloud.com> | 2024-09-16 00:23:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 00:23:10 +0200 |
commit | 296351139040c084c9daebb815552e0cedea1921 (patch) | |
tree | ecb7ecac33dff008f8861468f3ccdf91d56cab0e /apps/dav/lib/Connector/Sabre/Node.php | |
parent | ca474eff1e2239396657eff75dacad2fe9ac75a3 (diff) | |
parent | 81804c49e045d433a75c4894fa59a14ff95dcdf2 (diff) | |
download | nextcloud-server-296351139040c084c9daebb815552e0cedea1921.tar.gz nextcloud-server-296351139040c084c9daebb815552e0cedea1921.zip |
Merge pull request #48051 from nextcloud/backport/48045/stable28
[stable28] fix(dav): set string type for sanitizeMtime
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Node.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Node.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index c9407b12786..1dd7ba005ef 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -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); } } |