qrCode?->short_code; if ($shortCode === null || $shortCode === '') { throw new RuntimeException('Transfer file URL is unavailable.'); } return LadillLink::path($shortCode, 'transfer/files/'.$file->id); } }