diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-15 17:01:00 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-09-15 21:32:55 +0200 |
commit | 160866c52dce5ee2148ed8c2ba62a1de65c67b45 (patch) | |
tree | 3569d57b2ecc6fe53a6e2eef61a757f628352925 /apps/dav/lib | |
parent | 3fe3f8d1f65002a39713e313fcec6c8c0e12b817 (diff) | |
download | nextcloud-server-160866c52dce5ee2148ed8c2ba62a1de65c67b45.tar.gz nextcloud-server-160866c52dce5ee2148ed8c2ba62a1de65c67b45.zip |
fix(dav): set string type for sanitizeMtimefix/add-function-type-for-mimetype-sanitizer
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-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 1d3773220f8..3ca542fee73 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -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); } } |