No need doing this. There will be a patch with 25.0.2 to get 32bit support back. In meantime we will provide a workaround on next release. Until this you could try to have it done manually. v8.11 · MichaIng/DietPi@450c613 · GitHub
sed -i 's/self::SIZE_PROPERTYNAME, function () use ($node): ?int/self::SIZE_PROPERTYNAME, function () use ($node)/' /var/www/nextcloud/apps/dav/lib/Connector/Sabre/FilesPlugin.php