Skip to content

Commit d6eaaf3

Browse files
authored
Merge pull request #34905 from nextcloud/enh/34674/stable25
[stable25] fix NC25 for 32-bit
2 parents 8896b40 + c124456 commit d6eaaf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Connector/Sabre/FilesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node)
352352
$propFind->handle(self::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
353353
return json_encode($this->previewManager->isAvailable($node->getFileInfo()));
354354
});
355-
$propFind->handle(self::SIZE_PROPERTYNAME, function () use ($node): ?int {
355+
$propFind->handle(self::SIZE_PROPERTYNAME, function () use ($node) {
356356
return $node->getSize();
357357
});
358358
$propFind->handle(self::MOUNT_TYPE_PROPERTYNAME, function () use ($node) {

0 commit comments

Comments
 (0)